This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]