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

Dan apologizes, and then rants... (Was Re: TOCs in articles?)

Dan York wrote:
> Is it possible that I don't have the "ldp.dsl" stylesheet installed correctly?

Yes, it was not only possible, it was indeed the problem.  I went back
to the HOWTO-HOWTO and looked at the instructions at:


and found that I had not configured the ldp.dsl file with the correct paths,
nor was I calling openjade in the correct fashion.  When I followed the
instructions there, I had no problem at all.  I got my 2-level TOC and
everything else.

Apologies for bothering you all with the question when I had not gone back
to the manual first. (RTFM)

In working with DocBook, both for some LDP stuff as well as for some things
within Linuxcare, I have found working with jade and stylesheets to be the
most painful part of it all. Creating DocBook files is, to me, trivial and
easy.  It's what to do with them afterward that is the headache.

Take the example here with "ldp.dsl". The instructions say to use jade (or in
my case openjade) with the following options:

  jade -t sgml -ihtml -d /usr/lib/sgml/stylesheets/ldp.dsl\#html

In all the other tutorials and information I have had with jade, I have not
seen the "-ihtml" option used anywhere. Likewise, I have never seen the
"\#html" at the end of a "*.dsl" file. Maybe I missed something in reading the
but these were not options I would have tried without having read the
Maybe this is just something particular to ldp.dsl. But it's not easy for
new to all of this.

For that matter, it still seems bizarre to me that I must use "-t sgml" to
an HTML file, whereas "-t rtf" or "-t mif" produces those other file formats.
And I
find it extremely weird that there is not "-t text" and that you have to do a
with lynx (or another text browser).

I suppose these are all really issues for jade/openjade and the developers
But they sure make it a pain in the neck for someone trying to learn how to use
DocBook to help the LDP.


Thanks for listening... and thanks, Greg & whoever else helped, for creating
"ldp.dsl". When installed and used correctly it is definitely a great help.
Thank you.


Dan York,  Linuxcare, Inc.
dyork@linuxcare.com    http://www.linuxcare.com/
1-603-264-0129 mobile, 603-268-0691 tel, 603-268-0103 fax
Linuxcare.  Support for the revolution.

To UNSUBSCRIBE, email to ldp-docbook-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org