| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
(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
|
| |
|
|
|
|
| |
From SF patch #852334.
|
|
|
|
|
| |
types.StringType, inherit from list instead of
UserList.
|
|
|
|
|
| |
is not already present. If it is, raise an exception, since that should not
happen in a well-defined conversion.
|
| |
|
| |
|
|
|
|
| |
break the processor; this will do the right thing.
|
|
|
|
| |
(string.join() lives!)
|
| |
|
|
|
|
|
| |
LaTeX and we have at least one occurance of that in the content, so this
script needs to support it as well.
|
|
|
|
|
|
| |
(broken) version.
Remove Conversion.err_write() -- use dbgmsg() consistently.
|
| |
|
|
|
|
|
|
| |
Add support for some combining characters.
Remove unnecessary imports and dependencies on PyXML and esistools.
|
|
|
|
|
|
|
| |
(must be named in the conversion spec.).
TableParser.start_entityref(): New method. Use to support creating
entity references via the conversion specification.
|
|
|
|
|
|
|
|
|
| |
Removed some obsolete commented-out code.
Merged BaseConversion into Conversion since there's only one
conversion process now.
Remove push/pop of output stream; it's no longer needed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Separate the Conversion class into a base and a subclass; the subclass
is pretty minimal but the separation is useful for....
NewConversion: New class that implements a somewhat different
approach to the conversion. This uses a table of
instances (rather than tuples) that have more
information than the tuples used for the older
conversion procedure. This allows a lot more control
over the conversion, and it seems to be pretty
stable.
TableEntry,
Parameter: New classes that are used to build the conversion
specification used by NewConversion.
TableParser: xmllib.XMLParser subclass that builds a conversion
specification from an XML document.
load_table(): Convenience function that loads a table from a file.
main(): Added flags --new and --old; these select which conversion is
used. The default is --new.
Several fixes have been made in the old conversion as well; these were
done before writing & switching to the new conversion, and should be
archived.
The next checkin of this file will discard the old conversion; is is
kept in this checkin to allow it to be retrieved if needed, and to
avoid lossing the bugfixes that have been made to it in the interim.
|
|
|
|
|
|
| |
_begin_macro_rx: Fixed RE that didn't properly allow a space after
the name of the macro. This affects the conversion
of the tutorial.
|
|
|
|
| |
Add controls for some of the esoteric indexing macros.
|
| |
|
|
|
|
| |
least there's a token object in here now! ;-)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
conversion.
|
|
|
|
|
|
|
|
|
| |
used to deal with the table headings and entries.
An additional flag in the element table is used to indicate elements
which have no "general" content, but which do have subelement
content. These must be flagged distinctly from empty elements.
Currently used for \lineii, \lineiii, and \lineiv.
|
|
|
|
|
| |
checks for \n\n as a paragraph separator, LaTeX allows white
space between the newlines.)
|
|
|
|
| |
Lots of changes to the conversion table.
|
| |
|
| |
|
|
|
|
| |
different internal indentation levels.
|
|
|