auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: masterfile with different encodings


From: henry atting
Subject: [AUCTeX] Re: masterfile with different encodings
Date: Tue, 05 May 2009 21:01:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

On Di, Mai 05 2009, Ralf Angeli wrote:

> * 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.)

Great, this works fine, many thanks!

henry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]