help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] logical page numbers in pdfs


From: Karl Berry
Subject: Re: [help-texinfo] logical page numbers in pdfs
Date: Fri, 18 Jan 2008 13:50:43 -0600

    I want the physical and logical page numbers in PDFs to match.

Here's a test file I concocted which redefines the TeX counters used to
do the negative numbers ... hope it works for you.  And that this is
still relevant.

(I'm not exactly sure why the advance is necessary after the @end
titlepage, but oh well.)


\input texinfo
@setfilename positive.info

@tex
\def\lastnegativepageno{\pageno}
\def\savepageno{\pageno}
@end tex

@titlepage
Hello
@end titlepage

@tex
\global\advance\pageno by 1
@end tex

@contents
@shortcontents

@node Top
@top x

Hello.
@page
There.

@bye




reply via email to

[Prev in Thread] Current Thread [Next in Thread]