XeTeXInstalling xeCJK macro

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
oldmankit
Posts: 9
Joined: Sun Feb 21, 2010 3:32 pm

Installing xeCJK macro

Post by oldmankit »

Hi,

I've just discovered xetex and it looks like the solution to my need for both English and Thai in the same document. I wasn't satisfied with having to change the encoding of the whole document to Thai, which was my solution before. This upset the type-setting of the Western characters.

I followed the readme here: http://wiki.lyx.org/LyX/XeTeX

I can now achieve what I want by putting Thai words inside the following:
{\fontspec{Garuda}
and closing with
}

However to make it easier (I don't want to type all that code for every Thai section) I continued through the instructions and found I needed to install this macro: http://www.tex.ac.uk/tex-archive/macros ... /xeCJK.dtx

I downloaded it fine, but when I ran

Code: Select all

xelatex xeCJK.dtx
it reported a whole load of errors, starting here:

Code: Select all

! Undefined control sequence.
\makexeCJKactive ->\XeTeXinterchartokenstate 
                                             =1\relax 
l.64 \makexeCJKactive
I tried to search for a solution, but it all seems to be in Chinese, which I don't understand.

Any help is much appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
oldmankit
Posts: 9
Joined: Sun Feb 21, 2010 3:32 pm

Re: Installing xeCJK macro

Post by oldmankit »

This one's pretty important to me, so bump bump bump :D
magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

Installing xeCJK macro

Post by magicmoose »

If no-one here knows, try comp.text.tex or emailing the package maintainers.
Post Reply