まず御覧下さい 3枚有ります。目次を作成するには 1回の処理にては 出来 ないので emacs の 最初の ”Ctrl + c + j ”では 目次 と頁 しか出来ません。

もう一度 emacs の ”Ctrl + c + j ”で 最初の 頁は 以下のように 作成さ れます。

この場合に 付録 という 文字は有りません。
これが 出力されるのは 予想外でした。

TeX のファイルです
$ sed -e '/^%/d' 0041.tex
\documentclass[a5paper,10pt]{jarticle}
\pagestyle{plain}
\setcounter{secnumdepth}{5}
\begin{document}
\tableofcontents
\section{観自在菩薩section}
\subsection{行深般若波羅蜜多時subsection}
\subsubsection{照見五蘊皆空subsubsection}
\subsection{度一切苦厄subsection}
\subsubsection{舎利子subsubsection}
\subsubsection{色不異空subsubsection}
\appendix
\section{空不異色section}
\subsection{色即是空subsection}
\subsubsection{空即是色subsubsection}
\subsection{受・想・行・識subsection}
\subsection{亦復如是subsection}
\subsubsection{舎利子subsubsection}
\subsubsection{是諸法空相subsubsection}
\end{document}
これが ファイルの内容ですが
\setcounter{secnumdepth}{5}
|
|
V
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\tableofcontents
|
|
V
\tableofcontents \clearpage
に してみても 相違が見られなかったあくまでこれの場合でしょうが
本来 ”\setcounter{tocdepth}{5}”にてレベルの設定をして ” \tableofcontents \clearpage”にて 改頁をするべきなのでしょうが たまたま なのか 有効性が 見えにくい例に なっています。
にゃんたろう 拝!
2008年 6月23日 (月) 21:00:03 JST 作成