summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sgmlconv/esis2sgml.py
Commit message (Collapse)AuthorAgeFilesLines
* Delete the LaTeX doc tree.Georg Brandl2007-08-151-263/+0
|
* Run 2to3 over Doc/tools/.Collin Winter2007-03-211-5/+3
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-1/+2
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Use string methods. Re-organize imports to Python Normal Form.Fred Drake2002-10-161-3/+4
|
* Convert most uses of the string module to string methods.Fred Drake2001-09-281-9/+9
| | | | (string.join() lives!)
* Remove the annoying __version__ definitions.Fred Drake2001-03-231-2/+0
|
* Pick the "escape" function from the standard library instead of from PyXML.Fred Drake2001-03-231-1/+1
|
* convert(): Add support for ESIS '&' lines, and make sure we don'tFred Drake1999-08-261-0/+5
| | | | silently ignore unrecognized lines.
* Some minor cleanup.Fred Drake1999-07-291-20/+18
|
* Modify to perform "---" to "—" conversion outside ofFred Drake1999-05-181-7/+16
| | | | | verbatim-like environments. The list of verbatim-like environments is a defined by a variable in main().
* Some adjustments, mostly to make it more general.Fred Drake1999-02-181-21/+97
|
* Be a little smarter on some attribute values, making an assumption aboutFred Drake1999-01-291-1/+4
| | | | the DTD.
* Add "term" to AUTOCLOSE.Fred Drake1999-01-221-1/+1
|
* convert(): Added parameter "autoclose", which should be a sequence ofFred Drake1999-01-201-8/+19
| | | | | | | | | | | | | | general identifiers for which closing tags will be omitted when SGML is generated. This can be used to tell the markup generator to drop stuff like </para>. Note that it needs to be possible for the closing tag to *always* be omitted for it to be included in "autoclose". main(): Added command-line option "-a" / "--autoclose" to set the list of general identifiers passed to the convert() function as the "autoclose" parameter. The list may only be specified once (not additive) and GIs should be comma-separated. The default list includes only "para".
* isnmtoken(), istoken(): Fix to ensure the regex has to match theFred Drake1999-01-191-2/+17
| | | | | | | entire attribute value. Add ability to save list of "empty" elements to a file -- enabled by constant in the code.
* format_attrs(): Attempt a bit more minimization for SGML output.Fred Drake1999-01-191-4/+22
|
* Escape special characters on output.Fred Drake1999-01-141-2/+4
|
* Don't pass around a list of known empty elements, since the ESISFred Drake1998-12-101-5/+6
| | | | contains "e" events for them. This wasn't used anyway.
* Use esistools, getopt.Fred Drake1998-12-011-31/+27
|
* Moved into tools/sgmlconv/.Fred Drake1998-11-231-0/+131