Re: (dsssl) put the last page number

Subject: Re: (dsssl) put the last page number
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: 18 Jan 2003 23:45:09 +0000
On Sat, 2003-01-18 at 17:38, Ian Castle wrote:
> With OpenJade and the TeX backend, you can't know in advance how many
> pages there are... it is TeX that actually calculates the final
> pagination - and openjade has long finished by the time this is started.
> 2) Work out an appropriate TeX sequence (if one exists - I'm
> speculating) and emit this as literal text.

this is doable. LaTeX has a package "lastpage" which does it, by
sticking a label at the end of the document which can
produce the right page number on a second run. Plugging it
all into JadeTeX would be hairy, though. I'm not volunteering
to try..... 

Sebastian Rahtz      OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

 DSSSList info and archive:

Current Thread