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


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: page chunking


/ Bob Stayton <bobs@caldera.com> 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 <ndw@nwalsh.com>      | 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


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