summaryrefslogtreecommitdiff
path: root/test/test_writers
Commit message (Collapse)AuthorAgeFilesLines
* - New option ``--reference-label`` to allow usage of LaTeX ref for grubert2007-02-211-0/+6
| | | | | | | | | labels in section references. - Add a label after every section to support sectionnumbers as reference labels. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4918 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* + - Moved ``id`` attributes from titles to surrounding ``div``wiemann2007-01-162-32/+32
| | | | | | | + elements; dropped ``name`` attributes (``id`` is universally + supported now). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4883 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: Do not escape underscores in citation reference labels if grubert2006-10-081-0/+34
| | | | | | | use-latex-citations is set. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4760 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Recognize table class: borderless, nolines, booktabs, standard.grubert2006-09-031-0/+38
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4716 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use $Id$ instead of $Date$ and $Revision$;wiemann2006-05-218-32/+16
| | | | | | | | collapsed Author and Contact fields; use canonical email addresses for David and Felix; (I have reviewed the diff) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4564 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: Renaming contents section does not work with latex writer. SFbug 1487405grubert2006-05-131-1/+54
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4540 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Prevent latex writer from crashing on files with >256 lists (patch 1475247 ↵grubert2006-04-241-13/+13
| | | | | | by edloper) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4515 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added tests for the S5/HTML writergoodger2006-04-041-0/+161
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4498 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docstringgoodger2006-04-011-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4459 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* new test for templategoodger2006-03-311-0/+237
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4457 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamedgoodger2006-03-311-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4455 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* converted latin1 files to utf8;wiemann2005-10-293-6/+5
| | | | | | | removed unnecessary -*- coding -*- tags; made some source files ASCII only git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3968 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``serial_escape`` function; escapes string values that are elements of ↵goodger2005-10-021-1/+1
| | | | | | a list, for serialization. Modified Docutils-XML writing (``Element._dom_node``) and pseudo-XML writing (``Element.starttag``) to use ``serial_escape``. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3915 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added docutils/writers/support/ directory and removed tools/stylesheets/; ↵goodger2005-09-251-2/+5
| | | | | | updated defaults; removed docutils/transforms/html.py (no longer needed); removed ``_stylesheet_required`` internal setting; updated setup.py git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3901 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* allow field bodies of simple field lists to be empty;wiemann2005-08-291-0/+47
| | | | | | | mmmh, the test source doesn't look particularly nice -- it contains redundancy; I think a lot of cleanup is required in both the test and the HTML writer git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3843 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* LaTeX writer: protect closing sqaure brackets as wellwiemann2005-08-271-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3840 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Moved "id" attribute from container (section etc.) to the <a> tag in the ↵goodger2005-08-251-24/+24
| | | | | | title, to be on the same tag as "name". (!!! To be reverted in Docutils 0.5.) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3832 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made _stylesheet_required setting default to 0,wiemann2005-08-241-2/+1
| | | | | | activating it in the rst2html.py front-end tool git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3830 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* committed too early; sorrywiemann2005-08-151-25/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3811 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made Null writer "support" all formatswiemann2005-08-151-0/+25
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3810 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* revert docutils.writers.null.Writer.output to None, now with ↵goodger2005-07-021-2/+1
| | | | | | docutils.io.Output and test support git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3646 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* converted to real multi-line literal strings for readabilitygoodger2005-06-291-3/+28
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3623 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* move metadata title into document['title']wiemann2005-06-292-14/+9
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3621 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``_stylesheet_required`` internal setting, ↵goodger2005-06-281-1/+2
| | | | | | docutils.transforms.html.StylesheetCheck transform, docs, tests, and support. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3617 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* executablegoodger2005-06-241-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3574 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* separated different types of testsgoodger2005-06-232-20/+37
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3570 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved import to guarded areagoodger2005-06-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3569 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed docutils.frontend._globally_deactivate_config_files (reverting much ↵goodger2005-06-232-6/+11
| | | | | | of rev. 3511), since it duplicates settings._disable_config functionality git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3567 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* again a broken test; I should really rerun the test suite before committing ↵wiemann2005-06-211-1/+1
| | | | | | changes git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3550 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Py21 compatibility fix (usage of "in" operator for strings)wiemann2005-06-201-3/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3542 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made Null writer return an empty stringwiemann2005-06-191-0/+32
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3518 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made xmlcharrefreplace the default output encoding error handler forblais_interruptus@3512wiemann2005-06-192-6/+22
| | | | | | HTML and XML writer git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3512 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added deactivation of config file reading (for easier testing)wiemann2005-06-191-4/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3511 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed false assumption about pathgoodger2005-06-171-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3509 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``html_prolog`` & ``html_head`` to HTML writer parts dictionary ↵goodger2005-04-261-13/+29
| | | | | | exposed by ``docutils.core.publish_parts``; updated tests & docs. At the request of Marcelo Huerta. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3257 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``html_body``, ``html_title``, & ``html_subtitle`` to HTML writer ↵goodger2005-04-241-24/+105
| | | | | | parts dictionary exposed by ``docutils.core.publish_parts``; updated tests. Added "``publish_parts`` Details" section to docs/api/publish.txt. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3251 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved test_html4css1/test_parts.py to test_html4css1.py;wiemann2005-03-262-14/+0
| | | | | | no need for a separate directory git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3135 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* forgot to check in test outputwiemann2005-03-261-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3132 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* typowiemann2005-03-261-1/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3131 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged rev. 3094:3101 and 3102:HEAD from branches/multiple-ids to trunkwiemann2005-03-262-6/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3129 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set executable bits on test fileswiemann2005-03-223-0/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3085 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updated unit test for HTML writer because of new "docutils" class attributeswiemann2004-11-131-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2850 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* do not strip <p></p> from a paragraph which is the only child of a documentwiemann2004-11-081-6/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2831 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed newline at end of raw text, because sometimes (when there arewiemann2004-11-071-0/+33
| | | | | | | | two consecutive newlines) the newline creates a new paragraph in LaTeX; added test git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made line block indentation parametrizable;wiemann2004-10-201-0/+2
| | | | | | | changed to 2.5em to avoid visual confusion with paragraph first-line indentation git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2748 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* made outermost line block unindented for LaTeX writerwiemann2004-10-201-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2747 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updated LaTeX writer test for newly added lineblock environmentwiemann2004-10-201-0/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2745 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added aeguill packagewiemann2004-09-071-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2560 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* updated testwiemann2004-09-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2558 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New option "font-encoding".grubert2004-09-051-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2552 929543f6-e4f2-0310-98a6-ba3bd3dd1d04