
私の問題は、自動索引エントリを TOC に表示したくないので、手動で追加したいということです。しかし、何を試しても、自動エントリは常に表示されます。
私は以下の組み合わせを試しました:
\usepackage{imakeidx}
\usepackage{makeidx}
\makeindex
\makeindex[columns=3, intoc=false]
\makeindex[intoc=false]
\printindex
私が抱えているもう 1 つの問題は、key-values がimakeidx-makeindex
まったく何も実行せず、\indexsetup
プリアンブルでエラーを返すことです。繰り返しビルドを使用しているため、これは TOC ビルダーによる見せかけではありません。
答え1
質問が不明確です。オプションはintoc=false
パッケージ内でデフォルトで設定されており、この小さなドキュメントを使用するエントリはimakeidx
ありません。ToC
必要に応じて使用するintoc=true
こともできますToC
。
ただし、makeidx
とをimakeidx
一緒にロードしないでください。より最新のimakeidx
パッケージはtocbibind
と連携しないため、ロードしないでくださいimakeidx
。
\documentclass{article}
\usepackage{url}
\usepackage{imakeidx}
\makeindex[columns=3,title={Index of more or less famous \TeX\ folks},intoc=false]
\begin{document}
\tableofcontents
\vskip\baselineskip
A lot of people spend their time on \url{www.tex.stackexchange.com}, to boldly \TeX\ where others don't dare ;-)
\index{egreg}
\index{Paulo}
\index{David}
\index{Werner}
\index{Johannes}
\index{Joseph}
\index{Harish}
\index{Clemens}
\index{Heiko}
\index{Will}
\index{Bruno}
\index{Gonzalo}
\index{Mico}
\index{Ulrike}
\index{barbara}
\index{cfr}
\index{BlackForester}
\printindex
\end{document}