Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://sgml-tools-1.0.9-12.tar.gz:1496812/sgml-tools-1.0.9.tar.gz  downloads

sgml-tools-1.0.9/ 40755   1010    764           0  6611717445  12035 5ustar  cgacritersgml-tools-1.0.9/.cvsignore100640   1010    764          57  6276046556  14075 0ustar  cgacriterconfig.log
Makefile
config.cache
config.status
sgml-tools-1.0.9/==MIGRATE==100644   1010    764        4125  6501054732  13522 0ustar  cgacriter$Id: ==MIGRATE==,v 1.1 1998/03/09 21:06:34 cg Exp $

*******************************************************************
SGML-Tools is going to chance, please read this document on every
version of SGML-Tools 1.0.x you install.
*******************************************************************


Check the website for details on the migration - the short version is
that we're going to drop the SGML-Tools DTD in favour of the more
widely established DocBook DTD. 

This will mean some work for authors, and in order to keep everybody
informed this file has been created for keeping you up-to-date.

Resume of migration path as it currently stands:

o At the moment, SGML-Tools 1.0.x is the productive version. People should
  upgrade from Linuxdoc-SGML and older SGML-Tools versions to this release
  in order to make sure that their documents are compatible
  with the current DTD;
o We're now starting SGML-Tools 1.1 development, which will be a hacker
  version. Later versions will likely be stable enough to give early
  adopters an early transition chance; 
o Hopefully 98Q3, SGML-Tools 2.0 will be released. This version will not
  support linuxdoc.dtd anymore, but will have an automated conversion
  tool from linuxdoc.dtd to DocBook. Authors should use 2.0 in order
  to migrate their documents;
o 6 months after SGML-Tools 2.0 release, support for SGML-Tools 1.0 
  will be dropped. LDP authors should have converted their documents
  by then; the SGML-Tools team will consider linuxdoc.dtd obsolete
  from then on.

Currently available tools for early adopters:

o SGML-Tools 1.1.0 is a collection of two alternative tools we can base
  on. On the one hand, there is Quilt with it's own (Perl-based) style
  sheets, on the other hand a collection of Cygnus-modified standard
  DSSSL stylesheets. If you really insist, I figure that you could
  actually use this.

o Paul Prescod (see SGML-Tools website for a reference) has a conversion
  DSSSL stylesheet that translates your LinuxDoc documents to DocBook. The
  output is ugly, though. This stylesheet will also be available in
  SGML-Tools 1.1.1, if  you're lazy.

sgml-tools-1.0.9/BUGS100640   1010    764        2432  6432422065  12602 0ustar  cgacriter$Id: BUGS,v 1.9 1997/11/12 21:48:37 cg Exp $

Encoding: 
- Bug (somebody reported it)
* Worked on (somebody took ownership)
! Testing (it's in the source tree, test it!)
+ Completed (testing went fine)
? Long-standing (is this still a bug ?)

============================================
? fix -man so it'll work for latin1, too 

- <tscreen><verb> doesn't keep indentation with sgml2txt (reported by
  Martin Michlmayr <tbm@cyrius.com> on 09-Feb-1997).

  (CdG - tscreen and verb are being replaced in sgmltool.dtd)

