[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Re: masterfile with different encodings
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX] Re: masterfile with different encodings |
Date: |
Tue, 05 May 2009 20:22:24 +0200 |
* henry atting (2009-05-05) writes:
> file eins.tex with some Japanese Text:
>
>
> \begin{CJK*}[dnp]{JIS}{min}
>
> 是諸法空相.不生不滅.不垢不浄不増不減
> \end{CJK*}
[...]
> If I run pdflatex on it I get this error message (after `Maß`):
>
> ERROR: Argument of address@hidden has an extra }.
>
> If I change the coding from euc-japan to utf-8 this error appears:
>
> ERROR: Package CJK Error: Invalid character code.
>
> If I replace the umlauts with LaTeX code everything works fine.
Hm, then this is more of a LaTeX problem than an AUCTeX problem.
Anyway, you can make this work by replacing
\usepackage{CJK}
with
\usepackage{CJKutf8}
in the master file and using
\begin{CJK*}{UTF8}{min}
是諸法空相.不生不滅.不垢不浄不増不減
\end{CJK*}
in eins.tex which should then be encoded in UTF-8. (Change the coding
variable accordingly and use `C-x <RET> c' before saving the file.)
--
Ralf