summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sgmlconv
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* handle_labels(): Fix problem for document fragments containing moreFred Drake1999-01-191-12/+14
| | | | | | than one "root" that prevented all the <label id=...> items from being promoted to id attributes on the enclosing chapter/ section/... properly.
* convert(): Change the element name remapping to convert <refmodule>Fred Drake1999-01-191-0/+1
| | | | to <module link>.
* format_attrs(): Attempt a bit more minimization for SGML output.Fred Drake1999-01-191-4/+22
|
* Add a "tarball" target.Fred Drake1999-01-141-0/+3
|
* Adjust so that we are no longer using special entities for well-knownFred Drake1999-01-141-19/+21
| | | | names. These are too much of a pain for occaissional authors.
* Shorten the name of the <rfc> "number" attribute to "num".Fred Drake1999-01-141-1/+1
|
* Make <rfc> no longer an empty element but a container. The textFred Drake1999-01-141-0/+44
| | | | | | | | | | | | currently generated by the LaTeX and LaTeX2HTML processes is generated here as well, making it more flexible in the SGML version. Reduce the <args> element so that <optional> goes away; just use square brackets to indicate what's optional. This makes it easier to read than the LaTeX, and the processor can do any checking it needs to in order to make sure it's legit. Possible shortcoming: DSSSL processors may need more explicit markup. Can probably hack around it for this case, but we'll see.
* Several new functions to re-write tables to be at least partlyFred Drake1999-01-141-0/+112
| | | | | conformant with the OASIS Exchange model. There's a little more massage left to do, but not much.
* Added clean and clobber targets.Fred Drake1999-01-142-0/+19
|
* "Driver" makefile to convert all documents to SGML or XML at once.Fred Drake1999-01-141-0/+29
|
* Add usage of the "driver" Makefile.Fred Drake1999-01-141-2/+8
|
* Elaborate a comment on the format of the table that drives theFred Drake1999-01-141-1/+5
| | | | conversion.
* Adjustments to allow elements with subelements as parameters. This isFred Drake1999-01-141-95/+145
| | | | | | | | | 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.
* Escape special characters on output.Fred Drake1999-01-141-2/+4
|
* convert(): Make sure no line has trailing whitespace. (docfixer.pyFred Drake1999-01-071-3/+5
| | | | | checks for \n\n as a paragraph separator, LaTeX allows white space between the newlines.)
* Preliminary code to mark paragraphs. Seems to work, but very slow.Fred Drake1999-01-061-2/+150
|
* create_module_info(): New function: Modify a <section> to create aFred Drake1998-12-101-13/+99
| | | | | | | | | <moduleinfo> element based on various meta information, and strip some cruftiness. This is more usable for information extraction, and organizes the information more clearly. cleanup_synopses(): Rewrite to use create_module_info(), so this will work with multi-rooted "documents".
* 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.
* Added a transform to start cleaning up the modulesynopsis stuff aFred Drake1998-12-101-0/+17
| | | | little; more thinking is needed about what we really want.
* Handle SGML variant as well as XML variant. SGML is *much* moreFred Drake1998-12-101-0/+12
| | | | likely to be used.
* General comments on what's here and how to try it out. NoteFred Drake1998-12-021-0/+23
| | | | dependence on the XML package.
* Support conversions to both SGML and XML; SGML is the "default".Fred Drake1998-12-011-14/+20
| | | | Add dependency on esistools.py for the ESIS intermediate files.
* Use esistools.Fred Drake1998-12-011-29/+25
| | | | Lots of changes to the conversion table.
* Use esistools.Fred Drake1998-12-011-15/+66
| | | | | Generate ESIS data instead of XML. Misc. changes to some transforms.
* Use esistools, getopt.Fred Drake1998-12-011-31/+27
|
* Utility functions and misc. classes used in handling ESIS data.Fred Drake1998-12-011-0/+80
|
* Remove $(CUTCRUFT) garbage; now in fixgenents.sh.Fred Drake1998-11-301-6/+8
| | | | | Separate ESIS generation from XML generation. This will evolve a bit more in a couple of days.
* Move nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean upFred Drake1998-11-301-1/+4
| | | | make.rules.
* Several small adjustments.Fred Drake1998-11-301-60/+88
|
* Handle output of \geq and \leq.Fred Drake1998-11-301-0/+2
|
* Do the right stuff to convert what was originally \e, \ldots, and ---Fred Drake1998-11-251-0/+3
| | | | in the LaTeX sources.
* Supplemental rules to convert a .tex file to a .xml file. Both XML andFred Drake1998-11-241-0/+29
| | | | | SGML will be supported soon, probably using an ESIS representation saved in a temp file.
* Script to convert things like <C/> and <Cpp/> to &C; and &Cpp;. This isFred Drake1998-11-241-0/+25
| | | | something that con't be done with the DOM as far as I can tell.
* The & character is also escaped using \.Fred Drake1998-11-231-1/+1
|
* Add some additional cleanup transformations.Fred Drake1998-11-231-0/+67
|
* Fix comment regex so we don't screw up structured comments withFred Drake1998-11-231-1/+1
| | | | different internal indentation levels.
* Script to squirrel around with the DOM tree of document fragments from theFred Drake1998-11-231-0/+193
| | | | | | | LaTeX-based ESIS streams to be a little better structured, and generally perform clean-up. Preliminary.
* Moved into tools/sgmlconv/.Fred Drake1998-11-232-0/+468