- (UW) sgml2txt produces a lot of
  "general entity .. not defined and no default entity"
  "warning: numeric expression expected (got `T')",
  "warning: `[' not defined", "escape character ignored before `T'",
  "warning: indent cannot be negative", "can't find special character `AN'",
  "normal or special character expected (got a space)",
  "warning: `..' not defined"
  Despite of that errors the exit code is 0 (zero).

  (ESR - I can't reproduce this with 0.99.19 on any of my four HOWTOs. 
  Perhaps it's gone away?)

- (UW) sgml2info produces several error messages:
	Making info file `manual.info' from `/tmp/sgmltmp.manual3318.4'.
	/tmp/sgmltmp.manual3318.4:11: Misplaced `{'.
  With the source line "Why Not Just Use {\LaTeX}?" I guess the braces are not
  handled properly.
sgml-tools-1.0.9/CHANGES100640   1010    764       11625  6611717111  13134 0ustar  cgacriter--- CHANGES FOR sgml-tools-1.0.9 (16 October 1998):

* Committed missing replacement for GROFFMACRO. (CdG)

--- CHANGES FOR sgml-tools-1.0.8 (13 October 1998):

* Clean up catalog file. (CdG)

* Regenerated documentation. (CdG)

* More precise scanning for fmt_*.pl, so that fmt_bla.pl.orig isn't seen
  as a module. (CdG)

* Allow --define=x=y. (IWM)

* Don't ignore pass data. (IWM)

* Fix some small typo's in manpages. (CdG)

* Fix [] withing <tag>. (HN)

* Fix missing definition of off_t under HP/UX. (MG)

* Make sure SGMLtools v1.0 and SGMLtools v2.0 can coexist by renaming
  'sgmltools' executable. (CdG)

* Add bindir to $PATH when generating documentation. (CdG)

* Fix to groff macro-detection code. (JE2)

* Let autoconf find out whether to use -ms or -mgs for groff. (JE2)

--- CHANGES FOR sgml-tools-1.0.7 (26 June 1998):

* Regenerated all documentation. (CdG)

* Add doc generation build rules. (NJ)

* Add (La)TeX logos. (NJ)

* Make sure LaTeX uses T1 encoding. (NJ)

* Add symbols as they're mentioned in the user guide. (NJ)

* Doc fixes: examples and pointers to the mailing list. (NJ)

* Added missing chapters of HTML version of SGML-Tools guide. (CdG)

* Remove generation target before cat'ing to it. Works better when target
  is a link or symlink. (HN)

* Romanian language support. (FB)

* Better mapping for <htmlurl> to LaTeX2e. (HN)

* Famous last words: temporary file removal is now bugfree. (CdG)

--- CHANGES FOR sgml-tools-1.0.6 (7 April 1998):

* More sensible code to handle subpackages. (AB)

* Cleanups to documentation files. (AB)

* Updated version info in guide. (CdG)

* Fix line breaks between numbers and text in some section headings in
  sgml2txt. (NJ)

* Corrected "isoent" entity reference in DTD. (CdG)

* Added META GENERATOR tag to HTML output. (CdG)

* Removed second declaration of "$dir". (CdG)

* Removed sgmltool.dtd. (CdG)

* Added a file that details the 1.0 -> 2.0 migration path. (CdG)

* Treat ID attributes the same way as URL attributes. (CdG)

--- CHANGES FOR sgml-tools-1.0.5 (3 March 1998):

* Replace char-entities by their 8859-1 equivalents in the translation
  tables. (NJ)

  [Note: this is a dirty patch to a problematic bug. I've accepted this
  one because it is quite likely that sgml-tools 1.0 will only support
  8859-1 as long as it is current, and version 2 will have to solve this
  problem the right way - CdG]

* Add babel to the list of packages included in the LaTeX output. (CdG)

* Fix temp file cleanup code. (SM2)

* Fix typo in Italian translation. (DS)

* Use DirHandle instead of csh globbing for filepattern stuff. (SM2)

--- CHANGES FOR sgml-tools-1.0.4 (11 February 1998):

* Removed version number from SP subdirectory name. (CdG)

* Cleanup of obsoleted files after sp-1.2.1 import. (CdG)

* Import of SP 1.2.1. (CdG)
		
* Final fix to PostScript output problems. (NJ)

* Correct PostScript output bug. (NJ)

* Danish language support. (NJ)

* Suppress <nidx> contents in HTML and .txt backends. (CdG)

* Small cleanups to makefile rules for sgmlpre. (SR)

* Split up long comment in LyX output. (JAM)

* Manpage didn't mention correct output format. (SR)

* Italian language support. (DS)

* Catalan language support. (MHP)

* Added note about GNU make. (CdG)

--- CHANGES FOR sgml-tools-1.0.3 (8 January 1998):

* Add empty line to catalog, it gave problems. (CdG)

* Portuguese support. (JAM)

* Removed obsoleted awk and sed scripts for LyX backend. (CdG)

* Major overhaul of LyX backend. (JAM)

* Added "invisible" index tags <nidx> and <ncdx>. (SM/CdG)

* Added <LINK..> tags at the top of the HTML output so you can navigate
  more conveniently in LINK-aware browsers. (LM2)

* Change &mu; to &micro; for HTML output. (MHP)

* Work-around for primitive Solaris and OSF/1 shells. (CdG)

* Removed @@formula/@@endformula placeholders, they aren't used anymore
  and showed through in the final HTML file. (CdG)

--- CHANGES FOR sgml-tools-1.0.2 (10 December 1997):

* Added correct dimensions to "a4" paper size reference on manpage. (CdG)

* Added html32.dtd (with a modified reference to ISOent) and updated
  catalog accordingly. You can now do sgmlcheck on HTML files. (CdG)

* Added swedish. (CdG)

* Add check for Perl 5.004 (CdG)

* Remove passing to \url of NAME attribute on URL's in LaTeX backend. It
  removed all the spaces and wasn't really necessary. (CdG)

* Fixed ngsmls typo. (CdG)

* Norwegian language support. (RM)

* Fixed URL bug according to Ken's proposal. Will do until we add SPGrove.
  (CdG)

* Enhanced hard-coded guide revision number with Revision tag. (CdG)

--- CHANGES FOR sgml-tools-1.0.1 (3 December 1997):

* Add -f to rm when removing old links. (AB)

* Portability fixes to install commands. (KML)

* Fixed single-backslash bug in makeindex code. (ESR)

* Fix comment buglet. (CdG)

--- CHANGES FOR sgml-tools-1.0.0 (26 November 1997):

* Replaced two more occurrences of "make" with "$(MAKE)". (MB2)

* LSM Entry file for SGML-Tools. (CdG)

* New CHANGES file. (CdG)

sgml-tools-1.0.9/CHANGES-0.99100640   1010    764       77753  6437070230  13547 0ustar  cgacriter* Small cosmetic tweak to LaTeX header code. (ESR)

* Make sure flex is used for sgmlpre. (BL)

* Restore missing <file> support. (ESR)

--- CHANGES FOR sgml-tools-0.99.21 (Release Candidate 1, 23 November 1997):

* Added <file> tag to all DTDs and documented it (ESR)

* Added <idx> and <cdx> to linuxdoc97 and sgmltool DTDs (ESR)

* Arrange for <htmlurl> to call \url in the LaTeX back end (ESR)

* Added --pass option to pass options through to back ends (ESR)

* Fixed the logic to replace documentclass[] options. (ESR)

* Allow [ and ] to be used inside <tag></tag>. (ESR)

* LaTeX option list wasn't built correctly wrt. commas (CdG/ESR).

* "restrict" seems to be a keyword in latest GCC; changed conflicting
  function name in sgmlpre (CdG)

* Fixed lib/dist/fmt_latex2e.pl not to include an unused language option
  if the language is English (ESR).

* Added missing sgmltools.1 man page (having it missing was messing up the
  install production). (ESR).

* Minor tweaks to User's Guide -- warn about underscores in references (ESR).

--- CHANGES FOR sgml-tools-0.99.20 (12 November 1997):

* Commit rtf2rtf.c after change to rtf2rtf.l. (CdG)

* Manually modified the Log entry in linuxdoc96.dtd. It contained SGML
  comments, and nested comments won't go... (CdG)

* Add build commands for sgmlpre (which doesn't need it's own makefile
  for now). (CdG)

* Change references to "make" into "$(MAKE)", suggestion by Marc Baudoin 
  <Marc.Baudoin@solsoft.com>. (CdG)

* sgmlpre/sgmlpre.l, doc/guide.sgml: Changed if -> #if and unless -> #unless
  to remind users that they are preprocessor tags rather than real ones. (ESR)

* lib/dist/sgmltool/latex2e/mapping: Changed the latex2e replacement for
  <ref> to give a better appearance. (ESR)

* lib/dist/fmt_latex2e.pl: Fixed a bug that prevented --pagenumber=0 from
  working correctly. (ESR)

* lib/dist/fmt_latex2e.pl: Arrange for LaTeX to be run in nonstop mode, so it
  won't prompt and hang on errors.  This makes scripts that call sgml2latex
  and throw away the output behave much better :-).  (ESR)

* lib/linuxdoc.sty: use \\url on the NAME argument of <url> too, this helps us
  handle mailto URLs more gracefully. (ESR) 

* Turn the if/unless magic comments into real tags.  Trying to pull them
  into the DTD doesn't work, the magic-comment syntax is too ugly to live,
  and we can use sgmlcheck for document validation.  (ESR)      

* First pass at conditionals.  This version is implemented with magic comments
  <!-- if --> and <!-- unless -->. (ESR)

* The generic options processing now includes the -D option to pass in an
  attribute/value pair for conditionals.  This meant the -D option in
  sgml2html had to be changed, it's now -h. (ESR)

* Fixed flex-time warning triggered by rtf2rtf.l.  Three rules needed to
  be reordered.  (ESR)

* Eliminated a LaTeX warning due to unused "english" option.  It will be
  trivial to restore this option when we use babel.sty.  Anyway I have fixed
  the relevant commented-out line in sgml2latex to be independent of whether
  the `english' option is there or not.  (ESR)

* Fixed the bug (reported by Greg Hankins) that the optional "name" is not
  included at the point of a <ref>; this required only a trivial tweak to
  the mapping file. (ESR).      

* Fixed flex-time warning triggered by rtf2rtf.l.  Three rules needed to
  be reordered.  (ESR)

* Eliminated a LaTeX warning due to unused "english" option.  It will be
  trivial to restore this option when we use babel.sty.  Anyway I have fixed
  the relevant commented-out line in sgml2latex to be independent of whether
  the `english' option is there or not.  (ESR)

* Fixed the bug (reported by Greg Hankins) that the optional "name" is not
  included at the point of a <ref>; this required only a trivial tweak to
  the mapping file. (ESR).

* Minor structure tweaks to the User's Guide. (ESR)

* Updated man pages.  Reorganized/rewrote User's Guide.  Added man
  pages for sgmltools(1), sgmlcheck(1). (ESR)

* Document &shy escape for soft hyphens. (ESR)

* Make <idx> and <cdx> work with minor changes to latex2e mapping.
  Added --index option to sgml2latex to control index generation. (ESR)

* The LaTeX back end will now automatically hyphenate URLs correctly,
  using the url.sty code from the TUG archive. (ESR)

* Added sgml2latex --pagenumber option to set starting page number of
  DVI or PS output. (ESR)

* Suppress LaTeX output on all but the final pass.  This avoids many
  spurious warnings about unresolved labels, etc. (ESR)    

* Document &shy escape for soft hyphens. (ESR)

* Added a "use lib" to sgmltools.in that seems to be necessary on a stock
  Linux. (ESR) 

* Fixed buggy invocation of ISO2English. (CdG)

--- CHANGES FOR sgml-tools-0.99.19 (10 November 1997):

* "/usr/bin/perl" instead of "@PERL@..." sneaked in... (CdG)

* Fix wrong process exit value. (CdG)

* Add French translations. (CdG)

* IPC::open2 didn't work very well with groff. (CdG)

* Add Spanish. (CdG)

* Drop the <BR> at the end of a table row for HTML output. Even Lynx knows
  how to deal with <TABLE> these days, so this is an obsolete non-feature.
  (CdG)

* Fix buglet in cleanup routine. (CdG)

* Removed html-specific translation files, they're obsolete. (CdG)

* Added rtf2rtf.c for boxen without flex. (CdG)

* Modify for new iso-entities pathname (CdG/KML)

* Entity-map version 0.1.0 (KML)

* New iso-entities version, with new install path (KML).

--- CHANGES FOR sgml-tools-0.99.18 (13 September 1997):

* Fix dot-at-start-of-line and dquote-at-start-of-sect bugs. (CdG)

* Added POD. (CdG)

* Fix problems with language handling. (CdG)

* Insert a colon in front of SGML_CATALOG_FILES if the environment variable
  already exists when adding to it. (KML)

* BackEnd.pm contains POD about interface between SGMLTools and 
  backends. (CdG)

--- CHANGES FOR sgml-tools-0.99.17 (12 September 1997):

* Changes to build and install process to reflect all the new stuff. (CdG)

* Buglet: corrected references to CharEnts. (CdG)

* Map format latex to format latex2e. (CdG)

* Huge Perl changes. Everthing is "use strict", hidden below at least
  package SGMLTools, renamed modules to .pm, moved them to their own
  subdirectory, etcetera. (CdG)

* Replaced top-level shellscripts with single top-level Perl script. (CdG)

* preroff.sed and prertf.sed have been integrated into their fmt_*.pl
  scripts (CdG)

* Lot of Perl code changes (CdG):
  - Integration of the majority of external sed and awk scripts.
  - New calling convention for preASP and postASP routines.
  - Cleanups.

* Remove genertoc. (CdG)

* genertoc integrated into fmt_txt.pl (CdG).

* Remove chapt.awk, it's obsolete. (CdG)

* Remove prehtml.sed, its work has been integrated into fmt_html.pl (CdG)

* Moved functionality from latin1.sed into driver.pl.in. (CdG)

* Remove latex mappings, they're obsolete. (CdG)

* Oops! Remove the *general* files, and unremove the mapping files... (CdG)

* Remove the mapping files, they're obsolete. (CdG)

--- CHANGES FOR sgml-tools-0.99.16 (7 September 1997):

* Simplify implementation of --filter when charset is not ascii. (CdG)

* Fix HTML language file lookup. (CdG)

* Resolve conflicting options between global and html. (CdG)

--- CHANGES FOR sgml-tools-0.99.15 (23 August 1997):

* Big commit containing a lot of changes towards multi-DTD and local hacks
  support.

* Addition of directory ``unsupported'' and started filling it with 
  obsolete replacement files.

* Added @PERL@ and @PERLWARN@ to list of replacement vars in Makefile. (CdG)

* Rejoice! All the generated files are now created by make instead of
  by configure. This should make hacking them a lot easier. (CdG)

* Removed a number of unnecessary targets and duplicates from autoconf
  input file. (CdG)

--- CHANGES FOR sgml-tools-0.99.14 (9 July 1997):

* Removed a couple of generated files from iso-entities and entity-map
  that accidentally landed in CVS. (CdG)

* Point to iso-entities as residing under ${prefix}/lib instead of
  just under ${prefix}. (Cdg)

* Completely new DTD setup by Bernd (BK).

* Added contrib/bk, with a lot of work-in-progress from Bernd. (CdG)

--- CHANGES FOR sgml-tools-0.99.13 (23 June 1997):

* Patches to integrate latest iso-entitities. (CdG)

* Fixed HTML mapping for "&nbsp;" (DG).

* Reverse position of Next and Previous links in HTML so that users of Lynx
  etc. have an easier job. (DL)

* Avoid problems with `[' and `]' for LaTeX. (DL)

* Use ``"$@"'', not ``$*'', when kicking off driver.pl. (DL)

* Pass '-i' through to nsgmls for conditionalization. (DL)

* Driver should now bail out when not using isolatin, too. (CdG)

* ``Final'' version of iso-entities (KML)

* Add directories to the library path the proper way (KdB).

--- CHANGES FOR sgml-tools-0.99.12 (21 May 1997):

* Ken's patches plus some modifications of my own to cater for slight
  differences in integration of Ken's patches, now committed for real. (CdG)

  [C'mon, the kid is keeping me awake. I'm *entitled* to mistakes]

--- CHANGES FOR sgml-tools-0.99.11 (21 May 1997):

* Patches for entity-map 0.1b4, with HTML, LaTeX2e and TXT support (KML).

* Update to version 0.1b4 of entity-map (KML).

--- CHANGES FOR sgml-tools-0.99.10 (7 May 1997):

* Ken MacLeod's entity-map 0.1b2

* Ken MacLeod's iso-entities 0.1b1

* DTD CHANGE: eps element attribute list changed width to height (DG)

  [I recall more people noting this - CdG]

* <HR> as mapping for <hline> in tables is a bad idea - removed it. (DG)

* Fixed text-mode TOC (AS2).

--- CHANGES FOR sgml-tools-0.99.9 (17 April 1997):

[interim release caused by total brokeness due to my typos - CdG]

* Hierarchical version of text-mode TOC (AS2).

* Fixed three typos (KdB).
  [mea culpa, mea maxima culpa - CdG]

--- CHANGES FOR sgml-tools-0.99.8 (14 April 1997):

* Changed entries for &dollar, &gt, &lt. (JE)
  [... Again. Is this finally correct? - CdG]

* Fixed small bug in HTML mapping entry for <img>. (JE)

* Small fixes to LaTeX driver (JE)

* The info backend didn't have mapping entries for url and htmlurl. (SR)

* Remove driver.pl.in from final libdir (SR).

* Removed junk from libdir. (SR)

* Renamed target directory for documentation files (SR)

* Add better error checking. (SR/Bug#7829)

* Added code to driver for option consistency checking [needs improvement and
  possibly an option itself - CdG] (UW)

* Allow comments in html2html language files. (UW)

* Extraneous space kept driver.pl from compiling and thus issueing a
  warning on older Perls. (CdG)

* A single space at the end of a line frustrated sed. (CdG)

* ln -sf becomes (rm; ln -s), which should run everywhere (CdG).

--- CHANGES FOR sgml-tools-0.99.7 (21 March 1997):

* Added configure option --with-perl-w. Now everybody can choose whether to
  run Perl in obnoxious mode or not. (CdG)

* Add support for <IMG> tag. (LM).

* DTD CHANGE: Entity <figure> has now <img> element. (LM)
   
  This is part of a series of patches to enable EPS/GIF figures for (currently)
  HTML and LaTeX backends. 

* Backslash correction for LyX (FP2).

* `ln -s' must be `ln -sf' for second-time installations. (FP2)

* Changed LaTeX mapping for &dollar; from "\$" into "$" (KT).

* Assorted changes, cleanups and bugfixes mainly on option processing (UW).

* First pieces of code for generic multiple-language support in Perl. (CdG)

* DTD CHANGE: ``['' and ``]'' aren't shortrefs for <f> and </f> anymore. (CdG)

  It was decided, after discussion on the list, that the more people need the
  square brackets for programming documentation (array notation, etcetera)
  than as a shortcut for formula's (which is a single-character tag anyway). 
  Also, although documented in the QWERTZ documentation, this behaviour was
  only implemented in the LaTeX backend.

* Modify SGML_SEARCH_PATH to included the SGML source's directory. (UW/CdG)

* Output file(s) now land in current directory instead of the source's
  directory. (CdG).

* Don't need backslashes on &lsqb; and &rsqb; (KT).

* Only GNU find has implicit ``-print'', others don't (MP).

* Require Perl 5.003 (Cdg).

--- CHANGES FOR sgml-tools-0.99.6 (13 March 1997):

* Changed --split default to 1 (CdG).

* Make bottom margin slightly larger again. (KdB)

* Fix echo statements and optimize chmod'ing of installed tree. (UW)

* Minor cleanups (SR)

* Added BibTeX support. (KdB)

* Text filtering command line was split on the wrong point. (CdG)

* Add a link rep/groff/mapping -> rep/latin1/mapping on install. (CdG)

--- CHANGES FOR sgml-tools-0.99.5 (25 February 1997):

* Moved HTML fixups to Perl. (TM)

* Minor cleanups to driver script. (CdG)

* Added format conditionals to DTD. (TM).

* Perl's rename doesn't work across filesystems, use cp instead. (SR)

--- CHANGES FOR sgml-tools-0.99.4 (10 February 1997):

* HTML-Splitting now can be done on level 0, 1, or 2 (--split=n now
  works like it should). (CdG)

* Fixed bug in long-option handling. (CdG)

* Fixed some stupid typo's. (CdG)

--- CHANGES FOR sgml-tools-0.99.3 (6 February 1997):

* Made location of external programs in Perl scripts autoconf'able. (CdG)

* You can now switch off building sgmlsasp and nsgmls with configure. (CdG)

* Renamed sgmls.1 to nsgmls.1. (CdG)

* Use package `ms' instead of `mgs'. (CdG)

* Miscellaneous fixes to the Perl scripts. (CdG)

* Updated README with new Website, new version info, etc. (CdG)

* Autoconfiguration for SP. (HT)

* Contrib/ Perl script that extracts useful information from SGML files. (FP)

* Typo: backspace spec in regexp for groff stripping was wrong. (CdG)

* Added ``mu'' to latin1.sed. (UW)

* Single Page HTML patches. (DP)

* Rewrote most often used chars in ISO8859-1 charset for LaTeX mapping. (MB)

* Driver script prints version number in Usage(). (CdG)

* Switched to autoconf. (SR)

* Emacs mode for SGML-Tools, works with Emacs 19.34. (AS)

* Titles with font changes were munched. This piece of code should correct
  that. (FJM)

--- CHANGES FOR sgml-tools-0.99.2 (4 February 1996):

* Split up BUGS into BUGS and TODO. Of course, there is a blurred distinction
  between them, but this more-or-less gives a priority indication. (CdG)

* Fixed LaTeX \documentclass option handling. (CdG)

* Removed LaTeX 2.09 support and cleaned up linuxdoc-sgml.sty a little
  bit. (CdG)

* HTML language files are now ISO-naming compliant like we discussed on
  the mailing list (more to follow...) (CdG).

* Removed LaTeX 2.09 support and cleaned up linuxdoc-sgml.sty a little
  bit. (CdG)

* Introduced Perl driver script. (CdG)

* Removed info.awk from sgml2info. (CdG).

* Added <TABLE> support according to a suggestion by Harald Milz
  <hm@seneca.muc.de>. Small difference: </TR> should always come with
  a <BR> in order to keep Lynx cs. happy. (CdG)

* Added CONTRIBUTORS file.

* First steps toward HTML 3.2. (UW)

--- CHANGES FOR sgml-tools-0.99.1 (9 December 1996):

* Added RCS Id tag. (cdg)

* First attempt at SP's nsgmls instead of sgmls. Cees de Groot
  <C.deGroot@Inter.nl.net>

* Make "-g" work with "-2e". Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>

* Enabled ``-2e'' option even if the command ``latex2e'' is not
  available. Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>

* Temporary files ``/tmp/sgml2ps$$'' weren't removed. Ulrich Windl
  <ulrich.windl@rz.uni-regensburg.de>.

* Imported into CVS. Cees de Groot <C.deGroot@inter.nl.net>

--- CHANGES FOR sgml-tools-0.99.0 (29 November 1996):

* renamed package to SGML-Tools.  It's not just for Linux anymore.
  Updated files and Guide to reflect this.  Greg Hankins 
  <greg.hankins@cc.gatech.edu>.

* fixed linuxdoc.dtd to allow an hline over tables.  Robert Nemkin 
  <buci@math.klte.hu>.

* changed prertf.sed from "s/\\n/ \\n/g" to "s/\([^\\]\)\\n/\1 \\n/g", to
  fix a problem where \\n is translated unintentionally.  Stephen Williams 
  <steve@icarus.com>.

* changed <INF> and </INF> to <SUB> and </SUB> in HTML mapping file.  <INF>
  isn't HTML appearently.  Harald Milz <hm@ibm.de>.

* added fix to preroff.sed file, to fix "can't find font 'C'" problem with
  groff.  Eric S. Raymond <esr@snark.thyrsus.com>.

* changed circ entity from "\verb+^+" to "\^{}", and lowbar from "\_" to
  "\_{}" in latex replacement file.  Graham Swallow <gps@trix.dircon.co.uk>.

* removed blank in front of \@author on line 72 of linuxdoc-sgml.sty (and A4
  version).  Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>.

* fixed gt and lt entities in latex replacement file.  They are now changed
  from "{\(>\)}" to "{$>$}" (same for lt).  Dieter Faulbaum 
  <faulbaum@bii.bessy.de>.

* fixed ero entity in html replacement file.  Should be "&" and not "&amp;",
  since it's used in <PRE></PRE> sections.  Greg Hankins
  <greg.hankins@cc.gatech.edu>.

* added Aring to html replacement file.  Kaare Hviid <ukh@marijne.df.lth.se>.

* added grave entity to all replacement files.  groff seems to have a
  problem with certain unescaped ' characters.  Greg Hankins 
  <greg.hankins@cc.gatech.edu>.

* changed mapping for bsol to "\\" in groff and latin1 replacement files.  
  Greg Hankins <greg.hankins@cc.gatech.edu>.

* added \\raggedright to LaTeX mappings to leave the right side unjustified.
  Jim Van Zandt <jrv@vanzandt.mv.com>.

* pointed out problem with ^ character in HTML output, fixed &circ entity.
  Andre Schoorl <aschoorl@sirius.UVic.CA>.

--- CHANGES FOR linuxdoc-sgml-1.5 (8 March 1996):

* updated install script, README files, guide, etc for new versions.
  Greg Hankins, <greg.hankins@cc.gatech.edu>.

* patch to sgmls-1.1/configure, took out reference to ctype(3) man page,
  which some Linux distributions don't have. Andrew Morgan 
  <morgan@physics.ucla.edu>.

* added isolatin.sty to LaTeX mapping file. This should make 
  ISO 8859-1 characters look better in PostScript output.
  Greg Hankins, <greg.hankins@cc.gatech.edu>.

* added support for alternate labels in HTML output for "Previous",
  "Next" and "Table of Contents" links. Language specific lables are
  in $LINUXDOCLIB/rep/html/<language>. Juergen Seeger, <js@ix.de>.

* fixed problems in sgml2txt, "" needed to be a real "", and not
  a "^H". Added some more seding. Frank Pavageau, <frank@via.ecp.fr>.

* removed \ from lsqb and rsqb in lib/rep/latex/general.  This seems to
  cause problems when formatting with LaTeX. Greg Hankins,
  <greg.hankins@cc.gatech.edu>.

* added -img option to sgml2html and html2html for optional images
  in the prev/next/toc links. Fixed numerous HTML formatting problems.
  According to 'htmlcheck', HTML output is nearly compliant.
  Tom Lane, <tgl@sss.pgh.pa.us>.

* fixed a small problem with italicized tags and groff. Todd Reed,
  <treed@cs.waikato.ac.nz>.  When I was patching this in, I removed
  lib/rep/latin1/mapping and made it a symlink to lib/rep/groff/mapping
  since they need to be the same anyways. Greg Hankins, 
  <greg.hankins@cc.gatech.edu>.

* fixed a problem with cross references in html2html.l (rare case).
  Steve Tynor, <tynor@atlanta.twr.com>.

* patch to genertoc script to make it 8-bit clean. Frank Pavageau,
  <frank@via.ecp.fr>.

* added CleanUp{} and traps to sgml2foo scripts. Frank Pavageau, 
  <frank@via.ecp.fr>.

* fixes to install script. Marc Baudoin <Marc.Baudoin@hsc.fr.net>
  (syntax error) and Frank Pavageau, <frank@via.ecp.fr> (optimization
  options). General unhappiness with install script noted.

* added -f switch to sgml2txt (Hi Frank), to choose whether or not 
  to strip reverse paper motions (such as underlines). Reverse paper
  motions are not nice for text editors and other non-backspacing
  devices. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* changed all references to nroff to groff, just to be nitpicky.
  groff is required! Greg Hankins, <greg.hankins@cc.gatech.edu>.

* wrote man pages for sgml2foo scripts, and made install script
  install them. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* added -g switch to sgml2latex to make it use german.sty.
  Harald Milz, <hm@seneca.han.de>.

* made all chars in html2html.l unsigned, for ISO-8859-1.
  Tristan Debeaupuis, <Tristan.Debeaupuis@hsc.fr.net>.

* perl script to generate groff table of contents. Thomas Koenig, 
  <Thomas.Koenig@ciw.uni-karlsruhe.de>. [Hacked a wee bit - Greg]

* fixed html2html so that it doesn't leave a newline after URLs.
  Tom Lane, <tgl@sss.pgh.pa.us>.

* the sgml2* scripts now support a "-style" option which allows extra
  mapping files to be included in the translation (for adding
  site-specific "styles"). Steve Tynor, <tynor@atlanta.twr.com>.

* sgml2html takes additional new args: -fat (causes the filnames to
  be "DOS FAT" compatible (.htm vs. .html). -2 (causes html2html to
  split pages at both 1. and 1.1 levels instead of just 1. (I can't
  really say "chapters" and "sections" since it depends on whether you
  use <article> or <report> -- if <article>, the <sect> and <sect1>
  cause page breaks; of <report> then <chapt> and <sect> cause page
  breaks.  Default page breaking behavior is unchanged. Steve Tynor, 
  <tynor@atlanta.twr.com>.

* extensive changes to html-fix/html2html.l: 
  - html2html puts Previous/Next links at both top and bottom of page 
    (makes it easier to `browse'). 
  - <appendix> causes HTML section number to start at "A" 
  - (see header of html2html.l for additional minor improvements). 
  - support for gifs for Previous/Next/Contents links (gifs are in 
    lib/icons)
  Steve Tynor, <tynor@atlanta.twr.com>.

* scrapped Tristan's RTF support, according to his wishes, and added a
  new RTF support approach (rtf-fix/rtf2rtf and new replacement files). 
  Steve Tynor, <tynor@atlanta.twr.com>.

* support for LaTeX2e, uses -2e on sgml2latex script. Marc Baudoin 
  <Marc.Baudoin@hsc.fr.net>.

* many fixes to replacement files. Steve Tynor, <tynor@atlanta.twr.com>.

* added LyX output support. Frank Pavageau, <frank@via.ecp.fr>.

* combined lib/rep/[html,info,latex,latin1,groff,rtf]/[general,math] into
  one file called general. According to Magnus Alvestad, these were 
  separated for historical reasons. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* changed output of LaTeX \\url to <foo> and not (foo) in 
  linuxdoc-sgml*.sty files. Pointed out by Gary Capell <gary@cs.su.oz.au>.

* added A4 paper size support to LaTeX output. Use -a on sgml2latex script. 
  Frank Pavageau, <frank@via.ecp.fr>.

* added two lines to the lib/prehtml.sed script, so that the HTML code 
  generated conforms to the standard (arena browser). <descrip> tags 
  created bad HTML code, by inserting <P></P> between <DL> and the first 
  <DT>. Frank Pavageau, <frank@via.ecp.fr>. [don't know why this happens,
  checked relevant replacement and html-fix files - Greg]

* fixed sgml2txt - a space at the end of a split line (that is, after the \) 
  caused an error when using the -l option. Frank Pavageau, <frank@via.ecp.fr>.

* changed all references to "texinfo" to "GNU info".  Pointed out by
  Thomas G. McWilliams <tgm@netcom.com>.

--- CHANGES FOR linuxdoc-sgml-1.4.1 (14 November 1995):

* added the possibility to size and rotate pictures for LaTeX ouput using
  epsfig. The PostScript file can be .ps or .eps - the user has to enter
  the full file name. Marc Baudoin, <Marc.Baudoin@hsc.fr.net>.

* changed the LaTeX definition of entities, because most of the distribs
  now support ISO-8859-1, and in the verbatim environment, \'e is ugly.
  Tristan Debeaupuis, <Tristan.Debeaupuis@hsc.fr.net>.

* added RTF output support ("better than nothing" for the moment ...)
  and cleaned the install script (I removed -print options which where 
  unused), and add the sgml2rtf to be installed. Tristan Debeaupuis, 
  <Tristan.Debeaupuis@hsc.fr.net>.

* added $prefix variable to install script for more flexibility.
  Andries Brouwer <Andries.Brouwer@cwi.nl>.

* updated contrib/trimwhite.pl to use <> and not <STDIN> so you can
  use pipes, and it now doesn't use a while loop anymore. Neil Bowers,
  <neilb@khoral.com>.

* fixed spacing on usage() functions in sgml2* scripts, reported by
  many people. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* fixed a couple things in various replacement files. Frank Pavageau,
  <frank@via.ecp.fr>.

* fixed sgml2* scripts to use latin1.sed _before_, not after running
  sgmls. This makes it work. Frank Pavageau, <frank@via.ecp.fr>.

* removed references to -c option in sgml2* scripts, since we have 
  sgmlcheck now. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* wrote sgmlcheck script. Cal Page, <cpage@mv.mv.com>. Trimmed useless
  junk, and fixed contrib/sgml-mode.el to call sgmlcheck. Greg Hankins, 
  <greg.hankins@cc.gatech.edu>.

* hacked sgml2ps into sgml2latex. We'll use -p for PS, and -d for DVI, and 
  default to LaTeX output. Seems more logical to me, and less misleading. 
  I really didn't like using sgml2ps with -d for DVI output, either.
  Greg Hankins, <greg.hankins@cc.gatech.edu>.

* fixes to sgml2ps to allow tex, ps and DVI output. Fixed TEXINPUTS variable
  to append to TEXINPUTS path. Georg Umgiesser, <georg@lagoon.isdgm.ve.cnr.it>.

* fixes to html-fix/html2html.l, declared yytext and yyleng, removed 14
  character chapter name limit, added more descriptive error message to
  @@ref problem. Steve Tynor, <tynor@atlanta.twr.com>.

* small fix to sgml-mode.el command to make it check syntax. Frank Pavageau,
  <frank@zen.via.ecp.fr>.

* removed '-l' from flex in html-fix/Makefile. Why it was there in the first 
  place is unknown to me, but this seems to hose a lot of people. Also made it
  use CC and LEX variables. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* added 'col -bx' to sgml2txt. Greg Hankins, <greg.hankins@cc.gatech.edu>.
  'col' hoses ISO-8859-1 somehow. Added clever seding to fix. Frank Pavageau,
  <frank@via.ecp.fr>.

* fixed & problem in prehtml.sed, it turns out & characters do not need to
  be replaced. Greg Hankins, <greg.hankins@cc.gatech.edu>.

--- CHANGES FOR linuxdoc-sgml-1.4 (17 October 1995):

* updated html-fix/Makefile. Michael K. Johnson, <johnsonm@nigel.vnet.net>.

* support for latin1 character set in output. Greg Hankins,
  <greg.hankins@cc.gatech.edu>. latin1 replacement files updated by
  Frank Pavageau, <frank@zen.via.ecp.fr>. latin1.sed script by 
  Farzad Farid.

* updated guide.sgml. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* more patches for GNU info support. It should be ready for production now.
  Christian Schwarz, <schwarz@monet.m.isar.de>.

* wrote an install script and rewrote the INSTALL file. Removed
  autoconf stuff because it's too big and doesn't do what I want
  it to do. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* massaged things around so that you can have a bin and lib directory
  separate from the source directory. Greg Hankins, 
  <greg.hankins@cc.gatech.edu>.

* added Otilde in all mappings. Joao Carlos R. Pereira,
  <jcrp@caravela.di.fc.ul.pt>.

* whoops, backed out changes for ero and etago for LaTeX. Greg Hankins,
  <greg.hankins@cc.gatech.edu>.

* made HTML output HTML3 compliant (html-fix/html2html.l), at least 
  according to the arena browser. Leander Jedamus, <jedamus@Worms.Fh-Rpl.DE>.

* fixed spacing problems in HTML output... used to have spaces in anchors,
  and other small HTML fixes. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* rewrote bin/format & friends into:
   - bin/sgml2txt
   - bin/sgml2html
   - bin/sgml2ps (uses -d for DVI output)
   - bin/sgml2info
  removed:
   - bin/format
   - bin/qtex
   - bin/qroff
   - bin/preroff
   - bin/prehtml
   - bin/mkinfo
  
  This makes formatting *muchmuch* easier. Also, the old format program
  conflicts with /usr/etc/format on SunOS, and probably others. Greg Hankins, 
  <greg.hankins@cc.gatech.edu>. Much help from Christian Schwarz,
  <schwarz@monet.m.isar.de>.


--- CHANGES FOR linuxdoc-sgml-1.3 (15 August 1995):

* updated guide.sgml. Greg Hankins, <greg.hankins@cc.gatech.edu>.

* fixed dangling HTML reference problems. Leander Jedamus, 
  <jedamus@Worms.Fh-Rpl.DE>.

* fixed ero and etago for LaTeX; and etago, quot and dquot for HTML 
  replacement. Leander Jedamus, <jedamus@Worms.Fh-Rpl.DE>.

* fixed permissions on files: files in bin were not all 755, and there were
  setgid directories everywhere. Leander Jedamus, <jedamus@Worms.Fh-Rpl.DE>.

* support for autoconfiguration added.  Christian Schwarz, 
  <schwarz@monet.m.isar.de>.

* updated README files and other small nitpicks. Greg Hankins,
  <greg.hankins@cc.gatech.edu>.

* more updates to guide.sgml, Christian Schwarz, <schwarz@monet.m.isar.de>.

* fixed qroff so PS files go to stdout, and not to filenames based on PID. 
  Christian Schwarz, <schwarz@monet.m.isar.de>.

* patch for european characters by Kai Harrekilde-Petersen, 
  <khp@pip.dknet.dk> added.

* added LINUXDOC environment variable to preroff and prehtml.
  Christian Schwarz, <schwarz@monet.m.isar.de>.

* updated README file by Christian Schwarz, <schwarz@monet.m.isar.de>
  (edited slightly - Greg).

* fixed some problems with 'format -Tman' in rep/man/mapping by Hubert Schreier
  <schreier@mvmampc66.ciw.uni-karlsruhe.de>:
     - if a <verb> or <code> element happens to fall on a pagebreak,
       page-headers and page-numbers are not displayed correctly.
     - <descrip> is always indented, even at the highest level
     - <enum> and <itemize> do not work at all
     - urlman and refnam are not defined

--- CHANGES FOR linuxdoc-sgml-1.2 (24 June, 1995):

* GNU info support by Christian Schwarz, <schwarz@monet.m.isar.de> added.

More fixes for 1.1 (Eric Raymond, <esr@snark,thyrsus.com>):
 
 	* Introduced special -T types ascii and htmlx to format to hide the
 	  details of the ASCII and HTML conversions.
 
 	* format, qroff, and qtex now export LINUXDOC,  and all other
 	  commands pick it up from the environment.  This reduces the
 	  amount of editing the user has to do during setup.
 
 	* format, qroff, and qtex now change PATH to include the linuxdoc
 	  bin directory.  This means that only those three files have to be
 	  copied or symlinked to a public executables directory.
 
 	* The nroff/ASCII rendering of url elements is changed to conform
 	  to HTML consortium recommendations.  It is now "[NAME] <[URL]>"
 	  rather than "[NAME] ([URL])".
 
 	* There is a new <htmlurl> element which suppresses rendering of
 	  the URL part in every context except HTML.  What this is useful for
 	  is things like cites of peoples' email addresses; you can write
 
 		<htmlurl url="mailto:esr@snark.thyrsus.com"
 			name="esr@snark.thyrsus.com">
 
 	  and get "esr@snark.thyrsus.com" in ASCII/nroff output rather than the
 	  duplicative "esr@snark.thyrsus.com <mailto:esr@snark.thyrsus.com>",
 	  but still have a proper URL in HTML.
 
More fixes, originally called linuxdoc-sgml-1.1.FIXES2 
(Paul Gortmaker, <Paul.Gortmaker@anu.edu.au>):

	1)	LaTeX has to run 3 times to get the offset caused
		by the number of "toc" pages. Fixed in "qtex".

	2)	Documented manner for making cross-references is
		cumbersome, and worse, it is broken. Show much
		simpler way.

	3)	Make binaries stripped to cut down on wasted space.

	4)	Tilde character in LaTeX mapping breaks when in
		an URL (as in http://myhost.edu/~joe.blow/index.html)
		ala csh expansion. Can't use a normal ~ either as
		that is a hard space in TeX. Fixed by using "\~{}"

	5)	The "&tilde" in the html mapping is printed literally
		as "&tilde" instead of "~". Fixed in html general.

	6)	Some (all?) versions of "getopt" don't seem to like
		things like "-Tlatex". Changed the docs to reflect
		that "-T latex" is a better choice.

--- CHANGES FOR linuxdoc-sgml-1.1:

Changes in Linuxdoc-SGML in Version 1.1 (Matt Welsh, <mdw@cs.cornell.edu>):

	* Full HTML support is now there. See the information in
	  doc/guide.txt. 

	* Added a <url> element for embedded Universal Resource Locators
	  in SGML documents. See doc/guide.txt for details.
	
	* Added a <quote> element for quotations (like <tscreen>, but
	  without typewriter font).

	* Added name="..." argument to <ref>. This will allow you to make
	  cross-references within LaTeX, HTML, and nroff documents 
	  produced by the system. See doc/guide.txt for information on 
	  using this.

	* Fixed a number of formatting bugs. Too numerous to mention.
	  All Linux HOWTOs format well with this new version, so it's
	  apparently stable.

	* Included more information on special characters, etc. in the
	  User's Guide. Please read this section in doc/guide.txt.

	* Modified nroff conversion so that right margins are sloppy.
	  This actually looks better (no odd spacing between words 
	  when converting to ASCII). You can comment out one line near
	  the top of rep/nroff/mapping to turn this off.

--- CHANGES FOR linuxdoc-sgml-1.0:

* original version by Matt Welsh, <mdw@sunsite.unc.edu>.
sgml-tools-1.0.9/CONTRIBUTORS100640   1010    764        4161  6610643044  14000 0ustar  cgacriter
$Id: CONTRIBUTORS,v 1.19 1998/10/13 12:23:00 cg Exp $

Everybody who appears in the CHANGELOG file will appear here as well. Probably
superfluous explanation of contents:

XXX = Name <Email> 
  http:HomePage

where ``XXX'' will be used on the CVS change log messages.

Maintainer:

CdG = Cees A. de Groot <cg@pobox.com>
  http://pobox.com/~cg

People doing the actual work in alphabetical order:

AB  = Andries Brouwer <Andries.Brouwer@cwi.nl>

AS  = Arun Sharma <asharma@sco.com>

AS2 = Andre Schoorl <aschoorl@engr.UVic.CA>

BL  = Bernd 'Bing' Leibing <bernd.leibing@rz.uni-ulm.de>

DG  = Daniele Giacomini <daniele@tv.shineline.it>

DL  = Dave Love <d.love@dl.ac.uk>

DP  = Dave Platt <dplatt@iq.TVSoft.com>

DS  = Davide G. M. Salvetti <salve@debian.org>

ESR = Eric S. Raymond <esr@thyrsus.com>

FJM = Francisco J. Montilla <pacopepe@nova.es>

FB  = Florin Boariu <florin@bamberg.baynet.de>

FP  = Fabrizio Polacco <fpolacco@megabaud.fi>

FP2 = Frank Pavageau <pavageau@imaginet.fr>
      (previously <frank@via.ecp.fr>).

IWM = Ian W Moor <i.moor@doc.ic.ac.uk>

JAM = Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>

JE  = Jan Echternach <echter@informatik.uni-rostock.de>

JE2 = Jeremy Elson <jelson@circlemud.org>

HN  = Hartmut Niemann <niemann@cip.e-technik.uni-erlangen.de>

HT  = Henry S. Thompson <ht@cogsci.ed.ac.uk>

KT  = Karsten Tinnefeld <tinnefeld@irb.informatik.uni-dortmund.de>

KdB = Kees de Bruin <kees_de_bruin@tasking.nl>

KML = Ken MacLeod <kmacleod@midamerican.com>

LM  = Lee Marzke <marzke_lee@si.com>

LM2 = Laurent Martelli <laurent@lolo.martelli.fr>

MB  = Marco Budde <Marco_Budde@hqsys.fido.de>

MB2 = Marc Baudoin <Marc.Baudoin@solsoft.com>

MG  = Michael Gerdts <gerdts@cae.wisc.edu>

MHP = Marc Huguet Puig (Perceval) <mhp@nil.fut.es>

MP  = Mitchell Perilstein <mnp@compass-da.com>

NJ  = Niels Kristian Bech Jensen <nkbj@image.dk>

RM  = Rune Mathisen <mathrune@online.no>

SM  = Simon Marlow <simonm@dcs.gla.ac.uk>

SM2 = Samuel Mikes <smikes@alumni.hmc.edu>

SR  = Sven Rudolph <sr1@os.inf.tu-dresden.de>

TM  = Tommy Marcus McGuire <mcguire@cs.utexas.edu>

UW  = Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
sgml-tools-1.0.9/COPYING100640   1010    764         470  6377647363  13154 0ustar  cgacriterEverything is freely distributable, no warranties - your mileage may vary.  

See sgmls-1.1/LICENSE for sgmls parser and sgmlsasp translator license.
See sp-1.1.1/COPYING for nsgmls parser and utilities license.
See iso-entities/COPYING for iso-entities license.
See entity-map/COPYING for entity-map license. 

sgml-tools-1.0.9/INSTALL100640   1010    764        2313  6460466725  13162 0ustar  cgacriter*** This file describes the installation of the sgml-tools package ***

You need to do the following things to get sgml-tools installed:

o Configure SGML-Tools for your system:

     ./configure

  You can specify different installation prefixes during installation,
  the default prefix is `/usr/local'. For example:
  install linuxdoc-sgml to `/usr':

     ./configure --prefix=/usr

  If you have sgmls-1.1 and or sp-1.1.1 already installed, you can leave
  out their compilation:

     ./configure --with-installed-sgmlsasp --with-installed-nsgmls

o Compile SGML-Tools:

    make

  or
  
    gmake

  whatever calls GNU make on your system. If you don't have GNU make installed,
  get the sources from prep.ai.mit.edu now and install it - SGML-Tools needs
  it to compile.


o Install SGML-Tools:

    make install

  (You must probably be root to install in /usr/local and other system
  directories).

  It might be a good idea to install in a temporary directory for testing,
  first (/tmp perhaps).

o the contrib directory has some interesting patches and scripts that may be
  useful to you.

o there is a guide on the sgml-tools documentation  directory, it 
  describes how to use this package, read it next...

sgml-tools-1.0.9/Makefile.in100640   1010    764       11724  6611714503  14210 0ustar  cgacriter#
#  Makefile.in
#
#  $Id: Makefile.in,v 1.35 1998/10/16 19:06:43 cg Exp $
#
#  © Copyright 1996 Sven Rudolph
#

prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@BINDIR@
libdir=@LIBDIR@
LINUXDOCDOC=$(prefix)/doc/sgml-tools
mandir=@mandir@
mandir1=$(mandir)/man1
PERL=@PERL@

INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@ -m 755
INSTALL_DATA=@INSTALL_DATA@

BUILD_SGMLSASP=@BUILD_SGMLSASP@
BUILD_NSGMLS=@BUILD_NSGMLS@
BUILD_ENTITY_MAP=@BUILD_ENTITY_MAP@
BUILD_ISO_ENTITIES=@BUILD_ISO_ENTITIES@

GENFILES := bin/sgmltools
progs    := sgml2html sgml2info sgml2latex sgml2lyx sgml2rtf \
            sgml2txt sgmlcheck

OPTIMIZE=-O

all: gen
ifeq ($(BUILD_SGMLSASP), true)
	@echo "Compiling the SGML parsing tools (in sgmls-1.1/)..."
	( cd sgmls-1.1 ; \
	  $(MAKE) OPTIMIZE="$(OPTIMIZE)" sgmlsasp )
endif
ifeq ($(BUILD_NSGMLS), true)
	@echo "Compiling the SGML parsing tools (in sp/)..."
	( cd sp ; \
	  $(MAKE) )
endif
ifeq ($(BUILD_ENTITY_MAP), true)
	@echo "Building Entity Mapping library (in entity-map)..."
	( cd entity-map ; \
	  $(MAKE) )
endif
	@echo "Compiling preprocessor (in sgmlpre/)..."
	( cd sgmlpre ; \
	  $(MAKE) CFLAGS="$(OPTIMIZE)" LEX=flex sgmlpre || exit -1 )
	@echo "Compiling RTF conversion tools (in rtf-fix/)..."
	( cd rtf-fix ; \
	  $(MAKE) CFLAGS="$(OPTIMIZE)" || exit -1 )

install::
	@echo "Installing binaries in $(bindir) ..."
	if [ ! -d $(bindir) ]; then mkdir -p $(bindir); fi
	-chmod 755 $(bindir)
ifeq ($(BUILD_NSGMLS), true)
	$(INSTALL_PROGRAM) sp/nsgmls/nsgmls $(bindir)/nsgmls
endif
ifeq ($(BUILD_SGMLSASP), true)
	$(INSTALL_PROGRAM) sgmls-1.1/sgmlsasp $(bindir)/sgmlsasp
endif
ifeq ($(BUILD_ENTITY_MAP), true)
	@echo "Installing Entity Mapping library (in entity-map)..."
	( cd entity-map; \
	  $(MAKE) install )
endif
ifeq ($(BUILD_ISO_ENTITIES), true)
	@echo "Installing ISO character entity sets (in iso-entities)..."
	( cd iso-entities; \
	  $(MAKE) install )
endif
	strip sgmlpre/sgmlpre
	for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \
	  bn=`basename $$ii`; \
	  $(INSTALL_PROGRAM) $$ii $(bindir)/$$bn; \
	done
	$(INSTALL_PROGRAM) bin/sgmltools $(bindir)/sgmltools.v1
	@echo "Installing library and support files in $(libdir)..."
	if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi
	chmod 755 $(libdir)
	cp -r lib/* $(libdir)
	cp VERSION $(libdir)
	@echo "Installing man pages in $(mandir1) ..." 
	if [ ! -d $(mandir1) ]; then mkdir -p $(mandir1) ; fi
	-chmod 755 $(mandir1)
	for ii in man/sgml2* man/sgmlcheck.1 man/sgmltools.1; do \
	  bn=`basename $$ii`; \
	  $(INSTALL_DATA) $$ii $(mandir1)/$$bn; \
	done
ifeq ($(BUILD_NSGMLS), true)
	$(INSTALL_DATA) man/nsgmls.1 $(mandir1)/nsgmls.1
endif
ifeq ($(BUILD_SGMLSASP), true)
	$(INSTALL_DATA) man/sgmlsasp.1 $(mandir1)/sgmlsasp.1
endif
	find $(libdir) -type d -print | xargs chmod 755
	find $(libdir) -type f -print | xargs chmod 644
	(cd $(libdir)/dist/sgmltool/latin1; rm -f mapping; ln -s ../groff/mapping .)
	(cd $(libdir)/dist; rm -f linuxdoc; ln -s sgmltool linuxdoc)
	(cd $(libdir)/dist; rm -f linuxdoc96; ln -s sgmltool linuxdoc96)
	(cd $(libdir)/dist; rm -f linuxdoc97; ln -s sgmltool linuxdoc97)
	(cd $(libdir)/dtd;  rm -f linuxdoc.dtd; ln -s linuxdoc96.dtd linuxdoc.dtd)
	(cd $(bindir); for i in $(progs); do rm -f $$i; ln sgmltools.v1 $$i;done)
	@echo "Installing documentation in $(LINUXDOCDOC) ..."
	(cd doc; PATH=${PATH}:$(bindir) sh Makedoc.sh)
	if [ ! -d $(LINUXDOCDOC) ]; then mkdir -p $(LINUXDOCDOC); fi
	chmod 755 $(LINUXDOCDOC)
	cp -r doc/* $(LINUXDOCDOC) 
	find $(LINUXDOCDOC) -type d -print | xargs chmod 755
	find $(LINUXDOCDOC) -type f -print | xargs chmod 644

# what dirs do the targets clean and distclean need?
DDIRS=
MDIRS=
ifeq ($(BUILD_SGMLSASP), true)
     DDIRS += sgmls-1.1
endif
ifeq ($(BUILD_NSGMLS), true)
     DDIRS += sp
endif
ifeq ($(BUILD_ENTITY_MAP), true)
     MDIRS += entity-map
endif
ifeq ($(BUILD_ISO_ENTITIES), true)
     MDIRS += iso-entities
endif

clean::
	-rm -f *~ bin/*~
	for d in $(DDIRS) $(MDIRS) rtf-fix; do $(MAKE) -C $$d clean; done
	(cd sgmlpre ; rm -f sgmlpre.o sgmlpre)

distclean:: clean
	for d in $(MDIRS); do $(MAKE) -C $$d distclean; done
	-rm -f Makefile config.cache config.log config.status \
		entity-map/Makefile iso-entities/Makefile \
		sgmls-1.1/config.h \
		sp/Makefile sp/Makefile.lib sp/config.log sp/config.status \
		sp/*/Makefile.dep \
		doc/guide.tex doc/guide.dvi doc/guide.ps doc/guide.ps.gz \
		doc/guide.info doc/guide.lyx doc/html/guide*.html \
		doc/rtf/guide*.rtf $(GENFILES)

gen : $(GENFILES)

#
#  Not very clean, I know. But it works for now. Any better
#  solutions to this are gladly accepted - CdG
#
% : %.in config.status
	@ [ $< = Makefile.in ] || ( \
	    echo Creating $@ ... ; \
	    rm -f $@ 2>/dev/null; cat $< | sed \
	      -e 's!\@prefix\@!@prefix@!' \
	      -e 's!\@LIBDIR\@!@LIBDIR@!' \
	      -e 's!\@BINDIR\@!@BINDIR@!' \
	      -e 's!\@NSGMLS\@!@NSGMLS@!' \
	      -e 's!\@SGMLSASP\@!@SGMLSASP@!' \
	      -e 's!\@GROFF\@!@GROFF@!' \
	      -e 's!\@GROFFMACRO\@!@GROFFMACRO@!' \
	      -e 's!\@PERL\@!@PERL@!' \
	      -e 's!\@PERLWARN\@!@PERLWARN@!' \
	      >$@ )
sgml-tools-1.0.9/README100640   1010    764        5207  6512513460  13001 0ustar  cgacriter*** This is the README file for the sgml-tools package, version 1.0.something 

*** For more uptodate information, visit the sgml-tools homepage
    at http://pobox.com/~cg/sgmltools

SGML-Tools is a text-formatting package based on SGML (Standard 
Generalized Markup Language), which allows you to produce LaTeX,
HTML, GNU info, LyX, RTF, and plain text (via groff) from a single source;
due to the flexible nature of SGML many other target formats are possible.

This system is tailored for writing technical software documentation, 
an example of which are the Linux HOWTO documents. However, there is nothing
Linux-specific about this package; it can be used for many other types of
documentation on many other systems. It should be useful for all kinds of 
printed and online documentation.

The current release version of sgml-tools can be found at
 ftp://sunsite.unc.edu/pub/Linux/utils/text/sgml-tools-1.0.x.tar.gz

Hacker versions (1.1.x where x > 0) can be found at the Website above and
probably on some assorted FTP sites. Note that there are no guarantees about
stability here.

You can join the sgml-tools mailing list by sending mail to
majordomo@via.ecp.fr with 'subscribe sgml-tools' in the message
body.  The list address is sgml-tools@via.ecp.fr.

The file doc/guide.sgml is SGML source for the User's Guide. As you 
probably don't know how to format it yet, there is formatted plain text
in doc/guide.txt. There's also guide.dvi and guide.ps, if you wish to
print them instead. The first thing you should read is doc/guide.txt, 
which explains how to install the software (namely, it tells you to
read the file INSTALL), and how to start writing documents with it.
The file doc/example.sgml is a simple example document which you
can use as a tutorial. 

For real-life examples of uses of SGML-Tools, look at the Linux HOWTOs 
on sunsite.unc.edu:/pub/Linux/docs/HOWTO/other-formats/sgml. These HOWTOs 
are written in SGML and automatically translated into PostScript, DVI, and 
ASCII using this system. You can also look at the URL
  http://sunsite.unc.edu/LDP/HOWTO/
which has HTML formats of many Linux HOWTOs, produced using SGML-Tools. 

SGML-Tools is based on James Clark's sgmls parser, and the QWERTZ
DTD by Tom Gordon.  The package was originally created by Matt Welsh, 
and maintained by Greg Hankins under the name Linuxdoc-SGML.  It was 
renamed to SGML-Tools, because it's not really Linux specific anymore.
The tools are currently maintained by Cees de Groot <cg@pobox.com>.

Please send me any questions or bug reports, as well as suggestions for 
improvement. 

Share and enjoy,
Matt Welsh
Greg Hankins
Cees de Groot
(and other contributers, see CONTRIBUTORS)
sgml-tools-1.0.9/TODO100640   1010    764        1217  6406226475  12617 0ustar  cgacriter$Id: TODO,v 1.7 1997/09/12 11:53:33 cg Exp $

Encoding:
- Proposal (somebody mentioned it and it was considered a good idea)
* Worked on (somebody took ownership)
! Testing (it's in the source tree, test it!)
+ Completed (testing went fine)
? Long-standing (is this still a viable thing/not done already ?)

============================================  
? do we really need "expand $TABS"
? tables!
- Convert LyX stuff from sed and awk to Perl.
- support other character sets than latin1 (ISO 8859-1). Start out simple with
  the latin-n alternatives.
- --output-directory switch so the output files aren't automatically put
  in $(basename input-file).
sgml-tools-1.0.9/VERSION100640   1010    764           6  6611717112  13101 0ustar  cgacriter1.0.9
sgml-tools-1.0.9/configure100755   1010    764      114457  6611717472  14115 0ustar  cgacriter#! /bin/sh

# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
  --with-perl-w                use perl -w option"
ac_help="$ac_help
  --with-installed-nsgmls      use installed nsgmls"
ac_help="$ac_help
  --with-installed-sgmlsasp    use installed sgmlsasp"
ac_help="$ac_help
  --with-installed-entity-map  use installed entity-map"
ac_help="$ac_help
  --with-installed-iso-entities  use installed iso-entities"

# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
build=NONE
cache_file=./config.cache
exec_prefix=NONE
host=NONE
no_create=
nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'

# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12

ac_prev=
for ac_option
do

  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case "$ac_option" in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir="$ac_optarg" ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build="$ac_optarg" ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file="$ac_optarg" ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir="$ac_optarg" ;;

  -disable-* | --disable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;

  -enable-* | --enable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_${ac_feature}='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix="$ac_optarg" ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he)
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;

  -host | --host | --hos | --ho)
    ac_prev=host ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host="$ac_optarg" ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir="$ac_optarg" ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir="$ac_optarg" ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir="$ac_optarg" ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir="$ac_optarg" ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir="$ac_optarg" ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir="$ac_optarg" ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir="$ac_optarg" ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix="$ac_optarg" ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix="$ac_optarg" ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix="$ac_optarg" ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name="$ac_optarg" ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir="$ac_optarg" ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir="$ac_optarg" ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site="$ac_optarg" ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir="$ac_optarg" ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir="$ac_optarg" ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target="$ac_optarg" ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.12"
    exit 0 ;;

  -with-* | --with-*)
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "with_${ac_package}='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes="$ac_optarg" ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries="$ac_optarg" ;;

  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    ;;

  *)
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
    ;;

  esac
done

if test -n "$ac_prev"; then
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
fi
exec 5>./config.log

echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5

# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
do
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  esac
done

# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h

# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=sgmls-1.1

# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_prog=$0
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  else
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  fi
fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`

# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    echo "loading site script $ac_site_file"
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
else
  echo "creating cache $cache_file"
  > $cache_file
fi

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    ac_n= ac_c='
' ac_t='	'
  else
    ac_n=-n ac_c= ac_t=
  fi
else
  ac_n= ac_c='\c' ac_t=
fi



ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
ac_config_sub=$ac_aux_dir/config.sub
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.

# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:563: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    # Account for people who put trailing slashes in PATH elements.
    case "$ac_dir/" in
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    *)
      # OSF1 and SCO ODT 3.0 have their own names for install.
      for ac_prog in ginstall installbsd scoinst install; do
        if test -f $ac_dir/$ac_prog; then
	  if test $ac_prog = install &&
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    # OSF/1 installbsd also uses dspmsg, but is usable.
	    :
	  else
	    ac_cv_path_install="$ac_dir/$ac_prog -c"
	    break 2
	  fi
	fi
      done
      ;;
    esac
  done
  IFS="$ac_save_IFS"

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL="$ac_cv_path_install"
  else
    # As a last resort, use the slow shell script.  We don't cache a
    # path for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL="$ac_install_sh"
  fi
fi
echo "$ac_t""$INSTALL" 1>&6

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'


# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:616: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  case "$PERL" in
  /*)
  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_PERL="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
fi
PERL="$ac_cv_path_PERL"
if test -n "$PERL"; then
  echo "$ac_t""$PERL" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


if echo 'require 5.004;exit' | $PERL
then
  : # Solaris and OSF/1 /bin/sh don't know about negation operators...
else
  { echo "configure: error: You don't have Perl 5.004..." 1>&2; exit 1; }
  exit 1
fi
# Check whether --with-perl-w or --without-perl-w was given.
if test "${with_perl_w+set}" = set; then
  withval="$with_perl_w"
  PERLWARN=-w
else
  PERLWARN=

fi


# Extract the first word of "groff", so it can be a program name with args.
set dummy groff; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:665: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GROFF'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  case "$GROFF" in
  /*)
  ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_GROFF="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
fi
GROFF="$ac_cv_path_GROFF"
if test -n "$GROFF"; then
  echo "$ac_t""$GROFF" 1>&6
else
  echo "$ac_t""no" 1>&6
fi



echo $ac_n "checking whether ${GROFF} accepts -mgs""... $ac_c" 1>&6
echo "configure:696: checking whether ${GROFF} accepts -mgs" >&5
if eval "test \"`echo '$''{'ac_cv_sgmltools_groff_mgs'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    if test -z "`${GROFF} -mgs < /dev/null 2>&1`"; then
      ac_cv_sgmltools_groff_mgs=yes
   else
      ac_cv_sgmltools_groff_mgs=no
   fi

fi

echo "$ac_t""$ac_cv_sgmltools_groff_mgs" 1>&6

if test ${ac_cv_sgmltools_groff_mgs:-ERROR} = yes; then
  GROFFMACRO="-mgs"
else
  GROFFMACRO="-ms"
fi



# Extract the first word of "nsgmls", so it can be a program name with args.
set dummy nsgmls; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:721: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_NSGMLS'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  case "$NSGMLS" in
  /*)
  ac_cv_path_NSGMLS="$NSGMLS" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_NSGMLS="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
fi
NSGMLS="$ac_cv_path_NSGMLS"
if test -n "$NSGMLS"; then
  echo "$ac_t""$NSGMLS" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

# Check whether --with-installed-nsgmls or --without-installed-nsgmls was given.
if test "${with_installed_nsgmls+set}" = set; then
  withval="$with_installed_nsgmls"
  test -n "$NSGMLS" || { echo "configure: error: nsgmls not found" 1>&2; exit 1; }
   BUILD_NSGMLS=
else
  NSGMLS=\${prefix}/bin/nsgmls
   BUILD_NSGMLS=true

fi
 



# Extract the first word of "sgmlsasp", so it can be a program name with args.
set dummy sgmlsasp; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:766: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SGMLSASP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  case "$SGMLSASP" in
  /*)
  ac_cv_path_SGMLSASP="$SGMLSASP" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_SGMLSASP="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
fi
SGMLSASP="$ac_cv_path_SGMLSASP"
if test -n "$SGMLSASP"; then
  echo "$ac_t""$SGMLSASP" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

# Check whether --with-installed-sgmlsasp or --without-installed-sgmlsasp was given.
if test "${with_installed_sgmlsasp+set}" = set; then
  withval="$with_installed_sgmlsasp"
  test -n "$SGMLSASP" || { echo "configure: error: sgmlsasp not found" 1>&2; exit 1; }
   BUILD_SGMLSASP=
else
  SGMLSASP=\${prefix}/bin/sgmlsasp
   BUILD_SGMLSASP=true

fi
 



# Check whether --with-installed-entity-map or --without-installed-entity-map was given.
if test "${with_installed_entity_map+set}" = set; then
  withval="$with_installed_entity_map"
  BUILD_ENTITY_MAP=
else
  BUILD_ENTITY_MAP=true

fi



# Check whether --with-installed-iso-entities or --without-installed-iso-entities was given.
if test "${with_installed_iso_entities+set}" = set; then
  withval="$with_installed_iso_entities"
  BUILD_ISO_ENTITIES=
else
  BUILD_ISO_ENTITIES=true

fi



BINDIR='${prefix}/bin'
LIBDIR='${prefix}/lib/sgml-tools'



if test "$BUILD_NSGMLS" = "true"
then
  SUB=sp
fi
if test "$BUILD_ENTITY_MAP" = "true"
then
  SUB="$SUB entity-map"
fi

if test "$BUILD_ISO_ENTITIES" = "true"
then
  SUB="$SUB iso-entities"
fi

subdirs="$SUB"


trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
fi

trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs


# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
  case "\$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.12"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"

trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@CFLAGS@%$CFLAGS%g
s%@CPPFLAGS@%$CPPFLAGS%g
s%@CXXFLAGS@%$CXXFLAGS%g
s%@DEFS@%$DEFS%g
s%@LDFLAGS@%$LDFLAGS%g
s%@LIBS@%$LIBS%g
s%@exec_prefix@%$exec_prefix%g
s%@prefix@%$prefix%g
s%@program_transform_name@%$program_transform_name%g
s%@bindir@%$bindir%g
s%@sbindir@%$sbindir%g
s%@libexecdir@%$libexecdir%g
s%@datadir@%$datadir%g
s%@sysconfdir@%$sysconfdir%g
s%@sharedstatedir@%$sharedstatedir%g
s%@localstatedir@%$localstatedir%g
s%@libdir@%$libdir%g
s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@PERL@%$PERL%g
s%@PERLWARN@%$PERLWARN%g
s%@GROFF@%$GROFF%g
s%@GROFFMACRO@%$GROFFMACRO%g
s%@NSGMLS@%$NSGMLS%g
s%@BUILD_NSGMLS@%$BUILD_NSGMLS%g
s%@SGMLSASP@%$SGMLSASP%g
s%@BUILD_SGMLSASP@%$BUILD_SGMLSASP%g
s%@BUILD_ENTITY_MAP@%$BUILD_ENTITY_MAP%g
s%@BUILD_ISO_ENTITIES@%$BUILD_ISO_ENTITIES%g
s%@BINDIR@%$BINDIR%g
s%@LIBDIR@%$LIBDIR%g
s%@subdirs@%$subdirs%g

CEOF
EOF

cat >> $CONFIG_STATUS <<\EOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi
EOF

cat >> $CONFIG_STATUS <<EOF

CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac

  case "$ac_given_INSTALL" in
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  esac

  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*

EOF
cat >> $CONFIG_STATUS <<EOF

EOF
cat >> $CONFIG_STATUS <<\EOF

exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

if test "$no_recursion" != yes; then

  # Remove --cache-file and --srcdir arguments so they do not pile up.
  ac_sub_configure_args=
  ac_prev=
  for ac_arg in $ac_configure_args; do
    if test -n "$ac_prev"; then
      ac_prev=
      continue
    fi
    case "$ac_arg" in
    -cache-file | --cache-file | --cache-fil | --cache-fi \
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
      ac_prev=cache_file ;;
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
      ;;
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
      ac_prev=srcdir ;;
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
      ;;
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    esac
  done

  for ac_config_dir in $SUB; do

    # Do not complain, so a configure script can configure whichever
    # parts of a large source tree are present.
    if test ! -d $srcdir/$ac_config_dir; then
      continue
    fi

    echo configuring in $ac_config_dir

    case "$srcdir" in
    .) ;;
    *)
      if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
      else
        { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
      fi
      ;;
    esac

    ac_popdir=`pwd`
    cd $ac_config_dir

      # A "../" for each directory in /$ac_config_dir.
      ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`

    case "$srcdir" in
    .) # No --srcdir option.  We are building in place.
      ac_sub_srcdir=$srcdir ;;
    /*) # Absolute path.
      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
    *) # Relative path.
      ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
    esac

    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_sub_srcdir/configure; then
      ac_sub_configure=$ac_sub_srcdir/configure
    elif test -f $ac_sub_srcdir/configure.in; then
      ac_sub_configure=$ac_configure
    else
      echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
      ac_sub_configure=
    fi

    # The recursion is here.
    if test -n "$ac_sub_configure"; then

      # Make the cache file name correct relative to the subdirectory.
      case "$cache_file" in
      /*) ac_sub_cache_file=$cache_file ;;
      *) # Relative path.
        ac_sub_cache_file="$ac_dots$cache_file" ;;
      esac
  case "$ac_given_INSTALL" in
        [/$]*) INSTALL="$ac_given_INSTALL" ;;
        *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
        esac

      echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
      # The eval makes quoting arguments work.
      if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
      then :
      else
        { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
      fi
    fi

    cd $ac_popdir
  done
fi


if test "$BUILD_SGMLSASP" = "true"
then
  echo "Configuring sgmls-1.1";
  cd sgmls-1.1; make config.h; cd ..
fi
sgml-tools-1.0.9/configure.in100640   1010    764        4521  6546100105  14423 0ustar  cgacriterdnl
dnl  configure.in
dnl
dnl  $Id: configure.in,v 1.12 1998/06/30 06:05:57 cg Exp $
dnl
dnl  Process this file with autoconf to produce a configure script.

AC_INIT(sgmls-1.1)

AC_PROG_INSTALL

AC_PATH_PROG(PERL, perl)
AC_SUBST(PERL)
if echo 'require 5.004;exit' | $PERL
then
  : # Solaris and OSF/1 /bin/sh don't know about negation operators...
else
  AC_MSG_ERROR(You don't have Perl 5.004...)
  exit 1
fi
AC_ARG_WITH(perl-w,
[  --with-perl-w                use perl -w option],
   PERLWARN=-w,
   PERLWARN=
)
AC_SUBST(PERLWARN)
AC_PATH_PROG(GROFF, groff)
AC_SUBST(GROFF)

dnl Check if groff should take -mgs or -ms
AC_CACHE_CHECK(whether ${GROFF} accepts -mgs, ac_cv_sgmltools_groff_mgs,
[  if test -z "`${GROFF} -mgs < /dev/null 2>&1`"; then
      ac_cv_sgmltools_groff_mgs=yes
   else
      ac_cv_sgmltools_groff_mgs=no
   fi
])

if test ${ac_cv_sgmltools_groff_mgs:-ERROR} = yes; then
  GROFFMACRO="-mgs"
else
  GROFFMACRO="-ms"
fi
AC_SUBST(GROFFMACRO)


AC_PATH_PROG(NSGMLS, nsgmls)
AC_ARG_WITH(installed-nsgmls,
[  --with-installed-nsgmls      use installed nsgmls],
   test -n "$NSGMLS" || AC_MSG_ERROR(nsgmls not found)
   BUILD_NSGMLS=,
   NSGMLS=\${prefix}/bin/nsgmls
   BUILD_NSGMLS=true
) 
AC_SUBST(NSGMLS)
AC_SUBST(BUILD_NSGMLS)

AC_PATH_PROG(SGMLSASP, sgmlsasp)
AC_ARG_WITH(installed-sgmlsasp,
[  --with-installed-sgmlsasp    use installed sgmlsasp],
   test -n "$SGMLSASP" || AC_MSG_ERROR(sgmlsasp not found)
   BUILD_SGMLSASP=,
   SGMLSASP=\${prefix}/bin/sgmlsasp
   BUILD_SGMLSASP=true
) 
AC_SUBST(SGMLSASP)
AC_SUBST(BUILD_SGMLSASP)

AC_ARG_WITH(installed-entity-map,
[  --with-installed-entity-map  use installed entity-map],
   BUILD_ENTITY_MAP=,
   BUILD_ENTITY_MAP=true
)
AC_SUBST(BUILD_ENTITY_MAP)

AC_ARG_WITH(installed-iso-entities,
[  --with-installed-iso-entities  use installed iso-entities],
   BUILD_ISO_ENTITIES=,
   BUILD_ISO_ENTITIES=true
)
AC_SUBST(BUILD_ISO_ENTITIES)

dnl
dnl  Set directory names.
dnl
BINDIR='${prefix}/bin'
LIBDIR='${prefix}/lib/sgml-tools'
AC_SUBST(BINDIR)
AC_SUBST(LIBDIR)

if test "$BUILD_NSGMLS" = "true"
then
  SUB=sp
fi
if test "$BUILD_ENTITY_MAP" = "true"
then
  SUB="$SUB entity-map"
fi

if test "$BUILD_ISO_ENTITIES" = "true"
then
  SUB="$SUB iso-entities"
fi

AC_CONFIG_SUBDIRS($SUB)

AC_OUTPUT(Makefile)

if test "$BUILD_SGMLSASP" = "true"
then
  echo "Configuring sgmls-1.1";
  cd sgmls-1.1; make config.h; cd ..
fi
sgml-tools-1.0.9/install.sh100755   1010    764       11065  6276020752  14155 0ustar  cgacriter#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#


# set DOITPROG to echo to test this script

# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"


# put in absolute paths if you don't have them in your path; or use env. vars.

mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"

tranformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""

while [ x"$1" != x ]; do
    case $1 in
	-c) instcmd="$cpprog"
	    shift
	    continue;;

	-d) dir_arg=true
	    shift
	    continue;;

	-m) chmodcmd="$chmodprog $2"
	    shift
	    shift
	    continue;;

	-o) chowncmd="$chownprog $2"
	    shift
	    shift
	    continue;;

	-g) chgrpcmd="$chgrpprog $2"
	    shift
	    shift
	    continue;;

	-s) stripcmd="$stripprog"
	    shift
	    continue;;

	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
	    shift
	    continue;;

	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
	    shift
	    continue;;

	*)  if [ x"$src" = x ]
	    then
		src=$1
	    else
		# this colon is to work around a 386BSD /bin/sh bug
		:
		dst=$1
	    fi
	    shift
	    continue;;
    esac
done

if [ x"$src" = x ]
then
	echo "install:	no input file specified"
	exit 1
else
	true
fi

if [ x"$dir_arg" != x ]; then
	dst=$src
	src=""
	
	if [ -d $dst ]; then
		instcmd=:
	else
		instcmd=mkdir
	fi
else

# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad 
# if $src (and thus $dsttmp) contains '*'.

	if [ -f $src -o -d $src ]
	then
		true
	else
		echo "install:  $src does not exist"
		exit 1
	fi
	
	if [ x"$dst" = x ]
	then
		echo "install:	no destination specified"
		exit 1
	else
		true
	fi

# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic

	if [ -d $dst ]
	then
		dst="$dst"/`basename $src`
	else
		true
	fi
fi

## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`

# Make sure that the destination directory exists.
#  this part is taken from Noah Friedman's mkinstalldirs script

# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='	
'
IFS="${IFS-${defaultIFS}}"

oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"

pathcomp=''

while [ $# -ne 0 ] ; do
	pathcomp="${pathcomp}${1}"
	shift

	if [ ! -d "${pathcomp}" ] ;
        then
		$mkdirprog "${pathcomp}"
	else
		true
	fi

	pathcomp="${pathcomp}/"
done
fi

if [ x"$dir_arg" != x ]
then
	$doit $instcmd $dst &&

	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else

# If we're going to rename the final executable, determine the name now.

	if [ x"$transformarg" = x ] 
	then
		dstfile=`basename $dst`
	else
		dstfile=`basename $dst $transformbasename | 
			sed $transformarg`$transformbasename
	fi

# don't allow the sed command to completely eliminate the filename

	if [ x"$dstfile" = x ] 
	then
		dstfile=`basename $dst`
	else
		true
	fi

# Make a temp file name in the proper directory.

	dsttmp=$dstdir/#inst.$$#

# Move or copy the file name to the temp name

	$doit $instcmd $src $dsttmp &&

	trap "rm -f ${dsttmp}" 0 &&

# and set any options; do chmod last to preserve setuid bits

# If any of these fail, we abort the whole thing.  If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.

	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&

# Now rename the file to the real destination.

	$doit $rmcmd -f $dstdir/$dstfile &&
	$doit $mvcmd $dsttmp $dstdir/$dstfile 

fi &&


exit 0
sgml-tools-1.0.9/sgml-tools.lsm100640   1010    764        1242  6455230244  14733 0ustar  cgacriterTitle:		SGML-Tools
Version:	1.0.3
Entered-date:	23NOV97
Description:	SGML documentation tools. Create plain text (with groff),
                DVI or PostScript (with LaTeX), HTML, GNU info, LyX,
	        and RTF, output from a single SGML source file.
Keywords:       doc,HOWTO,text,formatting,SGML,LaTeX,groff,HTML,info,LyX,RTF 
Author: 	Matt Welsh <mdw@sunsite.unc.edu>
Maintained-by:	Cees de Groot <cg@pobox.com>
Primary-site:	sunsite.unc.edu /pub/Linux/utils/text
                1.0M sgml-tools-1.0.0.tar.gz
		10k  sgml-tools-1.0.0.lsm
Platforms:	Perl5.004 or later; LaTeX and/or Groff for their respective
                backends.
Copying-policy:	Public Domain.
End
sgml-tools-1.0.9/bin/ 40755   1010    764           0  6611717445  12605 5ustar  cgacritersgml-tools-1.0.9/bin/.cvsignore100640   1010    764          12  6406066563  14627 0ustar  cgacritersgmltools
sgml-tools-1.0.9/bin/sgmltools.in100750   1010    764        1402  6545771015  15247 0ustar  cgacriter#!@PERL@ @PERLWARN@
#
#   sgmltools.in
#
#   $Id: sgmltools.in,v 1.5 1998/06/29 19:59:09 cg Exp $
#
#   SGML-Tools driver. Calls all other SGML-Tools components, contains
#   configuration information, etcetera.
#
package main;

sub BEGIN 
{
  require 5.004;
}
use strict;

use vars qw($prefix $LibDir $BinDir $progs);

$prefix = "@prefix@";
$LibDir = "@LIBDIR@";
$BinDir = "@BINDIR@";

use lib "@LIBDIR@";
use lib "@prefix@/perl5";
use lib "@prefix@/lib/perl5";
$progs = {
  "NSGMLS" => "@NSGMLS@",
  "SGMLSASP" => "@SGMLSASP@",
  "GROFF" => "@GROFF@",
  "GROFFMACRO" => "@GROFFMACRO@"
};

require SGMLTools;
&SGMLTools::init;

my @FileList = SGMLTools::process_options ($0, @ARGV);
for my $curfile (@FileList)
  {
    SGMLTools::process_file ($curfile);
  }

exit 0;

sgml-tools-1.0.9/contrib/ 40755   1010    764           0  6611717445  13475 5ustar  cgacritersgml-tools-1.0.9/contrib/README100640   1010    764         176  6250535216  14423 0ustar  cgacriterHere is some stuff that hasn't made it into linuxdoc-sgml yet, and other
generally useful stuff that people have sent to me.

sgml-tools-1.0.9/contrib/extract100640   1010    764         423  6250535216  15133 0ustar  cgacriter
% tangle: Replacement file generating m4 code for source code
% author: Tom Gordon
% institute: GMD, F3/XPS

% discard everything except code
% pipe out through:   sed -e '/<omit>/,/<\/omit>/d'

<qwertz>	+	"<omit>"		+

<code>		+	"</omit>"		+
</code>		+       "<omit>"		+



sgml-tools-1.0.9/contrib/linuxdoc-sgml.el100640   1010    764       12557  6276006730  16722 0ustar  cgacriter;;; linuxdoc-sgml.el --- sgml-mode enhancements for linuxdoc

;; Copyright (C) 1996 by Free Software Foundation, Inc.

;; Author: Arun Sharma <asharma@sco.com>
;; Keywords: docs, languages

;; This file is part of GNU Emacs.

;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to
;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;; Installation:
;;     Make sure that this file is in your load-path and put this line
;;     in your .emacs.
;;     (autoload 'linuxdoc-sgml-mode "linuxdoc-sgml" t t)
;;     (setq auto-mode-alist (cons '("\\.sgml$" . linuxdoc-sgml-mode)
;;                                  auto-mode-alist))
;;; Code:

(require 'sgml-mode)

(defvar  linuxdoc-sgml-tag-alist 
  (let* ((htmlurl '(("ftp:") ("file:") ("finger:")
		    ("gopher:") ("http:") ("mailto:") ("news:")
		    ("rlogin:") ("telnet:") ("tn3270:") ("wais:")
		    ("/cgi-bin/")))
	 (name '(str))
	 (id '(str)))
    `(("abstract" \n)
      ("article" \n)
      ("author" t)
      ("bf")
      ("date" t)
      ("descrip")
      ("enum" \n)
      ("footnote")
      ("htmlurl" t ("url" ,@htmlurl) ("name" ,@name))
      ("item" t)
      ("itemize" \n)
      ("label" ("id" ,@id))
      ("p" t)
      ("quote" \n)
      ("ref" t ("id") ("name" ,@name))
      ("sect"   (t  (setq str (read-input "Sect: ")) "\n<p>\n"))
      ("sect1"  (t  (setq str (read-input "Sect1: ")) "\n<p>\n"))
      ("sect2"  (t  (setq str (read-input "Sect2: ")) "\n<p>\n"))
      ("sect3"  (t  (setq str (read-input "Sect3: ")) "\n<p>\n"))
      ("sect4"  (t  (setq str (read-input "Sect4: ")) "\n<p>\n"))
      ("tag")
      ("title" (t  (setq str (read-input "Title: ")) "\n"))
      ("toc" t)
      ("tscreen")
      ("tt")
      ("url" t ("url" ,@htmlurl) ("name" ,@name))
      ("verb" \n)))
    "Linuxdoc specific tags")

(defvar  linuxdoc-sgml-tag-help 
  '(("abstract" . "Abstract of the document") 
    ("article" . "Beginning of the article")
    ("author" . "Name of the Author")
    ("bf" . "Bold font")     
    ("date" . "Date")
    ("descrip" . "Description environment")
    ("enum" . "Enumerated items")
    ("footnote" . "Footnotes")
    ("htmlurl" . "Insert a URL that shows up only in the HTML version")
    ("item" . "An enumerated or unordered item")
    ("itemize" . "Unordered list")
    ("label" . "A label for cross reference")
    ("p" . "Marks the end of the sect* tag")
    ("quote" . "Quote a piece of text")
    ("ref" . "Cross reference")
    ("sect"  . "Main section heading") 
    ("sect1" . "Level 1 section heading")
    ("sect2" . "Level 2 section heading")
    ("sect3" . "Level 3 section heading") 
    ("sect4" . "Level 4 section heading")
    ("tag"   . "A description tag")    
    ("title" . "Title of the document")
    ("toc" . "The table of contents")
    ("tscreen" . "Indents the text and uses tt font")
    ("tt" . "Uses the tt font")     
    ("url" . "Insert a URL")
    ("verb" . "The text will be typed verbatim"))
  "Help for linuxdoc specific tags")

(defvar linuxdoc-sgml-tag-face-alist
  '(("abstract" . underline)
    ("article" . italic)
    ("author" . italic)
    ("bf" . bold)
    ("date" . italic)
    ("descrip" . font-lock-reference-face)
    ("enum" . font-lock-type-face)
    ("footnote" . font-lock-keyword-face)
    ("htmlurl" . font-lock-string-face)
    ("item" . font-lock-function-name-face)
    ("itemize" . font-lock-type-face)
    ("label" . font-lock-comment-face)
    ("p" . default)
    ("quote" . underline)
    ("ref" . font-lock-comment-face)
    ("sect"  . underline)
    ("sect1" . underline)
    ("sect2" . underline)
    ("sect3" . underline)
    ("sect4" . underline)
    ("tag"   . font-lock-function-name-face)
    ("title" . underline)
    ("toc" . default)
    ("tscreen" . underline)
    ("tt" . underline)
    ("url" . font-lock-string-face)
    ("verb" . underline))
    "Value of `sgml-tag-face-alist' for linuxdoc-sgml mode.")

(defun linuxdoc-sgml-mode ()
  "Major mode based on SGML mode for editing linuxdoc-sgml documents.
See the documentation on sgml-mode for more info. This mode
understands the linuxdoc-sgml tags."
  (interactive)
  (sgml-mode-common linuxdoc-sgml-tag-face-alist nil)
  (use-local-map sgml-mode-map)
  (make-local-variable 'sgml-tag-alist)
  (make-local-variable 'sgml-face-tag-alist)
  (make-local-variable 'sgml-tag-help)
  (make-local-variable 'outline-regexp)
  (make-local-variable 'outline-heading-end-regexp)
  (make-local-variable 'outline-level)
  (setq mode-name "LD-SGML"
        major-mode 'linuxdoc-sgml-mode
	sgml-tag-alist linuxdoc-sgml-tag-alist
	sgml-face-tag-alist linuxdoc-sgml-tag-face-alist
	sgml-tag-help linuxdoc-sgml-tag-help
	outline-regexp "^.*<sect[1-4]\\>"
	outline-heading-end-regexp "<p>"
	outline-level (lambda ()
			(char-after (1- (match-end 0)))))
  (run-hooks 'linuxdoc-sgml-mode-hook))


(provide 'linuxdoc-sgml)

;;; linuxdoc-sgml.el ends here
sgml-tools-1.0.9/contrib/make-all.sh100750   1010    764        2163  6250535216  15602 0ustar  cgacriter
#!/bin/sh
#
# $Id: make-all.sh,v 1.1.1.1 1996/12/02 11:16:30 cg Exp $
#
# make all available howtos into all available formats
# -----------------------------------------------------
# this assumes a directory structure with subdirectories named
# txt, html, info, ps under the $HOWTO directory that contains
# files of the format "something-howto"
#
# vince@halcyon.com
#
# ---------- start editing here ------------------------------

# where are the howtos 
HOWTOS="/home/vince/howtos"

# what formats are available
FORMATS="txt html info ps"

# ---------- stop editing here -------------------------------

if [ -d $HOWTOS ]
then
   cd $HOWTOS

   #-- loop through the howto files ----
   for file in *howto
   do

     #-- loop over the various formats for this file
     for FORMAT in $FORMATS
     do
        if [ -d $HOWTOS/$FORMAT ]
        then
  	  cd $HOWTOS/$FORMAT
    	  echo "..................processing $file ($FORMAT)........................."
	  sgml2$FORMAT $HOWTOS/$file
        else
          echo "can't cd to $FORMAT subdirectory"
        fi
     done

  done

else
   echo "exiting - no dir $HOWTOS found..."
fi
sgml-tools-1.0.9/contrib/make-one.sh100750   1010    764        2023  6250535216  15606 0ustar  cgacriter#!/bin/sh
#
# $Id: make-one.sh,v 1.1.1.1 1996/12/02 11:16:30 cg Exp $
#
# make one user-specified howto into all available formats
# ---------------------------------------------------------
# this assumes a directory structure with subdirectories named
# txt, html, info, ps under the $HOWTO directory that contains
# files of the format "something-howto"
#
# vince@halcyon.com
#
# ---------- start editing here ------------------------------

# where are the howtos 
HOWTOS="/home/vince/howtos"

# what formats are available
FORMATS="txt html info ps"

# ---------- stop editing here -------------------------------

# stick the filename in a variable that's readable
file=$1

if [ -f $HOWTOS/$file ]
then

   for FORMAT in $FORMATS
   do
      if [ -d $HOWTOS/$FORMAT ]
      then
	cd $HOWTOS/$FORMAT
	echo "..................processing $file........................."
	sgml2$FORMAT $HOWTOS/$file
      else
        echo "can't cd to $FORMAT subdirectory"
      fi
   done

else
   echo "exiting - no file $file found in dir $HOWTOS..."
fi
sgml-tools-1.0.9/contrib/makeindex.pl100640   1010    764        6571  6250535216  16072 0ustar  cgacriterFrom dan@detached.demon.co.uk Mon Mar  4 20:54:09 1996
Received: from burdell.cc.gatech.edu (root@burdell.cc.gatech.edu [130.207.3.207]) by anacreon.cc.gatech.edu (8.7.1/8.6.9) with ESMTP id UAA08880 for <gregh@anacreon.cc.gatech.edu>; Mon, 4 Mar 1996 20:47:07 -0500 (EST)
Received: from detached.demon.co.uk (dan@detached.demon.co.uk [194.222.13.128]) by burdell.cc.gatech.edu (8.7.1/8.6.9) with SMTP id UAA17540 for <gregh@cc.gatech.edu>; Mon, 4 Mar 1996 20:44:19 -0500 (EST)
Received: (from dan@localhost) by detached.demon.co.uk (8.6.12/8.6.12) id BAA01202; Tue, 5 Mar 1996 01:45:08 GMT
Date: Tue, 5 Mar 1996 01:45:08 GMT
Message-Id: <199603050145.BAA01202@detached.demon.co.uk>
From: Daniel Barlow <dan@detached.demon.co.uk>
To: gregh@cc.gatech.edu (Greg Hankins)
Subject: Re: makeindex.pl
In-Reply-To: <199603040501.AAA03412@anacreon.cc.gatech.edu>
References: <199603040501.AAA03412@anacreon.cc.gatech.edu>
X-Attribution: dan
Status: RO

Greg Hankins <gregh@cc.gatech.edu> writes:
>Hi, I was formatting the GCC HOWTO, and I saw the reference to your
>makeindex.pl script.  Could I have a look at it, and possibly
>distribute it with Linuxdoc-SGML?

Certainly.  It comes attached with caveats: to wit, it's a brutal
kludge.  It works for me, for the GCC HOWTO, but don't expect it to
work in the general case without checking the output it produces.

The way I use it is to insert 

<index "chewing gum">

at the point that I want an index entry for `chewing gum' (the
intention is that you can have arbitrary markup as well, but this
doesn't work for anything other than  the cases that `sub textof'
deals with) and

<PRINTINDEX>

at the end of the document.  I'll probably keep playing with it as I
find new things for it to do, but for anyone who finds it useful in
its current form, this is the thing.

---cut here---
#!/usr/bin/perl

$/='';				# input in paragraphs
$idxnum=0;

print "             <!-- Warning to the author: -->\n";
print "<!-- Automatically generated by $0: EDIT THE SOURCE INSTEAD -->\n";
while(<STDIN>) {
    s@<([a-z]+),([^,]+),@<$1>$2</$1>@gs; 
    while(s@\<index\W\"([^\"]*)\"\>@<label id="index.$idxnum"> <!-- $1 -->@ ){
        $indices{$1}.="$idxnum:";
#	print STDERR $1."   ";
#	print STDERR &textof($1)."\n";
        $idxnum++;
    };
    &printindex if(/\<PRINTINDEX\>/) ;
    print;
}

sub printindex {
    while (($text,$refs) = each %indices) {
	$entry="\n<item> $text ";
	foreach $ref(split(/:/,$refs)) {
	    $entry.="<ref id=\"index.$ref\" name=\"$ref\"> ";
	}
	push(@ndex,$entry);
    }
    print <<MESSAGE
<sect>Index

<p>Entries starting with a non-alphabetical character are listed in ASCII 
order.  

<itemize>

MESSAGE
    ;
    @ndex=(sort textonly @ndex);
    print @ndex;
    print "\n</itemize>\n\n";
    $_=""; 
}

sub textonly { &textof($a) cmp &textof($b) };

# Vicious and kludgey markup stripper.  Doesn't have to be perfect (isn't)
# but must remove all leading crud so that index sorts properly

sub textof { 
    local($bar)=@_;
    while($bar ne $foo) {
	$foo = $bar;
	$bar =~ s/\<[^\/\>]*.//g;
	$bar =~ s/&[A-Za-z]*;//g;
    }
    $bar=~tr/A-Z/a-z/;
    $bar;
}
---cut here---

I intend to give the ELF HOWTO an index in its next version (mainly
for the practice), so that might knock out a few more oddities

Daniel
-- 
http://ftp.linux.org.uk/~barlow/, dan@detached.demon.co.uk, PGP key ID 5F263625

 ``Consistency is the last refuge of the unimaginative''      --- Oscar Wilde

sgml-tools-1.0.9/contrib/sgml-mode.el100640   1010    764       21160  6250535216  16005 0ustar  cgacriter;;; sgml-mode.el --- mode for editing SGML (ISO 8879)

;; Copyright (C) 1992 Free Software Foundation, Inc.

;; Author: James Clark <jjc@jclark.com>
;; Version: 1.0

;; This file is not yet part of GNU Emacs.

;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 1, or (at your option)
;; any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

;;; Commentary:

;; Some suggestions for your .emacs file:
;;
;; (autoload 'sgml-mode "sgml-mode" "SGML mode" t)
;;
;; (setq auto-mode-alist 
;;       (append (list (cons "\\.sgm$" 'sgml-mode)
;;                     (cons "\\.sgml$"  'sgml-mode)
;;                     (cons "\\.dtd$" 'sgml-mode))
;;               auto-mode-alist))

;;; Code:

(provide 'sgml-mode)
(require 'compile)

;;; sgmls is a free SGML parser available from
;;; ftp.uu.net:pub/text-processing/sgml
;;; Its error messages can be parsed by next-error.
;;; The -s option suppresses output.

(defconst sgml-validate-command
  "sgmlcheck"
  "*The command to validate an SGML document.
The file name of current buffer file name will be appended to this,
separated by a space.")

(defvar sgml-saved-validate-command nil
  "The command last used to validate in this buffer.")

(defvar sgml-mode-map nil "Keymap for SGML mode")

(if sgml-mode-map
    ()
  (setq sgml-mode-map (make-sparse-keymap))
  (define-key sgml-mode-map ">" 'sgml-close-angle)
  (define-key sgml-mode-map "/" 'sgml-slash)
  (define-key sgml-mode-map "\C-c\C-v" 'sgml-validate))

(defun sgml-mode ()
  "Major mode for editing SGML.
Makes > display the matching <.  Makes / display matching /.
Use \\[sgml-validate] to validate your document with an SGML parser."
  (interactive)
  (kill-all-local-variables)
  (setq local-abbrev-table text-mode-abbrev-table)
  (use-local-map sgml-mode-map)
  (setq mode-name "SGML")
  (setq major-mode 'sgml-mode)
  (make-local-variable 'paragraph-start)
  ;; A start or end tag by itself on a line separates a paragraph.
  ;; This is desirable because SGML discards a newline that appears
  ;; immediately after a start tag or immediately before an end tag.
  (setq paragraph-start
	"^[ \t\n]\\|\
\\(</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$\\)")
  (make-local-variable 'paragraph-separate)
  (setq paragraph-separate
	"^[ \t\n]*$\\|\
^</?\\([A-Za-z]\\([-.A-Za-z0-9= \t\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$")
  (make-local-variable 'sgml-saved-validate-command)
  (set-syntax-table text-mode-syntax-table)
  (make-local-variable 'comment-start)
  (setq comment-start "<!-- ")
  (make-local-variable 'comment-end)
  (setq comment-end " -->")
  (make-local-variable 'comment-indent-hook)
  (setq comment-indent-hook 'sgml-comment-indent)
  (make-local-variable 'comment-start-skip)
  ;; This will allow existing comments within declarations to be
  ;; recognized.
  (setq comment-start-skip "--[ \t]*")
  (run-hooks 'text-mode-hook 'sgml-mode-hook))

(defun sgml-comment-indent ()
  (if (and (looking-at "--")
	   (not (and (eq (char-after (1- (point))) ?!)
		     (eq (char-after (- (point) 2)) ?<))))
      (progn
	(skip-chars-backward " \t")
	(max comment-column (1+ (current-column))))
    0))

(defconst sgml-start-tag-regex
  "<[A-Za-z]\\([-.A-Za-z0-9= \n\t]\\|\"[^\"]*\"\\|'[^']*'\\)*"
  "Regular expression that matches a non-empty start tag.
Any terminating > or / is not matched.")

(defvar sgml-mode-markup-syntax-table nil
  "Syntax table used for scanning SGML markup.")

(if sgml-mode-markup-syntax-table
    ()
  (setq sgml-mode-markup-syntax-table (make-syntax-table))
  (modify-syntax-entry ?< "(>" sgml-mode-markup-syntax-table)
  (modify-syntax-entry ?> ")<" sgml-mode-markup-syntax-table)
  (modify-syntax-entry ?- "_ 1234" sgml-mode-markup-syntax-table)
  (modify-syntax-entry ?\' "\"" sgml-mode-markup-syntax-table))

(defconst sgml-angle-distance 4000
  "*If non-nil, is the maximum distance to search for matching <
when > is inserted.")

(defun sgml-close-angle (arg)
  "Insert > and display matching <."
  (interactive "p")
  (insert-char ?> arg)
  (if (> arg 0)
      (let ((oldpos (point))
	    (blinkpos))
	(save-excursion
	  (save-restriction
	    (if sgml-angle-distance
		(narrow-to-region (max (point-min)
				       (- (point) sgml-angle-distance))
				  oldpos))
	    ;; See if it's the end of a marked section.
	    (and (> (- (point) (point-min)) 3)
		 (eq (char-after (- (point) 2)) ?\])
		 (eq (char-after (- (point) 3)) ?\])
		 (re-search-backward "<!\\[\\(-?[A-Za-z0-9. \t\n&;]\\|\
--\\([^-]\\|-[^-]\\)*--\\)*\\["
				     (point-min)
				     t)
		 (let ((msspos (point)))
		   (if (and (search-forward "]]>" oldpos t)
			    (eq (point) oldpos))
		       (setq blinkpos msspos))))
	    ;; This handles cases where the > ends one of the following:
	    ;; markup declaration starting with <! (possibly including a
	    ;; declaration subset); start tag; end tag; SGML declaration.
	    (if blinkpos
		()
	      (goto-char oldpos)
	      (condition-case ()
		  (let ((oldtable (syntax-table))
			(parse-sexp-ignore-comments t))
		    (unwind-protect
			(progn
			  (set-syntax-table sgml-mode-markup-syntax-table)
			  (setq blinkpos (scan-sexps oldpos -1)))
		      (set-syntax-table oldtable)))
		(error nil))
	      (and blinkpos
		   (goto-char blinkpos)
		   (or
		    ;; Check that it's a valid delimiter in context.
		    (not (looking-at
			  "<\\(\\?\\|/?[A-Za-z>]\\|!\\([[A-Za-z]\\|--\\)\\)"))
		    ;; Check that it's not a net-enabling start tag
		    ;; nor an unclosed start-tag.
		    (looking-at (concat sgml-start-tag-regex "[/<]"))
		    ;; Nor an unclosed end-tag.
		    (looking-at "</[A-Za-z][-.A-Za-z0-9]*[ \t]*<"))
		   (setq blinkpos nil)))
	    (if blinkpos
		()
	      ;; See if it's the end of a processing instruction.
	      (goto-char oldpos)
	      (if (search-backward "<?" (point-min) t)
		  (let ((pipos (point)))
		    (if (and (search-forward ">" oldpos t)
			     (eq (point) oldpos))
			(setq blinkpos pipos))))))
	  (if blinkpos
	      (progn
		(goto-char blinkpos)
		(if (pos-visible-in-window-p)
		    (sit-for 1)
		  (message "Matches %s"
			   (buffer-substring blinkpos
					     (progn (end-of-line)
						    (point)))))))))))

;;; I doubt that null end tags are used much for large elements,
;;; so use a small distance here.
(defconst sgml-slash-distance 1000
  "*If non-nil, is the maximum distance to search for matching /
when / is inserted.")

(defun sgml-slash (arg)
  "Insert / and display any previous matching /.
Two /s are treated as matching if the first / ends a net-enabling
start tag, and the second / is the corresponding null end tag."
  (interactive "p")
  (insert-char ?/ arg)
  (if (> arg 0)
      (let ((oldpos (point))
	    (blinkpos)
	    (level 0))
	(save-excursion
	  (save-restriction
	    (if sgml-slash-distance
		(narrow-to-region (max (point-min)
				       (- (point) sgml-slash-distance))
				  oldpos))
	    (if (and (re-search-backward sgml-start-tag-regex (point-min) t)
		     (eq (match-end 0) (1- oldpos)))
		()
	      (goto-char (1- oldpos))
	      (while (and (not blinkpos)
			  (search-backward "/" (point-min) t))
		(let ((tagend (save-excursion
				(if (re-search-backward sgml-start-tag-regex
							(point-min) t)
				    (match-end 0)
				  nil))))
		  (if (eq tagend (point))
		      (if (eq level 0)
			  (setq blinkpos (point))
			(setq level (1- level)))
		    (setq level (1+ level)))))))
	  (if blinkpos
	      (progn
		(goto-char blinkpos)
		(if (pos-visible-in-window-p)
		    (sit-for 1)
		  (message "Matches %s"
			   (buffer-substring (progn
					       (beginning-of-line)
					       (point))
					     (1+ blinkpos))))))))))

(defun sgml-validate (command)
  "Validate an SGML document.
Runs COMMAND, a shell command, in a separate process asynchronously
with output going to the buffer *compilation*.
You can then use the command \\[next-error] to find the next error message
and move to the line in the SGML document that caused it."
  (interactive
   (list (read-string "Validate command: "
		      (or sgml-saved-validate-command
			  (concat sgml-validate-command
				  " "
				  (let ((name (buffer-file-name)))
				    (and name
					 (file-name-nondirectory name))))))))
  (setq sgml-saved-validate-command command)
  (compile command))

;;; sgml-mode.el ends here
sgml-tools-1.0.9/contrib/sgml2index100750   1010    764       13120  6276045663  15607 0ustar  cgacriter#!/usr/bin/perl

# --header-------------------------------------------------
#
# sgml2index - (c) 1996 by Fabrizio Polacco <fpolacco@megabaud.fi>
#
# This program is under GPL License and is intended to be distributed
# with the package linuxdoc-sgml.
#
# --history------------------------------------------------
# ver.1.2 - 3 May 1996 - Fabrizio Polacco
#	+ Now works also with perl 4.036
#	+ Added -D flag for the link dir
#	+ fixed a bug to exit after printing of usage.
#
# ver.1.1 - 24 April 1996 - Fabrizio Polacco
#	+ fixed a bug on link to filename 
#	  (empty if dir-name not "sgml")
#
# ver.1.0 - 21 April 1996 - Fabrizio Polacco
#	+ built from scratch using perl 5.002
#
# --to-do--------------------------------------------------
# + eliminate all the errors (in English) in comments :-)
# + add a man page (maybe in "pod" format?)
# + check if each sgml starts declaring
#   <!doctype linuxdoc system> (ignore-case)
# + add a flag to use only sgml files with 
#   <article>|<book>|report>|<manpage> tag declarator.
# + check the output in formats other than html (ps, dvi ...)
#   changing the link from <htmlurl to <url will be used from -info- ?
#
# --description--------------------------------------------
# This utility reads every .sgml file that is in the current directory;
# (or the directory supplyed with the -d flag)
# for each file it memorizes the contents of the element titlepag:
#	<title> +<subtitle>,
#	<author> +<name> -<thanks> +<inst>, 
#	<date>,
#	<abstract>,
# until it encounters one of these tags:
#	<header>,
#	<toc>,
#	<lof>,
#	<lot>,
#	<p>,
#	<chapt>,
#	<sect>.
#
# then it prints the information in the following default format:
#	<!-- built %sysdate% -->
#	<itemize>	|	<descrip>	( if -2 )
#	..... (for each sgml file)
#	<item>		|	<tag>		( if -2 )
#		<htmlurl url="%link-dir%%filename%.html"
#			name="%title%">
#	<newline>	|	</tag>		( if -2 )
#		%author%
#	<newline>
#		%date%
#	<newline>
#		%abstract%
#	.....
#	</itemize>	|	</descrip>	( if -2 )
# ---------------------------------------------------------

require 'getopts.pl';
&Getopts('D:d:2h') || &usage(0);	# accept some flag
$opt_d = '.' if ! defined $opt_d;	# default current dir (.)
			# adds slash at the end of URL, if needed
$opt_D .= "/" if ( defined $opt_D && substr( $opt_D, -1, 1) ne "/");
&usage(0) if $opt_h;

sub usage
{
	print "usage: $0 [-h] [-2] [-d <sgml-dir>] [-D <link-dir>]\n";
	print <<EOF;
Builds an sgml list of <titlepag> infos from linuxdoc-sgml files.

Options:

-h		prints this message
-2		use alternate format
-d sgml-dir	search sgml files in <dir> instead than . (current dir)
-D link-dir	path-dir or full URL for the html files pointed to

EOF
	exit(0);
}

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isd) = localtime(time);

$first_time = 1;
foreach( `ls $opt_d/*.sgml` )
{
	m@/([-0-9A-Za-z_.]*).sgml@;
	$filename = $1;		# filename without path and extension
	$SGML = $_;		# full pathname
	
	undef $tag;
	undef $remark;
	undef %data;

	open( SGML) || die "Cannot open file $SGML.\n";	# maybe should only warn?
	SCAN: while(<SGML>)
	{
		# adds a space around every tag (for splitting purposes)
		$_ =~ s/</ </;
		$_ =~ s/>/> /;
		$_ =~ s/--[ 	]*>/-->/;	# it seems that comment could end with --> or -- >
		@_ = split;
		foreach(@_)
		{
			 $remark = 1		 if ( m,^<!--, ); # starts comment
			($remark = 0)	&&  next if ( m,-->$, );  # ends comment
			next if $remark;

			# what if sgml accept uppercase ?
			($tag = "TITL")	&& next if ( m,<title>, );	# title starts after 
					   next if ( m,<subtitle>, );	# accept in title
					   next if ( m,</subtitle>, );	# accept in title
			(undef $tag)	&& next if ( m,</title>, );	# title is finished
			($tag = "AUTH")	&& next if ( m,<author>, );	# author starts after
					   next if ( m,<name>, );	# accept in author
					   next if ( m,</name>, );	# accept in author
			(undef $tag)	&& next if ( m,<thanks>, );	# discard in author
			($tag = "AUTH")	&& next if ( m,</thanks>, );	# discard in author
					   next if ( m,<inst>, );	# accept in author
					   next if ( m,</inst>, );	# accept in author
			(undef $tag)	&& next if ( m,</author>, );	# author is finished
			($tag = "DATE")	&& next if ( m,<date>, );	# date starts after 
			(undef $tag)	&& next if ( m,</date>, );	# date is finished
			($tag = "ABST")	&& next if ( m,<abstract>, );	# abstract starts after 
			(undef $tag)	&& next if ( m,</abstract>, );	# abstract is finished

			# next file when reached one of these
			last SCAN if ( m,<header>, );
			last SCAN if ( m,<toc>, );
			last SCAN if ( m,<lof>, );
			last SCAN if ( m,<lot>, );
			last SCAN if ( m,<p>, );
			last SCAN if ( m,<chapt>, );
			last SCAN if ( m,<sect>, );

			# add the word 
			$data{$tag} .= "$_ " if defined $tag;
		}
	}
	# put some default values
	$data{"TITL"} = "$filename"		if ! defined $data{"TITL"};
	$data{"AUTH"} = "?? no author ??"	if ! defined $data{"AUTH"};
	$data{"DATE"} = "?? no date ??"		if ! defined $data{"DATE"};
###	$data{"ABST"} = "?? no abstract ??"	if ! defined $data{"ABST"};

	if ( $first_time )
	{
		printf( "<!-- built %d.%d.%d %d:%d:%d -->\n"
			, $year+1900, $mon+1, $mday, $hour, $min, $sec);
		printf( "<%s>\n\n", ($opt_2 ? "descrip" : "itemize"));
		$first_time = 0; 
	}
	printf( "<%s>\n", ($opt_2 ? "tag" : "item"));
	print "\t<htmlurl url=", '"', $opt_D.$filename,".html", '"', "\n";
	print "\t\tname=", '"', $data{"TITL"}, '"', ">\n";
	printf( "<%s>\n", ($opt_2 ? "/tag" : "newline"));
	print "\t", $data{"AUTH"}, "\n";
	print "<newline>\n";
	print "\t", $data{"DATE"}, "\n";
	if ( defined $data{"ABST"} )
	{
		print "<newline>\n";
		print "\t", $data{"ABST"}, "\n";
	}
	print "\n";
}
printf( "</%s>\n\n", ($opt_2 ? "descrip" : "itemize")) if ! $first_time;
sgml-tools-1.0.9/contrib/ttfix100640   1010    764        1650  6250535216  14642 0ustar  cgacriterTyping <tt> xxx </tt> around everything that needs it is a bore.  The
shortened form <tt/xxx/ is helpful, but no use if `xxx' includes a `/'
character.  Probably half the things I want to appear in fixed-width
font are pathnames ...

I preprocess my HOWTOs with this perl one-logical-liner, which allows
me to write

 <tt,/usr/doc/howto/, 

and have it transformed to

 <tt>/usr/doc/howto</tt>

In fact, it works for any other tag as well.  If you have a pressing
need to typeset lots of italic forward slashes, it will cope with
<em,////////, no problem.  A semi-reasonable example of this is

 <tt,/usr/lib/gcc-lib/,<em,target,<tt,/,<em/version/<tt,/, 

perl -e \
'undef $/; $_=<STDIN>;s@<([a-z]+),([^,]+),@<$1>$2</$1>@gs; print' \
<foo-howto.sgmlp >foo-howto.sgml

(actually, I have a Makefile which deals with all my sgml processing.
Don't forget to double the $ signs if you do likewise)
Daniel Barlow <daniel.barlow@sjc.ox.ac.uk>
sgml-tools-1.0.9/contrib/bk/ 40755   1010    764           0  6611717445  14071 5ustar  cgacritersgml-tools-1.0.9/contrib/bk/Makefile100640   1010    764        7671  6360707656  15641 0ustar  cgacriter################################################################################
#
# $Id: Makefile,v 1.1 1997/07/09 13:18:38 cg Exp $
#
################################################################################

# Name des aktuellen Subdirectory's und Version der Software
PACKAGE	= 

SHELL	= /bin/sh

################################################################################
#                                                                              #
#                    Start of system configuration section.                    #
#                                                                              #
################################################################################


################################################################################
#                                                                              #
#                              Implicit Rules                                  #
#                                                                              #
################################################################################


# ETEX 2 GIF
%.gif: %.etex
	wrapetex $< | latex | dvips f | pstogif

# GIF 2 EPS
%.eps: %.tif
	tiff2ps $< > $@ 

%.tif: %.gif
	gif2tiff $< $@

%.txt:  %.sgml
	sgml2txt $<

%.tex:	%.sgml
	sgml2latex -d $<

%.dvi:	%.sgml
	sgml2latex $< 

%.info: %.sgml
	sgml2info $<

%.ps:	%.dvi
	dvips $<

%.html:	%.sgml
	sgml2html $<


# Test suite, more to come.
all:	ldoc97 sgmlt ldocs


# Checking Linuxdoc96 (Strict)
ldoc97: minimal sample \
	entity section lists glossary96

# Checking Linuxdoc97 (Extended)
sgmlt:  glossary code math tables picture citation \
	appendix refs notes

# Documentation
ldocs:    example guide aspdoc

# Work in progress
work:    unsupp


clean:
	rm -f *.html *.tex *.txt *.dos *.dvi *.ps *~ 
	rm -f *.info *.glo *.aux *.log

#
# Test files
#
minimal:   minimal.ps minimal.html minimal.txt minimal.info
sample:	   sample.ps sample.html sample.txt sample.info
entity:	   entity.ps entity.html entity.txt entity.info
section:   section.ps section.html section.txt section.info
lists:     lists.ps lists.html lists.txt lists.info

glossary96:	\
	   glossary96.html glossary96.ps glossary96.txt glossary96.info



glossary:  glossary.html glossary.ps glossary.txt glossary.info
appendix:  appendix.html appendix.ps appendix.txt appendix.info
notes:     notes.html notes.ps notes.txt notes.info

tables:    tables.ps tables.html tables.txt tables.info
code:	   code.html code.ps code.txt code.info
refs:	   refs.html refs.ps refs.txt refs.info

math:	   math.etex f.etex \
	   math.html math.ps math.txt math.info


picture:   picture.eps picture.gif \
	   small_picture.eps small_picture.gif \
	   picture.ps picture.html picture.txt picture.info \

citation:  sgmltool.bib bibtex.bib \
	   citation.ps citation.html citation.txt citation.info


#
# These might fail.
#
subdoc:	   subdoc.html subdoc.ps subdoc.txt subdoc.info
test:	test.eps test.ps test.html test.txt test.info
unsupp:	 unsupp.ps unsupp.html unsupp.txt unsupp.info

#
# Linuxdoc SGML stuff, temporary
#
example: example.ps example.html example.txt example.info
guide:	guide.ps guide.html guide.txt guide.info
aspdoc:	aspdoc.ps aspdoc.html aspdoc.txt aspdoc.info

howto:  howto.ps howto.html howto.txt howto.info

#
# Kludge, kludge
#
SGMLT=/usr/local/lib/sgml-tools/
archive:
	rm -f test/*
	cp -a Makefile *.sgml *.gif *.bib *.eps *.etex  test/
	rm -f test.tgz
	tar -zcvf test.tgz test 
	cat test.tgz | uuencode test.tgz > test.uue

dtd:
	rm -f dtd/*
	cp -a $(SGMLT)/dtd/*  dtd/
	rm -f dtd.tgz
	tar -zcvf dtd.tgz dtd  
	cat dtd.tgz | uuencode dtd.tgz > dtd.uue


#	rm -f fixed/*
#	cp -a $(SGMLT)/rep/html/mapping fixed/html.mapping
#	cp -a $(SGMLT)/rep/latex2e/mapping  fixed/latex2e.mapping
#	cp -a $(SGMLT)/linuxdoc-sgml.sty     fixed/
#	cp -a $(SGMLT)/fmt_html.pl      fixed/	
#	cp -a $(SGMLT)/fmt_latex2e.pl   fixed/


### Emacs specials
###
### Local Variables: ***
### mode:text ***
### tab-width:8 ***
### End: ***
sgml-tools-1.0.9/contrib/bk/appendix.sgml100640   1010    764        2771  6360707657  16672 0ustar  cgacriter<!DOCTYPE sgmltool 
         PUBLIC "-//SGML-Tools//DTD SGML-Tools v0.9//EN" >

<!-- ================================================= -->
<!--

    $Id: appendix.sgml,v 1.1 1997/07/09 13:18:39 cg Exp $
     
    This is appendix.sgml, distributed with SGML-Tools.
    It serves as test file for appendices.

    $Log: appendix.sgml,v $
    Revision 1.1  1997/07/09 13:18:39  cg
    * Added contrib/bk, with a lot of work-in-progress from Bernd. (CdG)


    Comments: none.
    
                                                       -->
<!-- ================================================= -->


<article>

<title>TEST: Appendices
<author>b. kreimeier
<date>May 1997


<toc>

<sect>Main Body Text Section
<p>
The main body of the text is structured as usual,
consisting of (possibly) chapters, sections,
subsections, subsubsections, paragraphs, and
subpragraphs. You will be able to use the same
kind of classification to organize your appendices.


<appendix>

<sect>Top Level Appendix
<p>
As you can see, appendices are just structured like
the main body of the text, but bracketed by the
<c><appendix></c> element.

<sect1>Level 1
<sect2>Level 2

<sect>Top Level Section
<sect1>Level 1 Section
<sect1>Level 1 Section

</appendix>

</article>

<!-- ================================================= -->
<!-- end of appendix.sgml                                -->
<!--
     Local Variables:
     mode: sgml
     End:                                              -->
<!-- ================================================= -->sgml-tools-1.0.9/contrib/bk/aspdoc.sgml100640   1010    764       24216  6360707660  16343 0ustar  cgacriter<!DOCTYPE sgmltool 
         PUBLIC "-//SGML-Tools//DTD SGML-Tools v0.9//EN" >

<!-- ================================================= -->
<!--

    $Id: aspdoc.sgml,v 1.1 1997/07/09 13:18:40 cg Exp $
     
    This is aspdoc.sgml, distributed with SGML-Tools.
    It briefly describes the ASP mapping.

    $Log: aspdoc.sgml,v $
    Revision 1.1  1997/07/09 13:18:40  cg
    * Added contrib/bk, with a lot of work-in-progress from Bernd. (CdG)


    Comments: none.

                                                       -->
<!-- ================================================= -->


<article>

<title>Amsterdam SGML Parser
<author>b. kreimeier
<date>May 1997

<abstract>
This document describes the replacment files used by
SGML-Tools, that have been introduced with the
Amsterdam SGML Parser (ASP).
</abstract>

<toc>

<sect>Introduction
<p>
The contents of this document are based on files
distributed with the Amsterdam SGML Parser (ASP).
This has been published and copyrighted by
<code>
Sylvia van Egmond and Jos Warmer

Faculteit Wiskunde en Informatica
Department of Mathematics and Computer Science
Vrije Universiteit Amsterdam
The Netherlands
</code>
Documentation is contained within the distribution of
ASP SGML, see e.g.
<code>
http://ftp.sunet.se/ftp/pub/text-processing/sgml/ASP-SGML/Sgml.tar.gz
</code>
Unfortunately, the documents are supposed to be formatted
with ASP SGML. This document is based the files found in
the distribution.


<sect>SGMLS ASP
<p>
With a few minor exceptions, SGML Tools relies on ASP style
sheet processing, essentially a simple textual replacement
controlled by mapping files. ASP was supported by sgmlsasp,
which was part of the now abandoned SGMLS package. There is
no ASP support in more recent releases of SP. Note
that references  to  external data entities are ignored,
as support for external data  entities was not implemented
in ASP.
<p>
An sgmlsasp switch controls upper-case  substitution  (folding)
for names in replacement files; this  option  should  be  used
with concrete syntaxes that do not specify upper-case sub­
stitution for general names (that is, names that  are  not
entity names).
<p>
The manual page on sgmlsasp states that the program
"translates the standard input using the specification
in a replacement file. Each replacement file must be in
the format of an Amsterdam SGML parser (ASP) replacement
file;  this  format is described in the ASP documentation."
The following explanations are taken directly from the ASP
documentation.


<sect>The ASP Backend
<p>
The backend of ASP is simple, but powerful enough to create
typeset documents from SGML documents. The user can specify
a mapping from each starttag with its attributes to a replacement
text, and a mapping from each endtag to a replacement text.
For example the mapping:
<code>
<title>    ".TL"
<head>     ".NH <![CDATA[[level]]]>"
</code>
denotes that the starttag of the element `title' is to be
replaced by the string `.TL', which is the Troff ms-macro
for a title.
The starttag of `head' is to be replaced by the string `.NH'
followed by the value of the attribute `level'.
Of course `level' must be a valid attribute of `head', otherwise
an error message is given.
<p>
The replacement text stands between double quotes `"' and an attribute
value is referred to by placing the attribute name between square
brackets `[' and `]'.
The formatter can be called with a user specified replacement file,
which contains the mapping for the tags in the DTD.
If a replacement file is specified, the tags in the output
are replaced according to the mappings in the replacement file.
Otherwise the `complete' document will be output.
Tags that are not mentioned in the replacement file are
mapped to the empty string and they do not appear in the output.
For example, if the replacement file looks like:
<code>
<memo>         ".MS"
<sender>       "From: "
<forename>    " "
<receivers>    "To: "
<contents>     ".PP"
&etago;memo>        ".ME"
</code>
The SGML document below
<code>
<memo><sender>
<forename>Jos<surname>Warmer
<receivers>
<forename>Sylvia<surname>van Egmond
<contents>The meeting of tomorrow will be postponed.
&etago;memo>
</code>
will be converted to following  Troff document.
<code>
 .MS
 From: Jos Warmer
 To: Sylvia van Egmond
 .PP
 The meeting of tomorrow will be postponed.
 .ME
</code>
It is possible to specify that the replacement text must appear on
a separate line. This is needed by Troff, since each Troff command
must start with a `.' at the start of a line.
Provisions are made to make it possible to put any
(including non-printable) character in the replacement text.
This is done by an escape mechanism similar to that of
the C programming language.
<p>

<sect>The ASP replacement file
<p>
When a document parser is called, a replacement file may be specified.
The replacement file contains the mapping between starttags and their
attributes and endtags to some replacement text.
The (LLgen) syntax of the file is given in figure 3.
Each identifier in uppercase is a token.
Text between `&lt;' and `>' contains an informal description.
<code>
%token COMMENT, PLUS, STRING_OPEN, STRING_CLOSE,
       ATT_OPEN, ATT_CLOSE, CHARACTER, EOLN, STAGO, ETAGO, TAGC;

%start file, file;

file        : [repl | comment]* ;
comment     : COMMENT chars EOLN ;
repl        : start_repl | end_repl ;
start_repl  : starttag s* [PLUS s*]? rep_text [PLUS s*]? ;
end_repl    : endtag   s* [PLUS s*]? rep_text [PLUS s*]? ;
starttag    : STAGO name TAGC ;
endtag      : ETAGO name TAGC ;
rep_text    : [string s*]* ;
string      : STRINGOPEN [chars | attref]* STRINGCLOSE ;
chars       : CHARACTER* ;
attref      : ATTOPEN name ATTCLOSE ;
name        : < SGML name> ;
s           : < layout characters: space, tab, newline, return>

Syntax of replacement file
</code>
<p>
<table>
<tabform>  <tdat><tdat><tdat>
<tabhead> token | correspoding string | recognised in
<tabular>
COMMENT       |  %  |  repl        <tr>
PLUS          |  +  |  repl        <tr>
STRING_OPEN   |  "  |  rep_text    <tr>
STRING_CLOSE  |  "  |  string      <tr>
ATT_OPEN      |  [  |  string      <tr>
ATT_CLOSE     |  ]  |  attref      <tr>
CHARACTER     |  &lt;any character>  |  always            <tr>
EOLN          |  &lt;the newline character>  |  comment   <tr>
STAGO         |  &lt;  |  repl             <tr>
ETAGO         |  &lt;&bsol; |  repl             <tr>
TAGC          |  &gt;  |   starttag, endtag 
</tabular>
<caption>
Definition of Tokens
</caption>
</table>

A comment is ignored.
A start_repl (end_rep) defines the mapping for the named starttag
(endtag).
<p>
If the first PLUS in a repl is present, then the replacement text will
start at the beginning of a line.
If the second PLUS in a repl is present, then the replacement text will
be directly followed by a newline in the output.
When both PLUS's are present, the effect is that he replacement text
is on a separate line, apart from its surrounding text, with no empty
lines inserted.
<p>
Note that including a C-style newline within the replacement string
works. This is essentially a hack slipping through the processing
unnoticed. This could be used to format the output a bit for
debugging. It introduces some redundancy, though.
<p>
rep_text is the replacement text itself, which consists of any number
of strings.
All specified strings are concatenated to form the replacement text.
Putting replacement text in several strings is only useful to
get a neat layout in the replacement file.
So
<code>
<table>  ".[keep]\n" ".TS"
</code>
is identical to
<code>
<table>  ".[keep]\n"
         ".TS"
</code>
<p>
The tokens are recognised only within the rule specified in the
third column of the definition of the tokens in figure 4.
There is one exception for the ATT_OPEN token:
ATT_OPEN is never recognised inside the replacement text of an end_repl,
because there are no attributes associated with an endtag.
<p>
Within a string, characters can be escaped to ensure that they
are recognised as CHARACTER's.
For instance, this can be used to put a `"' in a string.
Escape sequences can also be used to denote unprintable characters.
The escape mechanism is similar to that of the C programming language.
The recognised escape-sequences are shown in figure 5.

<table>
<tabform><tdat><tdat>
<tabhead>  sequence | name
<tabular>
&bsol;n        |  newline   <tr>
&bsol;t        |  tab       <tr>
&bsol;r        |  return    <tr>
&bsol;s        |  space     <tr>
&bsol;f        |  formfeed  <tr>
&bsol;&bsol;   |  &bsol;    <tr>
&bsol;[        |  [         <tr>
&bsol;"        |  "         <tr>
&bsol;octal    |  character
</tabular>
<caption>
Recognised Escape-sequences
</caption>
</table>
The escape character is defined as '&bsol;'.
An escape character followed by a character that is not mentioned
in figure 5, denotes itself.
For example, if the replacement file contains:
<code>
<report>   "line 1\n\"line 2\"\12 line 3"
</code>
then &lt;report> is replaced by:
<code>
line 1
"line 2"
line 3
</code>

<p>
See the file `article.rep' in the ditributed sources
for a more complete example of a replacement file:
<code>
%
%  The substitution file for article to troff ms.
%
%  Each macro is preceded and followed by a +,
%  forcing that the macro call is on a seperate line without
%  introducing empty lines.
%
%  First the tags that are mapped onto nothing.
%
<ARTICLE>         % comment starts with % until end of line
&etago;ARTICLE>

%  Now the real macros

<ABSTRACT>	  +	".AB"			+
&etago;ABSTRACT>	+	".AE"			+

% '\' escapes the next character as in C strings.

<REF>	     	+	".\[\["			+
&etago;REF>       +	".]]"
%
%  The following replacements must not be on a separate line,
%  so no +'s.
%
<BOLD>		 	  "\\fB"
&etago;BOLD>		 	"\\fP"
</code>
Another substitution simulates the default behaviour and
delivers the same output as when no replacement file is used:
<code>                     
<CHAP>		<CHAP>"
&etago;CHAP>		"&etago;CHAP>"

% an attribute reference is the attribute name
% enclosed between '[' and ']'
<SH> 		"<SH LEVEL = \"[level]\">"  
&etago;SH>		"&etago;SH>"  
</code>



</article>

<!-- ================================================= -->
<!-- end of aspdoc.sgml                                -->
<!--
     Local Variables:
     mode: sgml
     End:                                              -->
<!-- ================================================= -->sgml-tools-1.0.9/contrib/bk/bibtex.bib100640   1010    764        1543  6360707661  16120 0ustar  cgacriter% =================================================== 
% 
% BibTeX Bibliography bibtex.bib
%
% Sample Bibliography for SGML Tools test suite.
%
% =================================================== 



@MISC{ bib2html,
   author = "David Hull",
	 year= 1996,
   note = "BibTeX to HTML conversion tool for UNIX." 
}

@MISC{ bibextract,
   author = "Nelson H. F. Beebe",
	 year= 1992,
   note = "BibTeX utilities for UNIX." 
}

@BOOK{ companion,
   title = "The LaTeX Companion",
   year = 1994,
   author = "Michael Goossens
             and Frank Mittelbach
             and Alexander Samarin",
   publisher = "Addison-Wesley"
}



% =================================================== 
% Disable Emacs Major BibTeX mode crap.
%
% Local Variables:
% mode: text
% End:                                             
% =================================================== sgml-tools-1.0.9/contrib/bk/citation.bib100750   1010    764        1644  6360707662  16462 0ustar  cgacriter% =================================================== 
%
% Sample Bibliography for SGML Tools test suite.
%
% =================================================== 

@MISC{ qwertz.dtd,
   author = "Tom Gordon",
	 year= 1994,
   note = "LaTeX based DTD, ``format'' package." 
}

@MISC{ linuxdoc96.dtd,
   author = "Matt Welsh, Greg Hankins and et.al.",
	 year= 1995, 1996,
   note = "QWERTZ based DTD for Linuxdoc SGML." 
}

@MISC{ linuxdoc97.dtd,
   author = "Cees de Groot, Bernd Kreimeier et.al.",
	 year= 1997,
   note = "Linuxdoc Strict DTD for SGML Tools." 
}

@MISC{ sgmltool.dtd,
   author = "Cees de Groot, Bernd Kreimeier et.al.",
	 year= 1997,
   note = "SGMLTOOL DTD for SGML Tools." 
}

% =================================================== 
% Disable Emacs Major BibTeX mode crap.
%
% Local Variables:
% mode: text
% End:                                             
% =================================================== sgml-tools-1.0.9/contrib/bk/citation.sgml100640   1010    764       10402  6360707662  16676 0ustar  cgacriter<!DOCTYPE sgmltool 
         PUBLIC "-//SGML-Tools//DTD SGML-Tools v0.9//EN" >
<!-- ================================================= -->
<!--

    $Id: citation.sgml,v 1.1 1997/07/09 13:18:42 cg Exp $
     
    This is citation.sgml, distributed with SGML-Tools.
    It demonstrates the citation and bibliography
    support currently available.

    $Log: citation.sgml,v $
    Revision 1.1  1997/07/09 13:18:42  cg
    * Added contrib/bk, with a lot of work-in-progress from Bernd. (CdG)


    Comments: none.

                                                       -->
<!-- ================================================= -->


<article>

<title>TEST: Quotes, Citation, and Bibliography
<author>b. kreimeier
<date>May 1997

<sect>Quotes
<p>
Quotations are paragraphs, distinctly rendered. The following
is taken from the <q>TEI Gentle Introduction to SGML</q>,
as published by the Text Encoding Initiative. Note that
you are already encountered the inlined quotation within
this paragraph. Now here's a full quote.
<quote>
Historically, the word markup has been used to describe
annotation or other marks within a text intended to
instruct a compositor or typist h
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions