summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data
Commit message (Collapse)AuthorAgeFilesLines
* Wrap definition lists with "details" class argument in a <div>milde2022-11-281-0/+2
| | | | | | | | 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
* Fix some problems with HTML5 stylesheets. Add tests for "tuftig.css".milde2022-06-131-0/+1
| | | | | | | 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
* Fix trailing whitespace (non-Python files).milde2022-01-295-12/+8
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8995 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change http://docutils.sourceforge.net -> https://docutils.sourceforge.iomilde2022-01-203-3/+3
| | | | | | Patch by Adam Turner. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8956 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* add symlink to responsive.css grubert2021-10-031-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8839 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: New default for table column widths (fixes bug #426).milde2021-10-011-1/+1
| | | | | | | | | 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-301-55/+62
| | | | | | | | | | | | 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
* Update functional test for LaTeX corner cases.milde2021-08-114-80/+176
| | | | | | | | 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
* MathML: fixes and additions.milde2021-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | 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-51/+31
| | | | git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8804 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: small tweaksmilde2021-07-051-0/+7
| | | | | | | | | | | | | Move space character between section number and heading into "sectnum" span. Simplify code in _html_base.py. responsive.css: highlight target of current URL, show an arrow when hovering over section heading to hint at the target of toc-backlinks. Test setting `--toc_backlinks=top` and the "responsive.css" stylesheet. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8787 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: Improve accessibility of section headings.milde2021-06-302-2/+29
| | | | | | | | | | | | | | | | Mark the internal back-refences from section headings to the ToC with DPub-ARIA role "doc-backref". Use "aria-level" instead of a class argument value for section headings with nesting level > 6 (for level 1 to 6, the level is determined by the HTML tag). Mind that in HTML5, heading level 1 is reserved for the document title and section headings start with level 2. Add functional test sample for deeply nested sections. Merge functional tests for additonal HTML5 features. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8786 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Reorganise functional tests.milde2021-06-308-36/+52
| | | | | | | | | | | Move additional tests for special features or problems specific to the output format from the "standalone_..." generic test case to additional tests. Use unit test instead of functional test for the fix in r6155 (hyperlink references in substitutions). git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8784 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5: Support details disclosure elementsmilde2021-06-301-0/+19
| | | | | | | Items of a definition list with class argument "details" are converted to `details disclosure elements`. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8783 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-233-20/+61
| | | | | | | | | | | 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
* Fix/Update HTML5 writer functional test.milde2021-02-132-0/+436
| | | | 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-261-1/+1
| | | | | | No change in functionality. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8608 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
* 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
* 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-191-0/+2
| | | | | | | | | | * 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
* 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-113-18/+90
| | | | | | | | | | | 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-131-0/+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
* Rename html_plain writer to html5_polyglott.milde2016-08-183-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7969 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-301-1/+3
| | | | 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-281-0/+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-264-4/+52
| | | | | | | 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-262-103/+16
| | | | | | | 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
* Rename html_base writer to html_plain, move xhtml11 writer back to sandbox.milde2015-07-164-279/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7901 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
* Separate style sheets for required and optional layout rules.milde2015-05-112-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7893 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).milde2015-03-301-1/+1
| | | | | | | | | | | New approach: use <span class="subscript"> ... and CSS in literal blocks, as <sup> and <sub> are explicitely forbidden in XHTML 1 http://www.w3.org/TR/xhtml1/#prohibitions (but the validator does not check this) Also: fix target in SVG image functional test. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7856 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix the latest latex writer patch: no "alltt" in parsed literal blocks.milde2015-03-192-5/+7
| | | | | | More inline markup examples for functional test of parsed literal blocks. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7849 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Let "html-base" and "xhtml11" writers wrap SVG images in <img> tags. milde2015-03-131-53/+99
| | | | | | Edit of the SVG image functional test section. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7827 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Link stylesheets to test dir instead of copy them.milde2015-03-112-372/+2
| | | | | | Keeps them synchronous. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7819 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Base xhtml11 writer on html-base. Adapt and fix tests.milde2015-03-102-312/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7818 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New CSS 2.1 style-sheet for xhtml11 writer.milde2015-03-062-16/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Wrap SVG images in <img> tags not <object>.milde2015-02-231-0/+6
| | | | | | | | Addresses bug [ 247 ], but rendering problems remain (see test output test/functional/expected/standalone_rst_xhtml11.xhtml), so we might need a config setting. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7799 929543f6-e4f2-0310-98a6-ba3bd3dd1d04