summaryrefslogtreecommitdiff
path: root/docutils
Commit message (Collapse)AuthorAgeFilesLines
* Change to 0.15 finaldocutils-0.15@8267grubert2019-07-201-5/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8267 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* set version 0.15rc1.devgrubert2019-07-201-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8263 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: sys.version_info on 2.6 is tuple.grubert2019-07-181-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8260 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small formatting fix.milde2019-06-251-1/+1
| | | | | | Thanks to Dmitry Shachnev for reporting. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8258 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply [ 152 ] reset `default role` at end of document.milde2019-06-242-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8257 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Escape backslash in string to avoid error with new Py3.milde2019-05-131-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8256 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix #362: String escape missing in LaTeX writer.milde2019-05-091-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8255 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply feature request 63 (support anchors in rfc role).milde2019-04-151-2/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8254 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.milde2019-04-153-0/+173
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8253 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply patch #148: Remove handlers for deprecated nodes from LaTeX writer.milde2019-03-122-15/+0
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8251 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Stylistic changes to increase conformance to pep8 and flake8dkuhlman2019-02-211-510/+608
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8250 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Added Gilles fix -- missing clause for Python 3 mapping custom styles and ↵dkuhlman2019-02-121-1/+3
| | | | | | formats git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8249 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Converted odf_odt for compatibility with both Python 2 and Python3dkuhlman2019-02-121-36/+45
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8248 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix spelling errors (patch #149).milde2019-02-121-2/+2
| | | | | | Originally submitted by You-Sheng Yang in Debian. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8247 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply #356: Add Node.astext() as an abstract super method.milde2019-02-121-1/+5
| | | | | | Patch by Takeshi KOMIYA. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8246 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix bug #358: Non-breaking space removed from fixed-width literal.milde2019-02-121-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8244 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix ticket [ patches/147 ] code duplication.milde2018-11-291-5/+2
| | | | | | Thanks to Takeshi KOMIYA for reporting the issue. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8242 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix patches/146 Import ContentHandler class correctly.milde2018-11-211-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8240 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove legacy compatibility defs for versions < 2.5.milde2018-11-216-12/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8239 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix #352 The docstring of Transformer class is wrong.milde2018-11-211-2/+3
| | | | | | Thanks to Takeshi KOMIYA for report and patch. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8238 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 351 ] The docstring of Reader class is wrong.milde2018-11-211-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8237 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Definition list terms must not use "rawsource" attribute for escaping.milde2018-11-211-4/+3
| | | | | | | | | | Remove implementation of escaping the classifier delimiter in definition list terms that relies on the "rawsource" attribute. This is not safe (rawsource is only for information and debugging purposes). A proper fix can be done with null-escaped text in Text nodes. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8236 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Revert the fix for backslash escaping in transforms.milde2018-11-213-53/+48
| | | | | | | | | Still waiting for review. Reverts last three commits from a local "feature branch" unintentionally applied to trunk with `git svn`. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8235 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* smartquotes: Use single backslashes for escaping.milde2018-11-201-10/+11
| | | | | | | | Let the smartquote transform take advantage of the representation of escaping backslashes in the doctree as null characters. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8234 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Do not unescape text when generating Text nodes.milde2018-11-202-38/+42
| | | | | | | Store the null-escaped text in the doctree and unescape on export. Enables transforms to account for escaped markup. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8233 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Unescape null-escaped content in nodes.Text.astext().milde2018-11-201-1/+3
| | | | | | | Enables the use of null-escaped source in Text nodes. The escaping can then be used in transforms acting on the doctree. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8232 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* DocInfo transform must not use "rawsource" attribute for escaping.milde2018-11-204-25/+12
| | | | | | | | | | | Remove implementation of escaping author-separators in bibliographic fields that relies on the "rawsource" attribute. This is not safe (rawsource is only for information and debugging purposes). A proper fix can be done with null-escaped text in the doctree. C.f. https://sourceforge.net/p/docutils/bugs/_discuss/thread/c8f86be6/74ed/attachment/null-escape-in-doctree2.patch git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8231 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix tab-with in `include` directive with `code` option.milde2018-11-202-1/+8
| | | | | | | | Don't convert tabs to spaces, if `tab_width` is negative. Add a fallback for LaTeX. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8230 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* HTML5 styling: grey out margins left/rigth of the document text area.milde2018-11-201-2/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8229 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been ↵grubert2018-09-091-2/+3
| | | | | | deprecated (thanks to hugovk). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8228 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Change Test.term prefer if over trygrubert2018-07-131-4/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8226 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: definition list term classifier starting with a reference crash.grubert2018-07-121-1/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8224 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply Patch [ 142 ] (source attribute for literal blocks).milde2018-06-051-1/+2
| | | | | | Thanks to Takeshi KOMIYA. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8219 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* latex writer: fix fallback definition of \DUroles macro.milde2018-06-051-4/+8
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8218 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Html5 writer: Correctly sort docinfo and subtitle into "parts" dict.milde2018-06-051-2/+6
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8217 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Tweak CSS styles for HTML5 writer.milde2018-06-052-14/+7
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8216 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix #340 Call to class method without specifying class instance.milde2018-01-251-1/+1
| | | | | | Thanks to Alexey Ovcharov. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8215 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Drop empty lines in Text.pformat() and revert [r8194].milde2018-01-191-11/+7
| | | | | | | Keep "rawsource" attribute untouched in Text.rstrip() and Text.lstrip(). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8214 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix code_analyzer problem under Python 3.3.milde2018-01-161-1/+6
| | | | | | | Handle pkg_resources.DistributionNotFound error raised by pygments if no lexer can be found for a "code" role or directive. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8213 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 251 ] system_message.copy() TypeError. Fix nodes.Element.copy()milde2018-01-161-4/+16
| | | | | | | | | Avoid clash with multiple values for keyword argument "rawsource". Let nodes.Element.copy() also copy "document", "line", and "source" attributes. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8212 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Remove flag to re.sub (not required and unsupported in 2.6).milde2018-01-141-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8211 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix #338: re.sub() flag argument at wrong position.milde2018-01-081-1/+1
| | | | | | Thanks to Jakub Wilk for reporting. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8209 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix error reporting in wrapper for external tex2mathml converters.milde2018-01-041-9/+8
| | | | | | Thanks to Alan Isaac for reporting. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8208 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add tagname to "illegal element" substitution definition error message.milde2017-12-181-3/+4
| | | | | | | Be a bit more verbose when detecting nodes that are disallowed inside substitution definitions. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8206 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add "rawsource" to reference text derived from embedded URI or alias.milde2017-11-081-3/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8204 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Apply patch by Engelbert Gruber to fix encoding problem under Py3.6 on Windows.milde2017-11-081-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8203 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Minor documentation update: smartquotes is still experimental.milde2017-11-081-5/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8202 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Ignore backslash-escaped separators when extracting authors from a paragraph.milde2017-11-041-6/+18
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8198 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* "rawsource" attribute for text of inline elements and definition list terms.milde2017-11-042-12/+31
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8197 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Ensure `rawsource` in "unicode" directive.milde2017-11-041-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8196 929543f6-e4f2-0310-98a6-ba3bd3dd1d04