[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DocBook Walkthrough?
On May 12, 4:07pm, Gerard Beekmans wrote:
> Subject: Re: DocBook Walkthrough?
> > Another advise is to use ID=... in the tags with a logical name
> > and just that to create filenames. It makes for more recognizable
> > URL's.
> Sorry hugo for that personal email...it was meant to go to this list.
> The id attributes don't work for me for creating custom html filenames
> (I'm not using sgmltools). Instead I'm doing it the following way:
> <book><?dbhtml filename="index.html">
> <chapter><?dbhtml filename="chapter1.html">
A good example of how to do this is in the DocBook SGML for the
Cable-Modem HOWTO :
In the DSSSL stylesheet, we have these 2 settings:
;; force a .html file extension
;; Use ID attributes as name for component HTML files?
Which produces these files:
$ ls Cable-Modem
ethernet.html hybrid.html index.html isps.html
Greg Ferguson - s/w engr / mtlhd | firstname.lastname@example.org
SGI Tech Pubs - http://techpubs.sgi.com |
Linux Doc Project - http://www.linuxdoc.org |
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org