Re: (dsssl) put the last page number

Subject: Re: (dsssl) put the last page number
From: Ian Castle <ian.castle@xxxxxxxxxxxxxxxxxxx>
Date: 18 Jan 2003 17:38:50 +0000
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.

There are two approaches you could take

1) Pass in a value with "-V" on the openjade command line. Obviously,
you would have to generate the output first... Then work out the number
of pages.. Then generate it all again using the supplied value. It might
be possible to automate this with judicious use of "grep" or similar on
the postscript or PDF output.

2) Work out an appropriate TeX sequence (if one exists - I'm
speculating) and emit this as literal text.

On Fri, 2003-01-17 at 19:57, pividal@xxxxxxx wrote:
> how i put the last page number in an artice for doing something like "page
> nn of total-pages")
> in a footer
> 
> -can i put the automatic date?? 
> 
> 
> 
> 
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread