Re: About the docs

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Wednesday 30 July 2003 21:44, Bram Moolenaar wrote:
> I don't know the essential difference between SGML docbook and XML
> docbook.  Can both be converted to nice HTML and PDF?  Are both

There is no essential difference. The DTDs are the same. Both can be converted 
to nice HTML (I know you don't use KDE, but you should take a look at its 
help:/ docs sometime - XML docbook, converted to HTML and with a fancy 
stylesheet applied to it, on the fly). The biggest change is that in XML, you 
need to watch you closing tags better. FWIW, I've already converted all the 
docs to XML for home use, and use

	xsltproc /usr/local/kde-3.1/share/apps/ksgmltools2/docbook/xsl/html/chunk.xsl 
exec.sgml

to use the KDE stylesheets to divide the docbook into one html file per 
chapter; it looks pretty much exactly like your HTML files.

> documented properly?  I have been using the on-line version of the
> O'Reilly book: http://www.docbook.org/tdg/en/html/docbook.html .  It

Yes, the same docbook works for both. I'd point you to the KDE docbook 
tutorial and guide, but the server it was on is dead right now.

> The less tools we need the better.

Then XML docbook is probably the cheapo way to go. Since XML docbook is also 
SGML, you can still use jade to produce PDF output (or use html2pdf, or FOP, 
which I've heard produces really nice output but requires a lot of java and 
TeX tweaking).


-- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <[email protected]>
     Key fingerprint = 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.