← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK-APPS: RE: DOCBOOK: Making db2html put chapters and sections inthe same page

From
Jens Emmerich <>
Date
2002-02-05T09:37:45+00:00
ID
Thread
DOCBOOK-APPS: RE: DOCBOOK: Making db2html put chapters and sections inthe same page
Hi,

> -----Original Message-----
> From: Stephen Wilhelm [mailto:]
> Sent: Dienstag, 5. Februar 2002 03:57
> To: 
> Subject: DOCBOOK: Making db2html put chapters and sections in the same
> page
>  
> How do I make db2html make a chapter all one HTML page?
> 
[...]
> I remember going in and changing some of the DSSSL stylesheet 
> code, and
> I found where that code is, but I can't find where in the code it is
> that I need to make the change.
 
1. Save yourself a lot of work by not editing the distributed
   stylesheets but writing a customization layer.
   See "Docbook - The Definive Guide" for how to do it.
   You can keep it around and use it for future updates of the "upstream"
stylesheets then.
2. See html/dbparam.dsl
(define nochunks
  ;; REFENTRY nochunks
  ;; PURP Suppress chunking of output pages
  ;; DESC
  ;; If true, the entire source document is formatted as a single HTML
  ;; document and output on stdout.
  ;; (This option can conveniently be set with '-V nochunks' on the 
  ;; Jade command line).
  ;; /DESC
  ;; AUTHOR N/A
  ;; /REFENTRY
  #f)
  I guess setting this to #t in your customization layer (or as parameter to
db2html?) does it.

3. Btw., use the docbook-apps list for "formatting questions".

Jens
← Prev in month ← Prev in thread
Next in thread → Next in month →