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


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: (dsssl) put the last page number


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




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