[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SGML source

From: Pradeep Padala
Subject: SGML source
Date: Tue, 9 Jul 2002 01:29:02 -0400 (EDT)

> A sample - 1-2 files that you have written in sgml - would be interesting.
> If I had those, I could focus on the mechanics of building up my local
> tools to see well how the conversions actually work.

I put the hackguide and ncurses-intro at


You can follow these steps to generate html.

*) Validate them
   nsgmls -s <sgml file>
   If it gives lot of errors, just change the 4.1 in first line to 3.1
   Most of the linux distros haven't caught up with 4.1 yet.
   If this gives just one warning regarding ARTICLEINFO, every thing is
   Otherwise, you have to install docbook stuff.

*) Generate html
   jade -t sgml -i html -d ldp.dsl#html <sgml file>
   The ldp.dsl extends original dsssl stylesheets and produces nice things
   like toc etc..
   ldp.dsl is also avaiable at above location for convenience.
   For a single html file
   jade -t sgml -i html -d ldp.dsl#html -V nochunks <sgml file>

I removed the toc from the files, since it should be auto generated by
stylesheets. Apart from that the sgml is a simple transformation of html
to docbook.

Let me know if you get into any problems.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]