Dear all,

I am trying to create a Koma-script .tex file, and I am having problems
that I was not able to solve so far.

Please have a look at my minimal example. It actually works fine.
However, when I "activate" the \tableofcontents command, upon the second
compilation LaTeX complains: "Package inputenc Error: Unicode char \u 8:
中 not set up for use with LaTeX". The error message refers to line 20.

Which makes no sense to me, as elsewhere characters are produced correctly.

If I take the Chinese out of the second subsection's title (line 20),
compiling a table of content is again possible. I require Chinese, though.

I would highly appreciate some guidance on this issue.

All the best,

David

PS: I also have troubles with the \renewcommand under koma, but that is
the next step.

\documentclass{scrartcl}%   this is a KOMA-script class
\usepackage{CJKutf8}

\begin{document}
\begin{CJK}{UTF8}{song}
%\CJKcaption{GB}%            loading GB.cap; see http://www.inf.ed.ac.uk/systems/tex/CJK/commands.txt

\title{中文论文}
\author{我}
\date{2008年10月19日}
\maketitle

%\tableofcontents
\newpage

\section{Section1}
\subsection{subsection1}
\section{section2}
中文
\subsection{subsection2汉子}

\end{CJK}    
\end{document}

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to