Re: DocBook Converts into too many HTML Pages

Subject: Re: DocBook Converts into too many HTML Pages
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 5 Jan 1999 16:17:09 -0500
| The first thing that occurred to us as not being in accordance
| with our taste is that both, CHAPTERs and SECT1s, begin
| with a H1-header thus making the HTML page representing the
| CHAPTER and the first SECT1 containing two H1-headers.

Ah. Well. Uh. Mumble. I'm not sure what to do about that. I
could fix the SECT1 to make it an H2, but then I'd have to fix
SECT2s to make them H3s, etc.

| The second problem is that we would like the result to consist of
| fewer but bigger pages, i.e. we would appreciate a CHAPTER
| to be converted into a single HTML page containing all the
| CHAPTER's SECT1s. 

You have to make one small change to the stylesheets. The
'chunk-element-list' function returns the list of elements that
should be considered chunks (it's further modified by the
'chunk-skip-first-element-list' function, but for what you have
in mind, that won't matter).

If you remove 'sect1' from the chunk-element-list, they'll no longer
be chunks and all of the chapter content will appear in a single file.
 

                                        Cheers,
                                          norm
-- 
Norman Walsh <ndw@xxxxxxxxxx>      | A heavy snowfall disappears into
http://nwalsh.com/                 | the sea. What silence!


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread