Next in thread → Next in month →

RE: [docbook] Naming the output file

From
Mauritz Jeanson <>
Date
2005-02-08T17:50:01+00:00
ID
Thread
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
Next in thread → Next in month →