summaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAgeFilesLines
* add test filemilde2009-10-091-0/+23
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6158 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Complete pairs of binary options and some new defaultsmilde2009-10-084-193/+55
| | | | | | | | | | | | | New options: --figure-footnotes, --figure-citations, --link-stylesheet, --use-docutils-toc, --use-docutils-docinfo, --topic-abstract New defaults: - font-encoding: "T1" (formerly implicitely set by "ae"). - use-latex-toc: true (ToC with page numbers). - use-latex-footnotes: true (no mixup with figures). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6156 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 1627229 ] hyperlink references in substitutions.milde2009-10-062-2/+10
| | | | | | | Links in substitutions failed to convert, as the substitution directive did not note the refname. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6155 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* load cmap.sty and fixltx2e.sty in the default templatemilde2009-10-054-10/+16
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6152 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Beautify LaTeX test output (start ToC on a new page)milde2009-09-284-16/+22
| | | | | | | As the test output is also a show-case for Docutils, we should make it nice (if easily possible). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6146 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix hyper-targets in captions, support custom roles based on "raw".milde2009-09-283-16/+85
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6145 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* (LaTeX) footnotes now link forth and back.milde2009-09-141-9/+20
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6128 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use `translate` method instead of repeated `replace` calls.milde2009-09-111-8/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6124 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Address [ 1938891 ] Inline literal text creates "pre" span only when needed milde2009-09-073-14/+14
| | | | | | to prevent inter-word line wraps. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6117 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Render doctest blocks as literal blocks (fixes [ 1586058 ]).milde2009-09-031-4/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6115 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* More stable implementation of ``--use-titlepage-env``.milde2009-08-253-39/+21
| | | | | | | Variable for output stream of the visitor methods allows to easily collect and process output of sub-nodes. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6102 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not print date at document end, this is done by the viewer.grubert2009-08-241-2/+0
| | | | | | | Fix storage of docinfo fields for none standard fields. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6098 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer refactoring and cleanup:milde2009-08-224-79/+154
| | | | | | | | | | | | | * new and renamed custom commands with optional "classes" argument * layout generic topic as "quote with title" * refactoring of visitor methods: admonition, subtitle, system_message, title, topic * table-of-contents: handle in visit_topic(), use generic DUtitle (if not use-latex-toc) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6094 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not print version at document end, this is done by the viewer.grubert2009-08-201-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6091 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Move manpage writer out of sandbox.grubert2009-08-183-0/+202
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6085 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* more verbose sample text to ease visual comparison of conversion resultsmilde2009-08-124-8/+59
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6079 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer bugfix and cleanupmilde2009-08-112-53/+53
| | | | | | | | | | | add sections to correct level of toc and pdfbookmarks with literal line breaks, add space only for blank lines no hardcoded \\\\bigskip after ToC update comments simplified literal double quote replacing git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6075 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Commands with optional args inside an optional arg must be put in a group.milde2009-06-261-10/+10
| | | | | | e.g. ``\\\\item[{\\\\hyperref[label]{text}}]`` git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@6001 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Float placement made configurable and changed to "here definitely".milde2009-06-161-6/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5988 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Better structured LaTeX source without visible change to the PDF outputmilde2009-06-151-116/+164
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5985 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Default type area defined in the document class (not by the typearea package).milde2009-06-154-8/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5984 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Internal links now take you to the correct place.milde2009-06-121-291/+328
| | | | | | Use \\\\label <- \\\\hyperref for links to section titles. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5981 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed target name clash in the test file standard.txtmilde2009-06-044-261/+261
| | | | | | (re-numbering of ids causes extensive changes in the test output). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5970 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer bugfixes:milde2009-06-041-26/+75
| | | | | | | | | Newlines around comments, targets and references prevent run-together paragraphs. Fixed missing and spurious internal links/targets. Verbose and linked system messages. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5969 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex writer bugfix: Newlines around targets and references milde2009-06-021-12/+23
| | | | | | prevent run-together paragraphs. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5967 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix "figalign" behaviour, new "DUlegend" environmentmilde2009-05-261-22/+30
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5964 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix figure alignment.milde2009-05-181-3/+3
| | | | | | | the align argument of a figure should align the figure object "en-bloc", not the contents inside the figure. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5951 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use default font in admonitions and sidebar.milde2009-05-181-16/+21
| | | | | | New custom commands for sidebar title and subtitle. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5950 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Better explain optional wrapping around images and figures milde2009-05-183-33/+30
| | | | | | in the test document. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5949 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Clean up image directive test/demomilde2009-05-114-127/+206
| | | | | | | | Separate test for image and figure directives, test right, left, and center alignment of figures, avoid too large images. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5940 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use \\textsubscript and \\textsuperscript for sub- and superscript roles.milde2009-05-074-12/+16
| | | | | | Always load fixltx2e.sty package (providing \\textsubscript). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5938 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simpler LaTeX encodingmilde2009-05-065-137/+262
| | | | | | | | | | | | | | | | | | Remove redundant "double protection" from the encoding of the "special printing characters" and square brackets, e.g. ``\\%`` instead of ``{\\%}``. Use conventional style for "named" macros, e.g. ``\\dots{}`` instead of ``{\\dots}``. Encode < | > in OT1 font encoding only. encode method: clear comments, simpler logic Bugfix: \\reflectbox requires graphicx. Adapt tests and documentation. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5934 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer: new custom macrosmilde2009-04-294-169/+118
| | | | | | | update relevant documentation (including spelling and whitespace fixes) update tests git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5931 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Correctly describe the reason for the multirow-LaTeX problem milde2009-04-291-8/+10
| | | | | | (from docutils-devel post by D. G.). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5928 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add test case for bug with rowspanning table cellsmilde2009-04-281-1/+48
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5926 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer: Shorter preamble and less dependencies;milde2009-04-214-280/+183
| | | | | | Load packages and define macros only if required in the document. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5906 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer: sub- and superscript as text, custom roles based on standard ↵milde2009-03-302-6/+46
| | | | | | | | roles. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5887 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* multistyle_path_rst_html4css1.py: removed test for absolute pathmilde2009-03-092-2/+1
| | | | | | | as this fails under Windows under certain conditions (a drive letter might be added if source and target drives differ). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5885 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer: Do not use "fontenc", nor the obsolete "ae" and "aeguill" ↵milde2009-02-234-10/+6
| | | | | | | | packages if font-encoding is set to the empty string (default). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5871 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer: backwards compatible implementation of failsave custom rolesmilde2009-01-304-79/+130
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5862 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex2e writer: Add ``bp`` to lengths without unit; do not convert ``px`` to ↵milde2009-01-281-5/+5
| | | | | | ``pt`` git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5856 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* standalone_rst_latex.tex: fix trailing whitespacemilde2009-01-161-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5851 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix for unit tests. Removed use of lxml.dkuhlman2009-01-132-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5846 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added rst2odt/odtwriter to the main branch.dkuhlman2008-12-264-0/+180
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5834 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Stylesheet handling for html and latex2e writer: milde2008-12-166-0/+269
| | | | | | | | | accept multiple stylesheets, do not rewrite path if stylesheet is to be embedded, load latex packages with \\usepackage; fix custom role handling in latex2e: command definition was missing in output git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5823 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* remove test for future extension (accidentally commited)milde2008-12-091-13/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5816 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Two more tests of the multiple styles for html4css1milde2008-12-081-0/+13
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5806 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added expected output for the "multistyle" functional testsmilde2008-12-073-0/+65
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5802 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Enable comma separated list of stylesheets in html4ccs1milde2008-12-063-0/+42
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5800 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* failsave implementation of custom roles in latex2emilde2008-12-011-3/+3
| | | | | | | | | | | | | | | | | The latex2e writer currently translates <inline> nodes with a class argument (e.g. produced by a custom role or the upcoming syntax-highlighting souce-code directive) to specific LaTeX macros, which allows a style sheet to define this macro but leaves the document uncompilable without a special style sheet. The patch below lets the latex2ewriter produce code that 1. compiles without error ignoring the unknown classes 2. allows styling of the marked-up code in a custom stylesheet git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5742 929543f6-e4f2-0310-98a6-ba3bd3dd1d04