summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected
Commit message (Collapse)AuthorAgeFilesLines
* Version 0.20.2b.devgrubert2023-05-1718-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9390 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.20.1grubert2023-05-1618-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9388 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.20.1b.devgrubert2023-05-0918-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.20grubert2023-05-0918-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9374 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.20rc1 grubert2023-05-0418-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: Use dpub-ARIA role "doc-footnote" for footnotesmilde2022-12-013-35/+35
| | | | | | | | (instead of ARIA role "note"). No change with "html4css1". git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9292 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Raise version to 0.20b.dev.milde2022-12-0118-18/+18
| | | | | | There are not only bugfix changes since 0.19, so a new "minor" release is required. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9291 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Wrap definition lists with "details" class argument in a <div>milde2022-11-281-0/+4
| | | | | | | | with the "id" and "class" values of the list node. Enables setting an "anchor" or a "class" value for "detail disclosure elments". git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9282 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Refactor HTMLTranslator initialization and parts setup.milde2022-11-1317-21/+21
| | | | | | | | | | | | | | | | | Use utils.xml_declaration(). Don't write charset (encoding) declaration if the intended output encoding is not known. Copy "meta" part content into "head" in `depart_document()` (i.e. after collecting all items). Obsoletes auxiliary method `add_meta()`. Remove it. Changes to the HTML output (no space character before closing tag of XML declaration, order of metadata elements) don't affect the HTML semantics, styling, and rendering. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9240 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Simplify/fix LaTeX character encoding handling.milde2022-11-0612-12/+0
| | | | | | | | | | | Do not call "inputenc" if the "output-encoding" setting is 'utf-8'. (UTF-8 is the default encoding for LaTeX2e since 2018.) Do not call "inputenc" if the "output-encoding" setting is 'unicode': Docutils returns a `str` instance and does not know which encoding will be used when the output is written to a file or passed to LaTeX. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9219 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.19.1b.devgrubert2022-07-0518-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9105 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.19grubert2022-07-0518-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9103 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.19b2.devgrubert2022-06-2118-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9086 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.19b1grubert2022-06-2118-18/+18
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9085 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add wrapper around groups of footnotes to facilitate styling as a list.milde2022-06-193-0/+16
| | | | | | | | Adapt style sheets and tests. Cf. bug #450. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9081 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix some problems with HTML5 stylesheets. Add tests for "tuftig.css".milde2022-06-131-0/+141
| | | | | | | Ignore footnote back-references, when copying from Firefox. Small tweaks for tuftig.css. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9070 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove class value "controls" from an `image` node with video contentmilde2022-05-061-1/+1
| | | | | | | | | | | after converting it to a "control" attribute of the `<video>` tag. Thanks to Agathe Porte for the hint. TODO: discuss other special `<video>` attributes. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9056 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes to HTML5 output.milde2022-04-294-5/+4
| | | | | | | | Stop writing an empty line before the "footer" closing tag. Add space before "charset" meta tag closing sequence. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9054 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update PEP base URL and template.milde2022-03-1313-26/+22
| | | | | | | | | | | | | | The canonical PEP base URL changed to "peps.python.org/". The PEP-writer template.txt added a "source" link that no longer works due to sources now only be stored on github and having two possible file extensions ("txt" or "rst"). Adapt the header to resemble the header of official PEP documents (which are now produced using Sphinx). Fixes [bug:#445]. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9045 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Simplify code as dicts have fixed order since 3.6milde2022-03-051-1/+1
| | | | | | | We no longer need to sort a dictionary from `**kwargs` in order to have a fixed order for stable tests. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9029 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Write table column widths with 3 digits precision. Fixes bug #444.milde2022-02-191-3/+3
| | | | | | | | | | | | | | | Bug #444 reports visible effects of rounding errors with the current rounding to integer percentages (e.g. 7 columns 13% and one 9% for 8 columns of equal width). Allow a fractional part (1 digit) when table column widths are written as percentages in the "colgroup". Use f-string literal to format coefficient as percentage. CSS allows decimal numbers (since CSS1) in the specification of percentages. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9009 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix trailing whitespace (non-Python files).milde2022-01-298-19/+19
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8995 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update base URL config settings defaults.milde2022-01-2113-25/+25
| | | | | | | | | The default values for the "pep-references", "rfc-base-url", and "python-home" `configuration settings`_ now uses the "https:" scheme. Based on a patch by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8960 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change http://docutils.sourceforge.net -> https://docutils.sourceforge.iomilde2022-01-2030-35/+35
| | | | | | Patch by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8956 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change http://docutils.sf.net -> https://docutils.sourceforge.iomilde2022-01-202-2/+2
| | | | | | Patch by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8954 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Set version to 0.19b.dev.milde2021-12-2317-17/+17
| | | | | | | | | | Leaving the 0.18 maintenance mode. Note: We may skip 0.19 if the next release is "1.0-ready" (depending on consensus on backwards compatibility policy and definition/documentation of the public part of the API). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8914 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18.2b0grubert2021-11-2317-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8903 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.18.1grubert2021-11-2317-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8900 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Version: 0.18.1b1.devgrubert2021-11-1817-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8894 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Version: 0.18.1bgrubert2021-11-1817-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8893 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix behaviour of get_stylesheet_list()milde2021-11-171-2/+2
| | | | | | | Do not look up stylesheets given as "stylesheet" setting. Cf. bug #434. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8891 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release 0.18.1b.devgrubert2021-10-2617-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8867 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* version 0.18grubert2021-10-2617-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8864 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* release number 0.18b2.devgrubert2021-10-0517-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8848 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Release 0.18b1grubert2021-10-0517-17/+17
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8845 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* relative stylesheet_dirs to make test passgrubert2021-10-051-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8844 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: New default for table column widths (fixes bug #426).milde2021-10-0110-65/+14
| | | | | | | | | Only specify table column widths, if the "widths" option is set and is not "auto". The `table_style`_ setting "colwidths-grid" restores the current default. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8836 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: New algorithm for table colum widths. Fixes bug #422.milde2021-09-304-119/+145
| | | | | | | | | | | | New configuration setting "legacy_column_widths" for backwards compatibility. Only write "continued on next page..." if it fits without making the table columns wider. Table `width` option overrides conflicting "auto" column `widths`. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8835 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minor test fixes.milde2021-09-202-28/+14
| | | | | | | | | Remove workaround for legacy versions of the "hyperref" LaTeX package. Remove spurious import. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8830 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: Update tests after r8826milde2021-09-113-3/+0
| | | | | | No newline (new paragraph) before a table in compounds. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8828 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: revise Docutils-generated table of contentsmilde2021-09-111-16/+32
| | | | | | | Improve spacing, allow customization. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8826 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeXwriter: small fixes.milde2021-09-113-6/+0
| | | | | | | | Don't add ``\phantomsection`` to labels in math-blocks. New optional argument `newline` for LaTeXTranslator.ids_to_labels(). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: code cleanup and small fixes.milde2021-09-113-4/+151
| | | | | | | | | | | Fix newlines after/before ids_to_labels() (cf. patch #183). Refactor/revise ToC writing. Don't write `\phantomsection`, if a local ToC is skipped. Functional test for "--use-docutils-toc" in XeTeX writer test). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8824 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix #423 Code blocks in sidebars cause LaTeX errors.milde2021-09-075-10/+63
| | | | | | | | | | | | | Do not use the "alltt" enviromnent in sidebars. In admonitions and system-messages, "alltt" is used unless the "legacy-class-functions" setting is True. (Admonitions and system-messages are implemented as environments since rev 8479.) Thanks to Clément Pit-Claudel for reporting. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8820 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update functional test for LaTeX corner cases.milde2021-08-111-847/+418
| | | | | | | | Test for more problems with tables. Cosmetic fixes, reword, restructure. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8810 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: Simpler LaTeX code.milde2021-08-104-22/+22
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8807 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: fixes and additions.milde2021-08-107-40/+43
| | | | | | | | | | | | | | | | | | | | Math accent commands more similar to their LaTeX behaviour. Additions for HTML export. Use boolean values for boolean node arguments. Downcase node arguments before storing. Use class argument "boldsymbol" for \boldsymbol content. Alignment of multi line equations similar to AMS-LaTeX "align" environment. Add space after bracket in "cases" environment, left-align columns. Fix spacing before "unary" minus. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8805 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update SVG image samples and tests.milde2021-07-191-48/+28
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8804 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Math: fix some LaTeX character mappings.milde2021-07-121-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8799 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math2html: Prefer STIX fonts for formulas.milde2021-07-123-19/+19
| | | | | | | | | | | | | | STIX is free, widely supported, and comprehensive. (On the downside: it is considerably smaller than DejaVu: no problem with Chromium/Chrome but in Firefox a larger font-size might be advised.) Work around bugs/problems in STIX: "medium mathematical space" is too wide, "vertical line" glyphs leave gaps when stacked, upright integrals provide better alignment of limits. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8798 929543f6-e4f2-0310-98a6-ba3bd3dd1d04