Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!pyrltd!abekrd!graeme From: graeme@abekrd.UUCP (Graeme Griffiths) Newsgroups: comp.text.tex Subject: LaTeX page numbering Message-ID: <1469@abekrd.UUCP> Date: 7 Nov 90 17:07:06 GMT Organization: Abekas Video Systems Ltd, Reading, England Lines: 29 Can anyone help, I'm creating a standard document generator using a shell script that drives LaTeX. On the first page of the document I have the total number of pages in the document.I have done this by setting a label right at the end of the document and \pageref ing to it at the start.This works O.K with two passes but, I would like to prompt for added (i.e non LaTeX generated) pages and have that added to the number on the first page.This seems alright until I refer to my label as a value (lots of errors) I've tried using the LaTeX counter page , no errors but it never changes from 0. If this makes any sense to anyone please mail me suggestions before I eat my workstation in frustration. Cheers. ------------------------------------------------------------------------------- | From Graeme Griffiths ( graeme@abekrd.co.uk ) | | R&D Dept, Abekas Video Systems Ltd, 12 Portman Road, Reading, Berks RG3 1EA | | Tel. 0734 585421 extn 2248. | | | | "Ever noticed that lif is one big pile of bulls**t | | And everybody seems to be out for a little piece of everyone elses | | Well I've got some advice, get yourself a big old 45 | | And blow your troubles away!" Enuff Z'Nuff | -------------------------------------------------------------------------------