summaryrefslogtreecommitdiff
path: root/test/functional/input
Commit message (Collapse)AuthorAgeFilesLines
* Properly escape LaTeX commands in test samples.milde2017-11-062-7/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@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/docutils@7916 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Rename html_base writer to html_plain, move xhtml11 writer back to sandbox.milde2015-08-126-350/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@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/docutils@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/docutils@7895 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Separate style sheets for required and optional layout rules.milde2015-05-114-273/+60
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@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/docutils@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/docutils@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/docutils@7827 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Announce the new HTML writers. Small fixes to get valid HTML.milde2015-03-111-3/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7820 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/docutils@7819 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Base xhtml11 writer on html-base. Adapt and fix tests.milde2015-03-103-314/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7818 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Tests for the basic HTML writer.milde2015-03-101-0/+234
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7816 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New CSS 2.1 style-sheet for xhtml11 writer.milde2015-03-063-39/+52
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@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/docutils@7799 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New HTML writer generating `XHTML1.1`_ styled with CSS2.milde2015-02-212-0/+633
| | | | | | | | Moved to the docutils core from sandbox/html4strict. .. _XHTML1.1: http://www.w3.org/TR/xhtml11/ git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7798 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes to math-output=HTML.milde2013-03-021-3/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7619 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docutils-Bugs-3594442 : complex table formatting errorgrubert2013-02-211-0/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7616 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* remove trailing whitespacemilde2013-01-201-3/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7591 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix literal use of babel shorthands (straight quote, tilde, ...).milde2013-01-172-2/+40
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7589 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change default of "syntax highlight" option to "long", milde2012-09-141-9/+7
| | | | | | Add basic syntax highlight styles for LaTeX and HTML. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7514 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 3527842 ]. milde2012-06-042-0/+585
| | | | | | | | | | | | | | | | Under Python 3, converted tests and tools are now stored in the ``test3/`` and ``tools3/`` sub-directories and not installed in the PYTHONPATH. In order to make this work: - Make tests independent from the location of the ``test/`` directory. - Use converted sources from the ``build/`` directory for tests under Python 3. Remove functional/tests/stylesheet_path_html4css1.py made redunant by functional/tests/math_output_html.py. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7437 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add tests for section levels not supported by LaTeXmilde2012-02-261-0/+28
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7368 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not use ``\\\\section*``-macros to suppress LaTeX section numbering.milde2012-01-263-3/+4
| | | | | | Use ``\\\\DUtitle`` for section levels not supported by LaTeX. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7325 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* "code" option of the "include" directive, testsmilde2011-09-172-2/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7129 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Turn off code parsing in the standalone functional testsmilde2011-09-021-3/+6
| | | | | | to get identical results with/without installed Pygments highlighter. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7120 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* reStructuredText "code" role and directivemilde2011-09-021-3/+39
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7119 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Self-documentation the "Cyrillic with LaTeX" functional test.milde2011-08-241-0/+18
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7101 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix typo.milde2011-07-251-2/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7099 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Common directive options:milde2011-07-061-3/+9
| | | | | | | | | Add "name" and "class" options to admonition directives. Directive content may start on the first line also when the directive type accepts options. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7072 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Math directive and documentation update:milde2011-06-171-19/+20
| | | | | | | | | Math content can also be given as directive argument. Multiple content block separated by blank lines are put in separate nodes. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7056 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Math support updatemilde2011-04-131-21/+26
| | | | | | | | | | * new version of math2html (elyxer) by Alex Fernandez (bugfixes, improved rendering) * small fixes to latex2mathml * accept Unicode characters in the input * updated test file, new test cases html_math and mathml_math git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7008 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply [ 3148141 ] fix multicolumn support.milde2010-12-302-0/+21
| | | | | | | | Correct width, when a colspanning cell has more than one paragraph. Thanks to Wolfgang Scherer. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6508 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Move orphaned "newlatex" writer to the sandbox.milde2010-12-071-12/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6496 929543f6-e4f2-0310-98a6-ba3bd3dd1d04