summaryrefslogtreecommitdiff
path: root/docutils/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add contributed patch for danish smartquotes.milde2013-08-211-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7716 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Consistently use "utf-8" (not "utf8") in magic comment giving source encoding.milde2013-06-046-8/+8
| | | | | | | 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/docutils@7668 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Exclude "wide" characters from the "delimiters" regexp in "narrow" builds.milde2013-05-311-15/+46
| | | | | | Fixes sre_constants.error: bad character range git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7665 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Literal definition of character sets with backslash escapes instead of utf8.milde2013-04-281-34/+126
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7655 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix for changes in 7650.milde2013-04-221-59/+61
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7651 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Re-calculate only if run as stand-alone module. Add verbose test output.milde2013-04-221-130/+149
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7650 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Small fixes to math-output=HTML.milde2013-03-021-8/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7619 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* New setting `stylesheet_dirs`.milde2013-03-021-2/+22
| | | | | | | | | | | | | | | | Comma-separated list of directories where stylesheets are found. Used by `stylesheet_path` when expanding relative path arguments. Now, it is easy to add a custom stylesheet to Docutils default stylesheet with, e.g., --stylesheet_path="html4css1.css, mystyle.css" Changed behaviour of the default settings: if there is a file "html4css1.css" in the working directory of the process at launch, it is used instead of the one provided by Docutils in the writer source directory. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7618 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add Estonian typographic quotes.milde2013-01-171-6/+10
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7590 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* smartquotes: Skip emtpy text tokens without updating the last character.milde2013-01-041-4/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7585 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 3596884 ] exception importing ``docutils.io``.milde2012-12-271-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7578 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* smartquotes: non-breaking spaces for french quotes, LaTeX character conversion.milde2012-12-121-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7544 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* SmartQuotes transform: language-depended quote characters.milde2012-11-261-81/+157
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7540 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* normalize_language_tag() now returns `BCP 47`_ conformant tagsmilde2012-11-231-9/+10
| | | | | | Subtags separated by ``-``, not ``_``. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7538 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Smartquotes: correct "educating" of quotes around inline markup.milde2012-11-181-196/+188
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7537 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add SmartQuotes transform for typographic quotes and dashes.milde2012-10-161-0/+830
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7530 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Use validate_comma_separated_string_list for stylesheet setting.milde2012-10-121-8/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7527 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* SafeString._str__ must not return a binary string with Python 3.x.milde2012-08-241-1/+5
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7502 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* math, error_reporting, and urischemes moved to the utils package. milde2012-06-258-1/+7655
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7464 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Drop support for Python 2.3.milde2012-06-221-3/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7463 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Add py23 commentgrubert2012-05-011-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7401 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix: list comprehension for python 2.3 requires brackettsgrubert2012-04-291-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7397 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix relative_path() with source=None and `unicode` target.milde2012-02-031-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7338 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Cleanup: Use True/False for boolean valuesmilde2012-01-191-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7320 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Store source and line in the "raw" node generated by raw-derived roles.milde2012-01-061-1/+1
| | | | | | | This is already done for nodes generated by raw directives and required for error reporting by writers. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7308 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* Fix [ 2971827 ] and [ 3442827 ]milde2011-12-201-0/+81
| | | | | | extras/roman.py moved to docutils/utils/roman.py git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7268 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
* docutils.utils is now a package (providing a place for sub-modules)milde2011-12-203-0/+1075
important:: docutils/math, docutils/error_reporting.py, and docutils/urischemes.py will move to the utils package in the next release, too. Code importing these modules needs to adapt. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7267 929543f6-e4f2-0310-98a6-ba3bd3dd1d04