54 lines
1.6 KiB
HTML
54 lines
1.6 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
||
|
<TITLE>HOWTO-template for big HOWTOs : Converting the SGML File</TITLE>
|
||
|
<LINK HREF="big-howto-template-ld-18.html" REL=next>
|
||
|
<LINK HREF="big-howto-template-ld-16.html" REL=previous>
|
||
|
<LINK HREF="big-howto-template-ld.html#toc17" REL=contents>
|
||
|
</HEAD>
|
||
|
<BODY>
|
||
|
<A HREF="big-howto-template-ld-18.html">Next</A>
|
||
|
<A HREF="big-howto-template-ld-16.html">Previous</A>
|
||
|
<A HREF="big-howto-template-ld.html#toc17">Contents</A>
|
||
|
<HR>
|
||
|
<H2><A NAME="s17">17. Converting the SGML File</A></H2>
|
||
|
|
||
|
<P>Having made the SGML file we are now ready to convert it to
|
||
|
the various output formats we need. The following is my
|
||
|
script to process my Multi Disk HOWTO:
|
||
|
<P>
|
||
|
<HR>
|
||
|
<PRE>
|
||
|
sgml2txt -f disk.sgml
|
||
|
sgml2html disk.sgml
|
||
|
|
||
|
sgml2latex --papersize=a4 --language=english --output=ps ~stein/doc/disk.sgml
|
||
|
mv disk.ps disk-A4.ps
|
||
|
gzip -9 disk-A4.ps
|
||
|
|
||
|
sgml2latex --papersize=letter --language=english --output=ps ~stein/doc/disk.sgml
|
||
|
mv disk.ps disk-US.ps
|
||
|
gzip -9 disk-US.ps
|
||
|
</PRE>
|
||
|
<HR>
|
||
|
<P>The template can be converted as is, substitute "disk.sgml" with
|
||
|
the filename of this template to see what it looks like.
|
||
|
<P>If your document is small (such as this template)
|
||
|
you might find it more convenient to
|
||
|
keep formatted versions in one single file
|
||
|
rather than splitting it for every chapter:
|
||
|
<P>
|
||
|
<HR>
|
||
|
<PRE>
|
||
|
sgml2html --split=0 template.sgml
|
||
|
</PRE>
|
||
|
<HR>
|
||
|
<P>
|
||
|
<HR>
|
||
|
<A HREF="big-howto-template-ld-18.html">Next</A>
|
||
|
<A HREF="big-howto-template-ld-16.html">Previous</A>
|
||
|
<A HREF="big-howto-template-ld.html#toc17">Contents</A>
|
||
|
</BODY>
|
||
|
</HTML>
|