summaryrefslogtreecommitdiff
path: root/docutils/test/test_transforms
Commit message (Collapse)AuthorAgeFilesLines
...
* Add field name as class argument to generic docinfo fields unconditionally.milde2017-10-061-9/+9
| | | | | | | | | | Also add the field name, if the DocInfo tranform fails to converts a bibliographic field list into a docinfo element. This allows styling of, e.g., a "copyright" element that also contains a license as separate paragraph when suppressing the warning (cf. Bug [325]). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8183 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 320 ] Russian docinfo fields not recognized.milde2017-06-181-1/+96
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8117 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add "smartquotes-locales" setting.milde2017-05-081-0/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8068 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* unroll problematic refs to their origin in document when reporting errorsmilde2017-05-041-1/+1
| | | | | | | Patch by Kirill Smelkov. This is part of the (partially outdated) suite of patches on https://sourceforge.net/p/docutils/patches/67/. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8067 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 317 ] Extra space inserted with French smartquotes .milde2017-04-241-0/+66
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8061 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not add a second ID to problematic references.milde2017-04-061-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8055 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update smartquotes: milde2017-03-311-5/+7
| | | | | | | | | | | | | * use the rules of the `Imprimerie nationale` as french default (full NBSP inside guillemets). * do not invert “ and ’ in en-UK: expect British authors to use u0027 APOSTROPHE for primary quotes and " for secondary quotes in the source. Set ``--smart-quotes=alt`` (or use en-UK-x-altquot) for inversion by `smartquotes`. * do not call ``educate_backticks`` in the SmartQuotes transform: backticks have a special meaning in rST. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8053 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 313 ] differentiate apostrophe from single quote (if possible).milde2017-03-191-19/+31
| | | | | | Mind, that this is not possible for apostrophe at end of words. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8050 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Update and add smartquote definitions for some languages.milde2017-01-171-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8017 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Test update.milde2016-05-241-0/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7940 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add name of generic bibliographic fields as a "classes" attribute valuemilde2015-05-291-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7897 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Consistently use "utf-8" (not "utf8") in magic comment giving source encoding.milde2013-06-041-1/+1
| | | | | | | Fixes problems with Docutils installed in "virtualenv" https://sourceforge.net/p/docutils/patches/105/ git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7668 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Treat embedded standalone hyperlinks as URI, even if ending in underscore.milde2013-03-111-1/+40
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7629 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 3607029 ] traceback with embedded alias pointing to missing target.milde2013-03-071-0/+22
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7624 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Support embedded aliases within hyperlink references.milde2013-02-181-0/+36
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7610 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply [ 2714873 ] Fix for the overwritting of document attributes.milde2013-01-211-1/+35
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7595 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* smartquotes: Skip emtpy text tokens without updating the last character.milde2013-01-041-2/+14
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7585 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* SmartQuotes transform: language-depended quote characters.milde2012-11-261-6/+77
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7540 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Smartquotes: correct "educating" of quotes around inline markup.milde2012-11-181-2/+81
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7537 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add SmartQuotes transform for typographic quotes and dashes.milde2012-10-161-0/+51
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7530 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Unit test of the strip_elements_with_classes config setting.milde2012-08-161-0/+61
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7496 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Copy the "rawsource" attribute as well when doing node.copy() or ↵gbrandl2010-07-031-0/+1
| | | | | | | | node.deepcopy(). Adjust the tests accordingly. See http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTimey1JHAuDk2tDKn2OxdQypbZ41LYZZ7KuxcSwM%40mail.gmail.com&forum_name=docutils-develop for discussion. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6351 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* adjusted name and email addresswiemann2007-05-313-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5174 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added writer_aux.Admonitions transform;wiemann2006-08-161-0/+33
| | | | | | | | use it in html4css1 and newlatex2e; changed priority of writer_aux.Compound transform from 810 to 910; added (basic) admonition support to newlatex2e writer git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4687 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged directives branch to trunk (r4375:4666);wiemann2006-07-121-2/+8
| | | | | | | | assert that block quote directives have content; improved test for block quote directives (test_block_quotes); deleted test_epigraphs_etc (replaced by test_block_quotes) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4667 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* use $Id$ instead of $Date$ and $Revision$;wiemann2006-05-2117-68/+34
| | | | | | | | 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@4564 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fixed bug with circular substitution definitions that put Docutils into an ↵goodger2005-12-281-0/+84
| | | | | | infinite loop. Circular substitution definitions are now detected & reported. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4233 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added the universal.StripComments transform, the "strip_comments" setting, ↵goodger2005-12-121-0/+49
| | | | | | and the --strip-comments/--leave-comments options. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4183 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* keep "Authors" field name, no matter how many authors listedgoodger2005-12-111-4/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4173 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* merged branches/s5 changes r4011:4155 into trunk/docutilsgoodger2005-12-081-0/+84
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4156 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* corrected order of importsgoodger2005-12-034-3/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4132 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed Subversion Date keyword parsingwiemann2005-11-111-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4044 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* simplified testwiemann2005-11-111-16/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4043 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed more internal state (`document.anonymous_refs` andwiemann2005-10-111-0/+30
| | | | | | | `document.anonymous_targets`) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3939 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* disallow anonymous hyperlink references and auto-numbered footnoteswiemann2005-10-111-4/+7
| | | | | | inside of substitution definitions git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3937 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added Node.deepcopy(); fixed bug with doubly-indirect substitutionswiemann2005-10-111-45/+43
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3935 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* disallow targets inside substitution definitionswiemann2005-10-111-0/+24
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3933 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added ``serial_escape`` function; escapes string values that are elements of ↵goodger2005-10-028-80/+80
| | | | | | 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@3915 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for "class" directive content.goodger2005-09-291-0/+24
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3912 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added support for specifying runtime settings at the suite levelgoodger2005-09-151-5/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3879 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* added writer_aux module containing Compound transform,wiemann2005-09-111-0/+57
| | | | | | which flattens the compound paragraph structure git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3872 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* replaced node.parent.replace(node, new) constructs with node.substitute(new)wiemann2005-09-112-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3870 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* fixed image target test in test_transforms/test_hyperlinks.pywiemann2005-08-241-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3831 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* restored a bug (removed in r3807) which lingers; added a commented-out test ↵goodger2005-08-151-0/+45
| | | | | | case for said bug; removed a bogus bug git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed bug with indirect substitutions; seems to be fixedwiemann2005-08-141-0/+25
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3807 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* renamed universal.FinalChecks to references.DanglingReferences;wiemann2005-07-052-81/+48
| | | | | | changed priority to 680 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3659 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved expose_internals logic out of FinalChecks into awiemann2005-07-052-1/+42
| | | | | | separate transform, universal.ExposeInternals git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3658 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* moved transition transform logic from universal.FinalChecks towiemann2005-07-052-282/+308
| | | | | | a separate transform, misc.Transitions git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3657 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* removed document.internal_targets and document.external_targets;wiemann2005-06-291-0/+18
| | | | | | fixed bug (not sure yet if the code is clean -- needs refactoring) git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3637 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* move metadata title into document['title']wiemann2005-06-291-9/+11
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3621 929543f6-e4f2-0310-98a6-ba3bd3dd1d04