Blame README

Packit 9741aa
The Linuxdoc-Tools package: <https://gitlab.com/agmartin/linuxdoc-tools>
Packit 9741aa
Packit 9741aa
LinuxDoc is a kind of SGML DTD. It was created for the Linux HOWTOs, and is
Packit 9741aa
being used by the Linux Documentation Project (LDP).
Packit 9741aa
Packit 9741aa
Linuxdoc-Tools is in fact a small bug-fix version of SGML-Tools 1.0.9,
Packit 9741aa
and is a toolset for processing LinuxDoc DTD SGML files. It was
Packit 9741aa
bundled and maintained by Taketoshi Sano <sano@debian.org>, who
Packit 9741aa
carried out the big changes and wrote text below, and now is in
Packit 9741aa
maintenance mode by Agustin Martin <agmartin@debian.org>.
Packit 9741aa
Packit 9741aa
SGML-Tools 1.0.9 is the last official release of SGML-Tools with direct
Packit 9741aa
support for LinuxDoc DTD.  More recent version of SGML-Tools 2.x and
Packit 9741aa
its successor, SGMLtools-Lite <http://sgmltools-lite.sourceforge.net/>
Packit 9741aa
only supports the conversion from LinuxDoc DTD sgml into DocBook DTD.
Packit 9741aa
Packit 9741aa
But currently many HOWTO documents in LDP are still provided as
Packit 9741aa
LinuxDoc DTD sgml files, and many Linux users wish to use the tool
Packit 9741aa
which converts LinuxDoc DTD sgml files into various format directly.
Packit 9741aa
Packit 9741aa
So I made a modification on SGML-Tools 1.0.9, and release the result
Packit 9741aa
as a new branch in order to avoid the confusion with the SGML-Tools
Packit 9741aa
and the SGMLTools-Lite.
Packit 9741aa
Packit 9741aa
Since Linuxdoc-Tools is a derivative of SGML-Tools 1.0.9, it has
Packit 9741aa
almost the same functions of its predecessor.  It is a text-formatting
Packit 9741aa
package based on SGML (Standard Generalized Markup Language), which
Packit 9741aa
allows you to produce LaTeX, HTML, GNU info, LyX, RTF, and plain text
Packit 9741aa
(via groff) from a single source;
Packit 9741aa
Packit 9741aa
Now old command form sgml2* is obsoleted and a single command
Packit 9741aa
"linuxdoc" is the prefered form.
Packit 9741aa
Packit 9741aa
   Old (obsoleted)	  New (prefered)
Packit 9741aa
 -------------------	-----------------
Packit 9741aa
  sgml2txt		 linuxdoc -B txt
Packit 9741aa
  sgml2html		 linuxdoc -B html
Packit 9741aa
  sgml2info		 linuxdoc -B info
Packit 9741aa
  sgml2latex		 linuxdoc -B latex
Packit 9741aa
  sgml2lyx		 linuxdoc -B lyx
Packit 9741aa
  sgml2rtf		 linuxdoc -B rtf
Packit 9741aa
  sgmlcheck		 linuxdoc -B check
Packit 9741aa
Packit 9741aa
This system is tailored for LinuxDoc DTD sgml files, and other DTDs
Packit 9741aa
are not supported.  If you need the tool for DocBook DTD (which is
Packit 9741aa
now a more popular DTD than LinuxDoc in writing technical software
Packit 9741aa
documentation), then you should check SGMLTools-Lite, OpenJade,
Packit 9741aa
and docbook-tools.  Check their Web sites below.
Packit 9741aa
Packit 9741aa
  SGMLTools-Lite: <http://sgmltools-lite.sourceforge.net/>
Packit 9741aa
Packit 9741aa
  OpenJade: <http://openjade.sourceforge.net/>
Packit 9741aa
Packit 9741aa
  docbook-tools: <http://sourceware.cygnus.com/docbook-tools/>
