[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Docbook and DSSSL questions...
At 2004-06-28T03:00:14+02:00, Arnaud Fontaine wrote: > we would like to have two versions, one is the book i have mentioned > before, and the second should be in multiple html files (one XML > file for one HTML page, then no navigation between these pages > because they should be completely independant). Hi Arnaud, Here is one possible method. Modify the document type declaration of your DSSSL stylesheet like this: <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY dbstyle SYSTEM "/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl" CDATA DSSSL> <!ENTITY % output.independent "IGNORE"> ]> Then, in the style specification body, include a marked section like so: <![ %output.independent; [ ;; Suppress the default navigation bars. (define %header-navigation% #f) (define %footer-navigation% #f) ;; Produce separate HTML pages. (define nochunks #f) ]]> Now, to produce the `independent' output, run `openjade', or `jade', using the `-i' option: openjade -i output.independent -d stylesheet-html.dsl document.xml To produce usual output, just don't use the `-i' option. HTH. Cheers, Raghavendra. -- N. Raghavendra <raghu@mri.ernet.in> | See mail headers for contact Harish-Chandra Research Institute | and OpenPGP details.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]