| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
characters; these are the ones for the buffer interface.
|
|
|
|
|
| |
Add a new section describing what each of the tools does, in general
terms.
|
|
|
|
| |
references directly.
|
| |
|
| |
|
|
|
|
|
|
| |
\leq --> ≤
\LaTeX --> LaTeX (just text)
\TeX --> TeX (just text)
|
|
|
|
|
|
|
| |
(must be named in the conversion spec.).
TableParser.start_entityref(): New method. Use to support creating
entity references via the conversion specification.
|
| |
|
|
|
|
| |
silently ignore unrecognized lines.
|
| |
|
|
|
|
| |
pass can be used if needed. By Dan Wolfe <wolfeman@apple.com>.
|
|
|
|
| |
Dan Wolfe <wolfeman@apple.com>.
|
|
|
|
| |
Minor markup nits.
|
| |
|
|
|
|
|
|
| |
Py_eval_input, Py_file_input, and Py_single_input.
Problems reported by Aaron Brancotti <aaron@icona.it>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<description> elements. Add another sanity
check to make sure a special case only becomes
involved for <opcodedesc> and <opcodedescni>
elements.
fixup_paras_helper(): Clean up control flow.
Everywhere that checks node.nodeType==ELEMENT and node.tagName now
just check node.nodeName (nodeName is guaranteed for all node types
and will be special values that don't conflict with GIs for
non-ELEMENT nodes). Simplifies a number of tests and improves
readability in a lot of places.
|
| |
|
| |
|
| |
|
|
|
|
| |
waitpid().
|
|
|
|
| |
raised. Prompted by Barry's whining. ;-0
|
|
|
|
|
|
|
| |
buffer size, I/O
I/O control, buffering
line-buffered I/O
unbuffered I/O
|
| |
|
| |
|
|
|
|
| |
Greg Stein: Please help with this; it's your baby!
|
|
|
|
| |
names, some suggested by Joe Ellsworth.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
engine in latex2esis.py can do, so discard it.
paragraph detection & markup: Handle some of the list-like
environments properly, picking up paragraphs inside
list items. (Only changed a few element-sets used for
recognition.)
fixup_refmodindexes_chunk(): Use the right attribute to determine the
module a <ref*modindex/> element is referring to.
convert(): Don't call remap_element_names(); it was removed.
|
|
|
|
| |
the old one, so use it.
|
|
|
|
| |
great purpose.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
with a more descriptive name.
Allow creation of multiple archive formats with a single pass; useful
in this case since it uses a fresh export/checkout from CVS to ensure
that the tree is "clean" (no build turds, saved files, &c). Use --all
to create all supported formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
same as sys.stderr.write(), but bwrite() will make it
bold if stderr is a tty (for visibility).
Use these everywhere instead of accessing
sys.stderr.write() directly.
find_all_child_elements(): Find all elements by type name that are
immediate children of another.
cleanup_synopses(): Receive both the document and fragment objects as
parameters; if only the document is passed, synopsis
information is never found since it's in the fragment!
build_para(): Add a chunk of code to ensure that a newline always
follows the </para> end-tag. Not really important, but
makes presentation consistent for authoring/
maintenance.
fixup_bifuncindexes_chunk(): Use find_all_child_elements() instead of
find_all_elements() so we don't work with too many
levels at once; that could cause DOM exceptions with
the <elem>.removeChild() method.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
simplify.
|
| |
|
|
|
|
|
| |
Adjust examples to use the object interface instead of the function
interface.
|
|
|
|
| |
error reported by Dale Nagata <DNagata@creo.com>.
|
| |
|
|
|
|
| |
very interesting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
implementing it all here.
|
| |
|
|
|
|
|
| |
The specific markup conversion is coded here instead of an even more
cryptic table in the code of latex2esis.py.
|
| |
|
|
|
|
|
|
|
| |
new markup makes sense in context).
These allow the SGML/XML conversion updates to work, & should not have
still been in there anyway.
|
|
|
|
|
| |
New target: distfiles, create all distribution archives, regardless of
archive format. (Individual targets remain for each archive format.)
|
| |
|