summaryrefslogtreecommitdiffstats
path: root/Doc/tools
Commit message (Collapse)AuthorAgeFilesLines
* Martin von Loewis <loewis@informatik.hu-berlin.de>:Fred Drake2000-07-011-1/+1
| | | | Correct typo that caused a well-formedness failure.
* Removed --l2h-config option; it introduced unnecessary complexity andFred Drake2000-06-291-10/+1
| | | | is not needed anywhere.
* Remove unused "import curses".Guido van Rossum2000-05-241-1/+0
|
* Added the Distutils manuals.Greg Ward2000-04-281-0/+2
|
* If the refcount field is "null", that's ok; the value will be None.Fred Drake2000-04-101-1/+3
|
* For functions which return a PyObject* but use "null" for theFred Drake2000-04-101-1/+5
| | | | | | reference count field, state that the return value is always NULL. (Useful for some PyErr_*() flavors.)
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-038-13/+57
|
* Added --numeric option, similar to mkhtml.sh.Fred Drake2000-03-311-2/+7
|
* Script to annotate api.tex with reference count information.Fred Drake2000-03-151-0/+63
|
* Script to help locate markup that LaTeX2HTML has a problem with.Fred Drake2000-02-211-0/+26
|
* Don't insert extra indentation before <title> elements.Fred Drake2000-01-201-12/+12
|
* rewrite_descriptor(): Fixup conversion of arguments (simpler).Fred Drake1999-11-231-12/+35
| | | | | | | | join_adjacent_elements(): Hack to merge adjacent instances of <option>; the source \programopt with GNU-style long options created problems with LaTeX2HTML; this removes the evil workaround, which should never be necessary from structured documents(!).
* Don't rename \var to <varname>; DocBook is too verbose here.Fred Drake1999-11-231-4/+9
| | | | | | | | Do adopt DocBook's <command>, <option>, <envar> names for \program, \programopt, \envvar. Add \filenq --> <filename quote="no"> (it has to go somewhere, at least for now).
* Added citetitle and programopt.Fred Drake1999-11-091-1/+8
| | | | | | Made var get renamed to varname (more like DocBook). Other names should probably be changed as well; still waiting for the DocBook book to arrive.
* Change the suggestions pointer at the bottom of generated HTML pages.Fred Drake1999-10-291-3/+3
|
* Module/script to parse the reference count data file and make theFred Drake1999-10-201-0/+95
| | | | | | | | | | information accessible to Python. When run as a script, just dumps the information back out in the data format, with functions in sorted order and a blank line between different functions. Still need to apply the information somehow.
* Added --about option to specify the file to load "About thisFred Drake1999-09-231-1/+8
| | | | document..." text from, defaulting to ../html/about.dat.
* Added --image-type option to allow use of either GIF or PNG images.Fred Drake1999-09-221-11/+38
| | | | | | | | | Job.warning(): New method; use this instead of writing to sys.stderr directly. Ensures warnings are also sent to the log file. Job.log(): New method; write a message to the log file. Use from .message() and .warning().
* Update the instructions slightly.Fred Drake1999-08-261-4/+44
| | | | | Add a new section describing what each of the tools does, in general terms.
* Removed; no longer needed now that the other tools can handle entityFred Drake1999-08-261-24/+0
| | | | references directly.
* feed(): Added support for ESIS '&' lines.Fred Drake1999-08-261-1/+4
|
* Remove use of fixgenents.sh; no longer needed.Fred Drake1999-08-261-5/+4
|
* Specify: \geq --> &geq;Fred Drake1999-08-261-4/+12
| | | | | | \leq --> &leq; \LaTeX --> LaTeX (just text) \TeX --> TeX (just text)
* Conversion.subconvert(): Added support for "entityref" parametersFred Drake1999-08-261-0/+7
| | | | | | | (must be named in the conversion spec.). TableParser.start_entityref(): New method. Use to support creating entity references via the conversion specification.
* write_esis(): Added support for ENTITY_REFERENCE nodes.Fred Drake1999-08-261-40/+44
|
* convert(): Add support for ESIS '&' lines, and make sure we don'tFred Drake1999-08-261-0/+5
| | | | silently ignore unrecognized lines.
* rewrite_descriptor(): Fix bug that dropped the first TEXT node fromFred Drake1999-08-201-45/+36
| | | | | | | | | | | | | | | <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.
* Re-write in Python for portability. About 30% slower, but who cares?!Fred Drake1999-08-031-26/+61
|
* remap_element_names(): Only used for things that the new conversionFred Drake1999-08-031-32/+6
| | | | | | | | | | | | | | 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 new conversion engine supports more of the table re-writing thanFred Drake1999-08-031-6/+9
| | | | the old one, so use it.
* Remove obsolete version of script.Fred Drake1999-08-021-84/+0
|
* Re-implementation of mktarball.sh as a more portable Python script;Fred Drake1999-08-021-0/+139
| | | | | | | | | 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.
* bwrite(), ewrite(): Helpers for diagnostic output; essentially theFred Drake1999-08-021-30/+61
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Mostly minor changes.Fred Drake1999-08-021-52/+23
| | | | | | | | | 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.
* This doesn't need to do nearly as much for the new conversion, soFred Drake1999-08-021-24/+0
| | | | simplify.
* A few small improvements to the conversion.Fred Drake1999-08-021-3/+7
|
* Ripped out the old conversion.Fred Drake1999-07-291-367/+7
|
* Added a few more passes through the document fragment. Not actuallyFred Drake1999-07-291-11/+126
| | | | very interesting.
* Massive changes.Fred Drake1999-07-291-38/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Minor updates.Fred Drake1999-07-291-4/+8
|
* Use the (new) buildFragment() method of the EsisBuilder rather thanFred Drake1999-07-291-15/+1
| | | | implementing it all here.
* Some minor cleanup.Fred Drake1999-07-291-20/+18
|
* Conversion specification, used by a new path through latex2esis.py.Fred Drake1999-07-291-0/+631
| | | | | The specific markup conversion is coded here instead of an even more cryptic table in the code of latex2esis.py.
* Minor update.Fred Drake1999-07-291-3/+6
|
* Add support for bzip2 using --bzip2.Fred Drake1999-07-271-4/+11
|
* Add --zip parameter; make this able to produce .zip files as well asFred Drake1999-07-231-3/+20
| | | | .tgz files.
* Make the default target xml instead of sgml.Fred Drake1999-07-221-2/+2
|
* Make the default target xml instead of sgml.Fred Drake1999-07-221-2/+4
| | | | | | Use a temporary file to pass results from latex2esis.py to docfixer.py; this makes for better error detection by make (if the first pipeline stage fails, make wasn't catching it).
* When looking for things that might be modules, include *module.c fromFred Drake1999-06-171-1/+18
| | | | | the Modules/ directory. Most of the remaining undocumented modules seem to be living there.
* Enhanced docstring and some comments.Fred Drake1999-05-191-8/+21
| | | | | | _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.