If you use `@setchapternewpage odd' and have a table of contents
after the title page (that's where most books put it), and your
table of contents happens to have an odd number of pages, then the
pages get out of sync.
That is, the page numbers in the toc are printed in the outer edges like
they should be, but the subsequent pages get them all in the inner pages,
which looks silly.
Consider the following source
\input texinfo.tex @c -*-auto-fill-*-
@c %**start of header
@setfilename foo
@settitle oddchap-bugtest
@c %**end of header
@setchapternewpage odd
@titlepage
@title Foo
@vskip 0pt plus 1filll
@author John Darrington
@sp 2
@end titlepage
@contents
@chapter Chapter One
This is chapter one
@chapter Chapter Two
This is chapter two.
@chapter Chapter Three
This is chapter three.
@bye
I managed to patch texinfo.tex to make it work --- I'm not sure how robust
this patch is. Essentially it ensures that the toc has an even number of
pages. Comments anyone?
*** /usr/lib/texmf/tex/tex/misc/texinfo.tex Fri Nov 26 22:31:39 1999
--- texinfo.tex Sun Dec 26 11:16:16 1999
***************
*** 3428,3433 ****
--- 3428,3434 ----
\fi
\vfill \eject
\endgroup
+ \contentsalignmacro
\pageno = \savepageno
}
***************
*** 3456,3461 ****
--- 3457,3463 ----
\fi
\vfill \eject
\endgroup
+ \contentsalignmacro
\pageno = \savepageno
}
\let\shortcontents = \summarycontents