./textproc/py-docutils, Python tool to generate documents

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.16, Package name: py37-docutils-0.16, Maintainer: pkgsrc-users

The purpose of the Docutils project is to create a set of tools
for processing plaintext documentation into useful formats, such
as HTML, XML, and TeX.

Required to run:
[textproc/py-expat] [devel/py-setuptools] [math/py-roman] [lang/python37]

Required to build:

Master sites:

SHA1: 35f6d15225f8e830ef379cbc9a7ae0b82db97231
RMD160: d790713e8a48c19ea7826b57d60536561f0a1f74
Filesize: 1916.056 KB

Version history: (Expand)

CVS history: (Expand)

   2020-07-13 22:05:13 by Thomas Klausner | Files touched by this commit (19)
Log message:
*: reset maintainer for darcy
   2020-04-12 13:19:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-docutils: updated to 0.16

Release 0.16:

Docutils 0.15.x is the last version supporting Python 2.6, 3.3 and 3.4.
Docutils 0.16.x supports Python 2.7 and Python >= 3.5 natively,
without the use of the ``2to3`` tool.

* reStructuredText:
  - Keep `backslash escapes`__ in the document tree. This allows, e.g.,
    escaping of author-separators in `bibliographic fields`__.
* LaTeX writer:
  - Informal titles of type "rubric" default to bold-italic and left \ 
  - Deprecate ``\docutilsrole`` prefix for styling commands:
    use ``\DUrole`` instead.
  - Fix topic subtitle.
  - Add "latex writers" to the `config_section_dependencies`.
  - Ignore classes for `rubric` elements
    (class wrapper interferes with LaTeX formatting).

* tools/buildhtml.py
  - New option "--html-writer" allows to select "html__" \ 
    "html4" or "html5".
* docutils/io.py
  - Remove the `handle_io_errors` option from io.FileInput/Output.
* docutils/nodes.py
  - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
* Various bugfixes and improvements (see HISTORY_).
   2020-01-26 06:26:29 by Roland Illig | Files touched by this commit (189)
Log message:
all: migrate some SourceForge homepage URLs back from https to http

https://mail-index.netbsd.org/pkgsrc-ch … 05146.html

In the above commit, the homepage URLs were migrated from http to https,
assuming that SourceForge would use the same host names for both http and
https connections. This assumption was wrong. Their documentation at
https://sourceforge.net/p/forge/documen … %20VHOSTs/ states
that the https URLs use the domain sourceforge.io instead.

To make the homepages from the above commit reachable again, pkglint has
been extended to check for reachable homepages. This check is only
enabled when the --network command line option is given.

Each of the homepages that referred to https://$project.sourceforge.net
before was migrated to https://$project.sourceforge.io (27), and if that
was not reachable, to the fallback URL http://$project.sourceforge.net
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2019-08-13 14:35:12 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-docutils: updatede to 0.15.2

Release 0.15.2:

* docutils/nodes.py
  - Fix 366: circular import when docutils nodes is iported before docutils.utils
    by putting import docutils.utils into astext.
  - Fix 366: as it is done in trunk Commit [r8294], moving the function.

Release 0.15:

* General
  - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
  - Infrastructure automation.

* docs/ref/rst/restructuredtext.txt:
  - Document rST syntax change: Tokens like :this:example: are now valid
    field list names (instead of ordinary text).

* docutils/io.py
  - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
    deprecated (thanks to hugovk).

*  docutils/languages/la.py
  - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.

* docutils/nodes.py
  - Fix [ 251 ] system_message.copy() TypeError.
  - Element.copy() also copies document, line, and source attributes.

* docutils/parsers/rst/__init__.py:
  - Apply [ 152 ] reset default role at end of document.

* docutils/parsers/rst/states.py:
  - Allow embedded colons in field list field names.
  - Add rawsource attribute for text of inline elements.

* docutils/parsers/rst/directives/html.py:
  - Fix bug 281: Remove escaping backslashes in meta directive content.

* docutils/parsers/rst/directives/misc.py:
  - Don't convert tabs to spaces, if tab_width is negative in
    include directive with code option.

* docutils/parsers/rst/directives/tables.py:
  - Apply patch 121: Add "width" option for the table directives.

* docutils/transforms/frontmatter.py:
  - Add field name as class argument to generic docinfo fields unconditionally.

* docutils/transforms/references.py:
  - Fix bug 331: fixed the "trim" options of the "unicode" \ 

* docutils/utils/__init__.py:
  - Deprecate unique_combinations (obsoleted by itertools.combinations).

* docutils/utils/smartquotes.py:
  - Fix bug 332: use open quote after whitespace, ZWSP, and ZWNJ.

* docutils/writers/html5_polyglot/
  - automatically add HTML5-compatible meta tags for docinfo items
    "authors", "date", and "copyright".

* docutils/writers/_html_base.py
  - Fix bug 358: Non-breaking space removed from fixed-width literal.

* docutils/writers/latex2e/__init__.py:
  - Fix bug 323: spurious \phantomsection and whitespace in
  - Fix bug 324: Invalid LaTeX for table with empty multicolumn cell.
  - Fixes to literal block handling.
   2017-09-04 20:05:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