Packit 9741aa
Packit 9741aa
The file doc/guide.sgml is Linuxdoc DTD SGML source for the User's Guide,
Packit 9741aa
originally written by Matt Welsh and updated by many people.
Packit 9741aa
Packit 9741aa
As you probably don't know how to format it yet, there is formatted plain
Packit 9741aa
text in doc/guide.txt.  There's also guide.dvi and guide.ps, if you wish
Packit 9741aa
to print them instead.  The first thing you should read is doc/guide.txt,
Packit 9741aa
which explains how to install the software (namely, it tells you to
Packit 9741aa
read the file INSTALL), and how to start writing documents with it.
Packit 9741aa
The file doc/example.sgml is a simple example document which you can use
Packit 9741aa
as a tutorial.
Packit 9741aa
Packit 9741aa
Linuxdoc-Tools depends on the usage of the sgml parser from Jade or
Packit 9741aa
OpenJade (nsgmls or onsgmls). You have to install either of them.
Packit 9741aa
Packit 9741aa
Matt Welsh originally created the package under the name Linuxdoc-SGML,
Packit 9741aa
using James Clark's sgmls parser and the QWERTZ DTD by Tom Gordon.
Packit 9741aa
Then Greg Hankins maintained it.  It was renamed to SGML-Tools later,
Packit 9741aa
and had been maintained by Cees de Groot <cg@cdegroot.com>.
Packit 9741aa
SGML-Tools 2.x was significantly changed from 1.0.x, and it dropped
Packit 9741aa
the direct support of Linuxdoc DTD and adopted the support of the DocBook
Packit 9741aa
DTD using Jade.  SGMLtools-Lite is the latest branch from SGML-Tools 2.x,
Packit 9741aa
and it is  maintained by Cees at <http://sgmltools-lite.sourceforge.net/>.
Packit 9741aa
Packit 9741aa
This Linuxdoc-Tools is the branch from SGML-Tools 1.0.9, and its
Packit 9741aa
focus is to provide the backward compatibility for users of the old
Packit 9741aa
Linuxdoc DTD.
Packit 9741aa
Packit 9741aa
This branch uses patch from JF ("The Japanese FAQ Project") to support
Packit 9741aa
euc-jp encoded Japanese sgml file on sgml2txt, sgml2html, and sgml2latex.
Packit 9741aa
(sgml2info, sgml2lyx, and sgml2rtf have no special on Japanese support.)
Packit 9741aa
Packit 9741aa
The JF patch for sgml-tools (v1) was originally written by Kazuyuki
Packit 9741aa
Okamoto <ikko-@pacific.rim.or.jp> and Tetsu ONO <ono@jf.gee.kyoto-u.ac.jp>.
Packit 9741aa
They tried to contribute their patch to the upstream, but they could not
Packit 9741aa
success.  I am a member in JF project, and I have heard from them that
Packit 9741aa
their patch can be used under the license of the original code.
Packit 9741aa
Packit 9741aa
The JF patch adds also a new DTD named "linuxdoctr", which is a variant
Packit 9741aa
of "linuxdoc" with two more tags (<trans> and <tdate>, for the name of
Packit 9741aa
the translator and for the date, time and version information of
Packit 9741aa
the translation).  This is required by JF ("The Japanese FAQ Project",
Packit 9741aa
<http://www.linux.or.jp/JF/>) because the activity in JF includes the
Packit 9741aa
translation of LDP documents into Japanese, and the translation may be
Packit 9741aa
often revised for the same original revision.
Packit 9741aa
Improvements in fmt_txt.pl (<tt> tags in <sect> do not harm in <toc>)
Packit 9741aa
are also included in the original JF patch.
Packit 9741aa
Packit 9741aa
From version 0.3.7, I have merged pdf patch written by Juan Jose Amor
Packit 9741aa
<jjamor@hispalinux.es> for sgml-tools 1.0.9.  This patch is to use
Packit 9741aa
pdfLaTeX in sgml2latex to produce nice PDF files. I include the note
Packit 9741aa
written by Juan at the end of this README, so please check it for this
Packit 9741aa
patch.
Packit 9741aa
Packit 9741aa
And I keep the old documents in old-docs/ subdirectory.  If you are
Packit 9741aa
interested in history, then please check there.
Packit 9741aa
Packit 9741aa
Please send me any questions or bug reports, as well as suggestions for
Packit 9741aa
improvement.
Packit 9741aa
Packit 9741aa
 === (copied from README.pdf written by Juan Jose Amor for his pdf patch) ===
Packit 9741aa
Packit 9741aa
GOOD PDFs WITH SGMLTOOLS and PDFLATEX
Packit 9741aa
=====================================
Packit 9741aa
Packit 9741aa
Patch written by Juan Jose Amor, <jjamor@hispalinux.es> on January 2000.
Packit 9741aa
Packit 9741aa
Easy to use:
Packit 9741aa
Packit 9741aa
sgml2latex [other options] -o pdf yourfile.sgml
Packit 9741aa
Packit 9741aa
I've tested it with language and charset options. And it works!
Packit 9741aa
Packit 9741aa
That is, my test command line was:
Packit 9741aa
Packit 9741aa
linuxdoc -B latex -l es -c latin -o pdf myfile.sgml
Packit 9741aa
Packit 9741aa
This patch has not been tested with other options such as bibtex
Packit 9741aa
or makeindex. However, it may be used to generate a nice PDF output for
Packit 9741aa
HOWTO documents, with internal and external (URL) hyperlinks.
Packit 9741aa
Packit 9741aa
To generate an external hyperlink, please use the <htmlurl> tag in your
Packit 9741aa
.sgml file.
Packit 9741aa
Packit 9741aa
Please, send comments about this patch to Juan Jose Amor,
Packit 9741aa
<jjamor@hispalinux.es>. Don't flame, please :-)
Packit 9741aa
Packit 9741aa
and remember... use at your own risk!
Packit 9741aa
Packit 9741aa
 ===  (end of quotation from README.pdf) ===
Packit 9741aa
Packit 9741aa
Packit 9741aa
$Id: README,v 1.2 2002/03/18 13:38:44 sano Exp $
Packit 9741aa
Packit 9741aa
 Taketoshi Sano <sano@debian.org>