summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input
Commit message (Collapse)AuthorAgeFilesLines
* HTML5: Semantic markup for footnotes.milde2021-06-251-2/+26
| | | | | | | | | | | | | | Use "aside" instead of a description list for footnotes and citations. While providing decent standard rendering, footnote label and text are no instance of a "definition term" and "definition". Use "invisible" footnote label brackets instead of display="none" with superscript footnotes so that the brackets are kept with drag-and-drop. Adapt stylesheets. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8773 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: support more functions and symbols.milde2021-05-201-67/+133
| | | | | | | | | | | | | - Support emellished identifiers, - support more functions and symbols from "amsmath", - map HYPHEN-MINUS -> MINUS SIGN and COLON -> RATIO im math context, - simplify doctests with starred import, - dont wrap content in <mrow> when it is inferred by an element (let these elements inherit from "mrow"). - tex2unichar: Fix/extend character mappings. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8748 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML update: math alphabets, tex_token(), add documentation.milde2021-05-201-0/+462
| | | | | | | | | | * math alphabets: Use token elements for single symbols or names. * tex_token: skip whitespace after command names. * comprehensive documentation/test document. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8747 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* MathML: Implement "cases" environment in latex2mathml.milde2021-05-201-11/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8740 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html5 writer: support field lists with custom indent.milde2021-05-201-1/+10
| | | | | | Review handling of "classes" attribute. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8735 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5 writer: support <video>.milde2021-03-201-0/+34
| | | | | | Use <video> for images with video MIME types supported by HTML5. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8639 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5 writer: Add a `viewport` meta tag to fix rendering in mobile browsers.milde2021-03-091-12/+6
| | | | | | | | The default behaviour of many mobile browsers is to render for a virtual viewport size and scale. This breaks CSS styling with the default stylesheets. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8632 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New responsive style for HTML5.milde2021-03-051-0/+10
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8630 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update functional test sample.milde2021-02-234-42/+63
| | | | | | | | | | | Update some links. Describe "meta" directive. Don't use too wide images and tables to allow adaption to small screens (mobile). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8627 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex-writer: add \\leavevmode after term or field name if required.milde2021-02-181-0/+164
| | | | | | Based on patch #176 by John Thorvald Wodder II git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8626 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix/Update HTML5 writer functional test.milde2021-02-133-213/+223
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8622 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small update of the functional test input.milde2021-01-262-13/+11
| | | | | | No change in functionality. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8608 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Implement feature request #40 Option to embed images as data URI.milde2020-11-271-0/+25
| | | | | | | | | | | | | | | If the new "embed_image" configuration setting is true, the image can be read from the local file system, and its MIME type can be determined, it is base64 encoded and included as a data URI. TODO: * Add an "embed" option to the "image" directive to allow embedding of individual images? * Use direct inlinging for SVG in HTML5? git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8581 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply patch #175 "Fix alignment of nested tables".milde2020-11-251-0/+47
| | | | | | | | | | Thanks to John Thorvald Wodder II for the patch. Additional fixes to table alignment. Expand LaTeX writer test for nested tables. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8577 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer tests: functional test stub for nested tables.milde2020-10-281-0/+29
| | | | | | Cf. patch #175. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8570 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Make the sidebar's "title" argument optional.milde2020-07-101-1/+1
| | | | | | | | | Feature request #69. The analogous DocBook "sidebar" element's title is optional. too (https://tdg.docbook.org/tdg/5.2/sidebar.html). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8524 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html5: support numbered figures (with CSS styling, analogue to tables).milde2020-04-031-0/+12
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8515 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* functional tests: add section headingmilde2020-04-031-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8514 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html writer: Drop spurious suffix after <object> starttag.milde2020-04-031-1/+1
| | | | | | | Also backported to html4css1 to fix possible spurious whitespace after inline images. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8513 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html5 writer: prepare support of <ins> and <del> tags.milde2019-10-102-3/+38
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8402 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html5 writer: Add list of text-level tags to the functional test.milde2019-09-302-1/+228
| | | | | | | | Preparation for support of more text-level tags. Also some minor formatting/documentation fixes. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8399 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML fixes and updates.milde2019-09-191-2/+3
| | | | | | | | Remove dead code. Remove unused class value "first" for topic-title. Fix/update CSS stylesheets for html5 writer. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8396 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 339 ] don't use "alltt" in admonitions and footnotes.milde2019-09-141-3/+16
| | | | | | Includes some other minor cleanups for the LaTeX writer. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8391 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add odt test for rawgrubert2019-08-201-0/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8322 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add test for header and footergrubert2019-08-201-0/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8319 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add test for footnote referenced twicegrubert2019-08-201-0/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8317 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add odt classifier testgrubert2019-08-191-0/+13
| | | | | | | Fix: xml.etree.ElementTree Element.getchildren deprecated warning git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8316 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add regression test for odt contentsgrubert2019-08-191-0/+15
| | | | | | | Fix: xml.etree.ElementTree Element.getchildren deprecated warning git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8315 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add odt regression test for literal blockgrubert2019-08-191-0/+4
| | | | | | | Fix: xml.etree.ElementTree Element.getchildren deprecated warning git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8314 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Properly escape LaTeX commands in test samples.milde2017-11-062-7/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8200 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix bug #331: fixed the "trim" options of the "unicode" directive.goodger2017-10-201-1/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8188 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix :width: option for the table directives.milde2017-10-193-0/+4
| | | | | | | | | | * add table width argument in docutils.dtd * support table width argument in html and latex writers * fix support in "csv-table" directive * add test cases. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8187 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixes and test for literal block handling in LaTeX.milde2017-09-221-0/+69
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8180 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Improve and test "compound" handling in LaTeX.milde2017-03-221-14/+59
| | | | | | | Test samples added to standard.txt allow inspection of the outcome of compound handling for all output formats. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8052 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Cleanup and documentation update for latex writer class handling.milde2017-03-115-18/+94
| | | | | | | | | | | Replace the special casing for topic elements with the generic block-level element wrapper. Rework latex writer documentation. Minor fixes to latex writers. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8046 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 312 ] HTML writer generates invalid HTML if the table has two tags.milde2017-03-031-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8042 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply [ 125 ] respect automatic table column sizing also in html4css1.milde2017-02-132-15/+15
| | | | | | Add a table with "auto"-width columns to the functional tests. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8033 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix tests after renaming html5 writer.milde2016-08-191-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7970 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Rename html_plain writer to html5_polyglott.milde2016-08-184-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7969 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docutils-xml writer: Fix/improve output with "newlines and "indent".milde2016-08-181-0/+7
| | | | | | | | | | | xmllint says empty elements must not have linebreaks inbetween (regards transition, image and cospec elements). Indent text, unless it is FixedText (literal etc.). Add a functional test for docutils-xml. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7966 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixes for the latex2e writer table handling.milde2016-08-031-9/+25
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7965 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Support tables with auto-sized column widths in html_plain and latex2e writers.milde2016-07-302-55/+62
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7962 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Clear up and document patch [ 120 ].milde2016-07-282-13/+1
| | | | | | | | | | | | | The colwidths argument for <tgroup> violates the docutils.dtd. As the "auto"/"given" tags may be ignored by the writers, they may be stored as classes instead. The default case (grid for tables, equal widths for ListTable and CSVTable does not need/get a tag. This way, writers can decide whether to leave column width determination to the backend when the class "colwidths-auto" is set (opt-in) or by default (opt-out with "colwidths-given"). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7958 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Implement feature request [ 48 ]milde2016-07-266-10/+59
| | | | | | | Add :align: option to the table directives. Thanks to Takeshi KOMIYA for the patch. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7952 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer tests for multirow tables.milde2016-07-263-103/+154
| | | | | | | Also some more corner case test for LaTeX. (Functional test, so that the visual appearence in PDF can be easily checked.) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7950 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html-plain writer: fix for field-listmilde2016-05-251-1/+5
| | | | | | Prevent misalignment of following content if the field is empty. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7941 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* html-plain: style footnote references and labels with CSS.milde2015-09-111-0/+17
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7916 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Rename html_base writer to html_plain, move xhtml11 writer back to sandbox.milde2015-07-166-350/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7901 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix for bug number 276 ODT Writer strips classes from inline character ↵timehorse2015-06-033-0/+11
| | | | | | markup when more than one class. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7899 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add link to "plain.css" to the test data.milde2015-05-271-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7895 929543f6-e4f2-0310-98a6-ba3bd3dd1d04