Dear Werner, dear Gernot, 

thanks a lot for your very quick reply. I was en route today, so I 
couldn’t answer earlier.

Gernot:
Thanks a lot for your comment; I think that I expressed myself badly. 
What I wanted to say was, that I would like to keep the encoding of the 
source files in ASCII (with some latin1), and therefore only to 
introduce the Japanese characters during the latex compilation, using 
the \CJKchar command. When directly writing the Japanese characters into 
the source file (using Emacs mule mode), I have to save in Unicode, 
which messed up my French characters. And because I only have to add few 
symbols, I don’t really care about the inconvenience of entering these 
characters with their byte values (using CJKchar). Furthermore I don’t 
really know what bibTeX would do with the Unicode encodings. So 
therefore explicitly calling the characters by their byte values seems safe.

Werner:
Thanks a lot for the information, I wasn’t sure about that, but in fact 
I already tried this earlier, for the test I was sending yesterday, I 
was just commenting out the CJK environment.
When activating the CJK environment:

\documentclass[12pt,a4paper]{article}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{CJK}
%\usepackage[CJK, overlap]{ruby}

% für bessere Schriften im PDF
\usepackage{ae}

\begin{document}

\begin{CJK}

%\Unicode{"23}{"45}
%\CJKchar[UTF8]{"02D9}{"04F}
\section{This is a problematic Big 5 character: \CJKchar{169}{92}}

\end{CJK}

\end{document}

I also get an error message, which looks quite different:

! Missing \endcsname inserted.
<to be read again>
\par
l.18 ...ematic Big 5 character: \CJKchar{169}{92}}

? x

I can also try to test the “\CJKchar[UTF8]{"02D9}{"04F}” – line, which 
leads also to a “Missing \endcsname”-error.
Because I was not sure, whether I had messed up something during my 
MikTeX or the Cyberfont installation, I did everything on a second 
computer, coming to the same results.

Could this be a problem with pdfLaTeX?

Thanks a lot for your help, I appreciate very much.

Manuel






Werner LEMBERG wrote:
>> %\begin{CJK}
>> %\Unicode{"23}{"45}
>> %\CJKchar[UTF8]{"02D9}{"04F}
>> \section{This is a problematic Big 5 character: \CJKchar{169}{92}}
>> %\end{CJK}
>>
>> [...]
>>
>> ! Undefined control sequence.
>> \\CJKchar  ... \else [EMAIL PROTECTED] #3\ifnum [EMAIL PROTECTED]
>>                                                   > 160\relax \ifnum [EMAIL 
>> PROTECTED]
>> l.18 ...ematic Big 5 character: \CJKchar{169}{92}}
>>     
>
> \CJKchar is only defined within a CJK environment.
>
>
>     Werner
>
>   


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

Reply via email to