Mailinglist Archive: opensuse-m17n (59 mails)
| < Previous | Next > |
Re: [m17n] CJK-LaTeX using a CJK-environment in \part{}
- From: Mike FABIAN <mfabian@xxxxxxx>
- Date: Fri, 14 Feb 2003 16:22:21 +0000 (UTC)
- Message-id: <s3t4r7625oo.fsf@xxxxxxxxxxxxxxxx>
Ludger Sicking <ludgerp@xxxxxxxxxxxxxxx> さんは書きました:
> When I wrote
>
> \begin{CJK*}[dnp]{JIS}{min}
> \part{Beweistheorie \`a la Gentzen, ...}
> \end{CJK*}
>
> the problem is that the kanjis don't arise in the table of contents. Have I
> to use an extra package? Does CJK provide such tricky movements of arguments
> or should I have to edit the <filename>.toc by myself??
See the attached example file.
% -*- coding: euc-jp -*-
\documentclass[12pt]{book}
\usepackage{CJK}
\begin{document}
%\tableofcontents % <- *NOT* OK here because it's outside of \begin{CJK} ... \end{CJK}
\begin{CJK*}[dnp]{JIS}{min}
\tableofcontents % <- OK here because it's within \begin{CJK} ... \end{CJK}
\part{猿も木から落ちる}
\end{CJK*}
\end{document}
--
Mike Fabian <mfabian@xxxxxxx> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
> When I wrote
>
> \begin{CJK*}[dnp]{JIS}{min}
> \part{Beweistheorie \`a la Gentzen, ...}
> \end{CJK*}
>
> the problem is that the kanjis don't arise in the table of contents. Have I
> to use an extra package? Does CJK provide such tricky movements of arguments
> or should I have to edit the <filename>.toc by myself??
See the attached example file.
% -*- coding: euc-jp -*-
\documentclass[12pt]{book}
\usepackage{CJK}
\begin{document}
%\tableofcontents % <- *NOT* OK here because it's outside of \begin{CJK} ... \end{CJK}
\begin{CJK*}[dnp]{JIS}{min}
\tableofcontents % <- OK here because it's within \begin{CJK} ... \end{CJK}
\part{猿も木から落ちる}
\end{CJK*}
\end{document}
--
Mike Fabian <mfabian@xxxxxxx> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
| < Previous | Next > |