Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 1997 12:17:19 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        nik@iii.co.uk
Cc:        A Joseph Koshy <koshy@india.hp.com>, freebsd-doc@FreeBSD.ORG
Subject:   Re: Docbook tools?
Message-ID:  <Pine.BSF.3.96.970902121146.6383D-100000@fallout.campusview.indiana.edu>
In-Reply-To: <19970902110518.05385@strand.iii.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Sep 1997 nik@iii.co.uk wrote:

> I don't use the HTML generation, since it takes a DocBook <book> and turns
> it into multiple HTML files. I prefer the single file approach of instant,
> hence the hybrid approach above.

My HTML stylsheet assums that a <book> is actually a book-length
thing and divides on chapters.  The FreeBSD handbook as a single
HTML file is nearly a megabyte an not much fun to manipulate in
your typical browser.

For shorter things, use

<!DOCTYPE article PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
<article>
<artheader>
...
</artheader>
...
</article>

which will generate a single file for the main text.
Unfortunately this approach doesn't work if you want to use
sgmlfmt as the transpecs don't correctly handle articles.

-john




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970902121146.6383D-100000>