Document ClassesMultiple Indexes in Memoir Class

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
kanthony
Posts: 1
Joined: Wed Apr 14, 2010 3:25 am

Multiple Indexes in Memoir Class

Post by kanthony »

Yes, I've read Wilson's memoir class manual.

I've been wrestling with this for some time now, but the stuff on 306-307 just isn't working for me.

i.e.
\makeindex
\makeindex[lines]
% in body
... index{main} ... \index[lines]{First line}
...
% at end
\clearpage
% main index
\pagestyle{Index}
\renewcommand{\preindexhook}{%
The first page number ....\vskip\onelineskip}
\printindex
%%%% WORKS UP TO HERE, at least when \pagestyle{Index} is commented out
% second index
\clearpage
\pagestyle{ruled}
\renewcommand{\preindexhook}{}
\renewcommand{\indexname}{Index of first lines}
\onecolindex
\printindex[lines]

Am I leaving out a \usepackage line? I simply wnat to build another index. I presume that after getting #2 done, others will be as "easy..."

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: Multiple Indexes in Memoir Class

Post by daleif »

Please post a full minimal example, sniplets are anoying to work with
Post Reply