summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sgmlconv
Commit message (Collapse)AuthorAgeFilesLines
* Mark <verbatim> elements that represent interactive sessions; theseFred Drake1999-02-181-0/+11
| | | | become <interpreter-session> elements.
* Minor adjustments to reflect esis2sgml.py changes.Fred Drake1999-02-181-1/+2
| | | | Added "esis" target to only generate the ESIS data.
* Some adjustments, mostly to make it more general.Fred Drake1999-02-181-21/+97
|
* Use a common definition for $(SUBMAKE) instead of repeating everythingFred Drake1999-02-151-19/+16
| | | | all over the place.
* Updated comments on version of XML package needed.Fred Drake1999-01-291-1/+2
|
* Added support to handle \versionadded in a reasonable way.Fred Drake1999-01-291-9/+19
|
* Be a little smarter on some attribute values, making an assumption aboutFred Drake1999-01-291-1/+4
| | | | the DTD.
* fixup_descriptors(): Change the way we look for descriptor nodes;Fred Drake1999-01-291-4/+15
| | | | | this takes 5 minutes off the conversion of the whole tree by reducing the number of tree-traversals from 14 to 1.
* Added the Doc/sgml/ directory to the tarball.Fred Drake1999-01-291-1/+1
|
* Rewrite code that converts the little descriptor environments to buildFred Drake1999-01-291-53/+114
| | | | | the right <signature>s and <description>. This seems to work a lot better now!
* Added table entries for \funcline and \funclineni.Fred Drake1999-01-291-0/+2
|
* Convert <version> to &version;.Fred Drake1999-01-291-0/+2
|
* Update the docstring.Fred Drake1999-01-281-101/+159
| | | | | | | | | | | | | | Lots of changes to get the paragraph marking to work, and not go into an infinite recursion. Start to rationalize markup of method signatures; not complete. find_all_elements(): similar to getElementsByTagName(), but operates on the not-quite-legal fragments we deal with here. Simplifies several individual transforms. fixup_sectionauthors(): Convert \sectionauthor items to <author> just after the <section>'s <title>.
* Added table entries for \methodline, \methodlineni.Fred Drake1999-01-281-0/+2
|
* Constructor arguments for classes should be called <args>.Fred Drake1999-01-281-1/+1
|
* 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".
* Modified the "sgml" and "xml" targets to stop if the sub-makes fail inFred Drake1999-01-201-3/+22
| | | | | | | | any subdirectory; don't continue with remaining subdirs. Added "api", "ext", "lib", "mac", "ref", and "tut" targets to only do submakes in those directories. This is just a lot easier to use than to cd into the subdir and use make.rules directly.
* create_module_info(): If there's a \moduleauthor, move it to anFred Drake1999-01-191-20/+18
| | | | | | <author> inside the <moduleinfo> element. Fix problems with paragraph identification.
* 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
|