Next in thread → Next in month →

DOCBOOK-APPS: Re: page chunking

From
Norman Walsh <>
Date
2002-09-06T12:51:07+00:00
ID
Thread
DOCBOOK-APPS: Re: page chunking
/ Bob Stayton <> was heard to say:
| But there is still no direct solution for arbitrary
| chunking on <beginpage/> elements.  I think it would
| be hard to do even as a customization, given the complexity
| of the chunking templates.

I misread it too. Chunking the HTML into pages at <beginpage>
boundaries in the source would be *really* hard.

I suggest the following strategy instead:

1. Add a template that outputs <span class="pagebreak"/> where each
   beginpage occurs.

2. Create a single HTML file for the entire document.

3. Write a script in your programming language of choice (Perl, Python, etc.)
   that chunks on the <span class="pagebreak"/> boundaries.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | You cannot step twice into the
http://www.oasis-open.org/docbook/ | same river, for other waters are
Chair, DocBook Technical Committee | continually flowing in.--Heraclitus
Next in thread → Next in month →