OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook] Naming the output file


> -----Original Message-----
> From: Alexander,D 
> 
> How can I specify the filename for the (main) output document?
> 
> I'm using docbook that came with Fedora Core 3 distro:
> 
> $ rpm -qa | grep -i docbook
> docbook-utils-pdf-0.6.13-5
> docbook-dtds-1.0-17.2
> docbook-utils-0.6.13-5
> docbook-style-xsl-1.61.2-2
> docbook-style-dsssl-1.76-8
> 
> And transforming my xml source using the following command:
> 
> $ docbook2html user_guide.xml
> 
> The output I get is a file called book1.html and other 
> supporting files.


I think you have to customize the DSSSL stylesheets in order to get what you
want. You can create a .dsl driver file where you define something like

(define %root-filename%
  ;; Name for the root HTML document
  "index")

More information can be found here:
http://docbook.sourceforge.net/release/dsssl/current/doc/custom.html
http://docbook.sourceforge.net/release/dsssl/current/doc/html/r1535.htm

/MJ



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]