[texhax] Index in Table of Contents
bhaskar51 at gmail.com
Mon May 31 20:52:13 CEST 2010
It's nice of you to take all this time!
I've been using Tex and Latex since the mid-80s. I've learned that Don
Knuth is not the only generous Tex user. The entire Tex user community
seems to consist of people who share his devotion to producing beautiful
manuscripts and are willing to take great pains over others' manuscripts.
Thanks so much.
106 Larchwood Drive
Cambridge, MA 02138
On Mon, May 31, 2010 at 12:30 PM, Barbara Beeton <bnb at ams.org> wrote:
> I think I have a solution.
> Just before the *\printindex* command, I inserted the command *\newpage*
> and then the command*
> That seems to produce a Table of Contents with the correct page number
> the Index without forcing a page break for the index.
> I hope this is a stable solution.
> if the text preceding the index ends on an
> even-numbered page, this should work. if it
> ends on an odd-numbered page, then the page
> number generated for the index will be one
> less than the actual page. actually, there
> are some obscure boundary conditions that
> could also do the wrong thing, but they're
> vanishingly unlikely to occur.
> this is a good first approximation, though.
> do check the result (after two latex runs)
> to make sure you really do have the correct
> page number, and if not, adjust as appropriate.
> -- bb
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the texhax