html2sgml is a program wich converts html to sgml accroding to linuxdoc.sgml. With a file in linuxdoc.dtd format you can create nice typset books, well structured html-documents and so forth. linuxdoc.dtd is the format used in Linux HOWTOS, for example.
html2sgml i tuned to work well with Applix HTML, and will convert any footnotes apearent in the applix word-file that was used to produce the html.
To use html2sgml you need Perl. To use the image converting routines you also need: giftopnm, ppmtopgm and pnmtops
To do something usefull with the resulting file you also need linuxdoc-sgml or the follow up sgml-tools http://www.xs4all.nl/~cg/sgmltools/.
Download html2sgml here
The homepage of html2sgml is http://www.abc.se/~m9339/prog/html2sgml.html It is possible to ftp it from ftp://ftp.mc.hik.se/pub/users/mia95anp/html2sgml/. It has also been upploded to ftp://ftp.redhat.com and ftp://sunsite.unc.edu/pub/linux/.
To install html2sgml unpack the tarfile and cd into the disrtibution. Type
make installIt will install the programs html2sgml and mkbook, som files in the specified documentdirectory, including extras a couple of script that shows some examples of how you can merg severall html-files into one to use with html2sgml. A manual page will be installed too.
Edit the makefile to change where to install and where Perl is on your system. The default is /usr/bin/perl and prefix = /usr/local
See the manual page