Re: book環境にてtableofcontentsを使って,sectionの目次が生成されない.(Windowsのplatexのみ)

名前: しみず
日時: 2006-10-25 18:22:18
IPアドレス: 133.9.4.*

>>45645 原因がわかりました. 下記の頂いたソースをコンパイルすると,正しく,sectionも目次に表示されました. したがって,私のソースの中に,問題があるとおもい, あれこれ,コメントアウトしていたら, \usepackage{fancybox} という記述に原因があることがわかりました. この記述を入れると,\sectionが目次に表示されなくなります. ためしに,下記の記述にこの記述をいれても,\sectionが目次に表示されなくなります. お試しください.とりあえず,\usepackage{fancybox}は使わないで, 書こうと思います. \documentclass{book} %% book.cls:\setcounter{tocdepth}{2} %% Document Class: book 2005/09/16 v1.4f Standard LaTeX document class \begin{document} \makeatletter tocdepth = \the\c@tocdepth \makeatother % -1 = \part % 0 = \chapter % 1 = \section % 2 = \subsection % 3 = \subsubsection % 4 = \paragraph % 5 = \subparagraph \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)