Release 0.14:

As rc2.

* docutils/docs/ref/docutils.dtd:
  - Enable validation of Docutils XML documents against the DTD:

* docutils/parsers/rst/:
  - Added functionality: escaped whitespace in URI contexts.
  - Consistent handling of all whitespace characters in inline markup
    recognition. (May break documents that relied on some whitespace
    characters (NBSP, ...) *not* to be recognized as whitespace.)

* docutils/utils/smartquotes.py:
  - Update quote definitions for et, fi, fr, ro, sv, tr, uk.
  - Add quote definitions for hr, hsb, hu, lv, sh, sl, sr.
  - Differentiate apostrophe from closing single quote (if possible).
  - Add command line interface for stand-alone use (requires 2.7).

* docutils/writers/_html_base:
  - Provide default title in metadata.
  - The MathJax CDN shut down on April 30, 2017. For security reasons, we
    don't use a third party public installation as default but warn
    if `math-output` is set to MathJax without specifying a URL.
    See math-output_ for details.

* docutils/writers/html4css1:
  - Respect automatic table column sizing.

* docutils/writers/latex2e/__init__.py
  - Handle class arguments for block-level elements by wrapping them
    in a "DUclass" environment. This replaces the special handling for
    "epigraph" and "topic" elements.

* docutils/writers/odf_odt:
  - Language option sets ODF document's default language
  - Image width, scale, ... set image size in generated ODF.

* tools/
  - New front-end ``rst2html4.py``.
   2017-01-03 14:23:05 by Jonathan Perkin | Files touched by this commit (52)
Log message:
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in \ 
post-install targets.
   2016-12-15 11:42:30 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Release 0.13.1 (2016-12-09)

* docutils/languages/fa.py

  - Apply [ 133 ] Persian mappings by Shahin Azad.
  - Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev

* docutils/nodes.py

  - Fix [ 253 ] Attribute key without value not allowed in XML.

* docutils/parsers/

  - Apply [ 103 ] Recognize inline markups without word boundaries.
  - Enable escaping in embedded URIs and aliases (fixes [ 284 ]).

* docutils/parsers/rst/__init__.py

  - Fix [ 233 ] Change the base URL for the :rfc: role.

* docutils/parsers/rst/directives/tables.py

  - Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
    or 'grid'.

  - Implement feature request [ 48 ]
    Add :align: option to the table directives.
    Thanks to Takeshi KOMIYA for the patch.

* docutils/parsers/rst/roles.py

  - Fix [ 295 ] Class argument for custom role inheriting from math.

* docutils/parsers/rst/tableparser.py

  - Really fix [ 159 ] Spurious table column alignment errors.

* docutils/transforms/frontmatter.py

  - Add name of generic bibliographic fields as a "classes" attribute value
    (after conversion to a valid identifier form).

* docutils/utils/error_reporting.py

  - Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.

* docutils/utils/math/math2html.py

  - Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
  - New upstream version (additional macros, piecewise integrals and sums).

* docutils/writers/_html_base.py

  - New auxiliary module for definitions common to all HTML writers.

* docutils/writers/html5_polyglot/

  - New HTML writer generating clean, polyglot_ markup conforming to
    `HTML 5`_.

    The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
    and recommended layout rules.

* docutils/writers/html4css1/__init__.py

  - Add "docutils" to class values for "container" object to \ 
address [ 267 ].
  - Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
    ``default_stylesheet_path`` and ``default_template_path``.
  - Fix [ 266 ] creating labels/class values in description list items.
  - Do not use <sup> and <sub> tags inside <pre> \ 
(parsed-literal blocks).
  - Fix footnotes with content that does not start with a paragraph.
  - Use https in default MathJax URL (report Alan G Isaac).
  - Outsourcing of common code to _html_base.py.

* docutils/writers/latex2e/__init__.py

  - Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
    admonitions and docinfo.

  - Use absolute path for ``default_template_path``.

  - Removed deprecated options ``--use-latex-footnotes`` and

  - Cleaner LaTeX code for enumerations and literal blocks.

  - Use "hyperref" package together with "bookmark" \ 
(improved hyperlinking
    by the same author).

  - Fix [ 286 ] Empty column title cause invalid latex file.

  - Fix [ 224 ] Fix rowspan support for tables.

  - Let LaTeX determine the column widths in tables with "colwidths-auto".
    Not suited for with multi-paragraph cells!

* docutils/writers/odf_odt/__init__.py

  - remove decode.encode of filename stored in zip.

* docutils/writers/xetex/__init__.py

  - LuaLaTex compatibility: do not load "xunicode".

* tools/

  - New front-end ``rst2html5.py``.

* tox.ini

  - Test py26, py27, py33 and py34.

    To use, install the ``tox`` package via pip or easy_install and use
    tox from the project root directory.

.. _polyglot: http://www.w3.org/TR/html-polyglot/
.. _HTML 5: http://www.w3.org/TR/html5/
.. _XHTML 1.0: http://www.w3.org/TR/xhtml1/