Sorry for bumping in, I've been more off than on in the last couple of weeks...
Just a stupid question: have you considered any marker to force a page break?
That would make this functionality portable to other exporters like LaTeX, where
you can force a page break with \clearpage or \cleardoublepage.
(Hopefully) my .2 cents, /PA
--
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet