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


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@vtr.net 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



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