Path: utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!ox-prg!culhua!Damian.Cugley From: Damian.Cugley@prg.ox.ac.uk (Damian Cugley) Newsgroups: comp.text.tex Subject: LaTeX - how to detect a new page (Re: symbol footnotes) Message-ID: Date: 13 Feb 91 14:33:53 GMT References: <1991Feb13.073012.24461@fwi.uva.nl> Sender: news@prg.ox.ac.uk Organization: Oxford University Computing Laboratory, UK Lines: 23 In-reply-to: smagt@fwi.uva.nl's message of 13 Feb 91 07:30:12 GMT From: Patrick van der Smagt Message-Id: <1991Feb13.073012.24461@fwi.uva.nl> [How to reset the footnote counter for each page in LaTeX?] > [...]it appears that the page counter is not incremented > until at least half of the next page is incremented (as noted > in the TeXBook). So how can I detect when a new page is started? It can't be done. TeX generally goes some way beyond the best breakpoint before it is sure that it *is* the best breakpoint. It then takes the vertical-mode-material that didn't get shipped out and sticks it back on the "current contributions" list. Therefore the first paragraph or so of the new page was turned into hboxes etc. before the output routine is even started, so it's too late to change the footnote counter. (You could do it by having explicit \setcounter commands in the document.) //- Damian Cugley ---------------------------------------------------\ || Oxford University Computing Laboratory, 11 Keble Rd, Oxford, UK || || pdc@prg.ox.ac.uk or pdc@uk.ac.ox.prg in UK DON'T PANIC! || \-------------------------------------------------------------------//