[XeTeX] xeCJK not allowing to use other font with \fontspec{fontname}
SUN Wenchang
sunwch at hotmail.com
Tue Sep 15 04:22:13 CEST 2009
Set
\XeTeXinterchartokenstate=0\relax
where you want xeCJK to be inactive and set it to be 1 to active xeCJK.
Hope this helps.
Best,
Wenchang
Date: Sun, 13 Sep 2009 17:10:13 +0100
From: clementelavoratori at googlemail.com
To: xetex at tug.org
Subject: [XeTeX] xeCJK not allowing to use other font with \fontspec{fontname}
I am using Lyx with XeTex but somehow some fonts are not displayed correctly. I am using mainly a mixture of Roman characters and East Asian ideograms but what is not showing on the result pdf are some random Indic characters.
I think I can refer the problem to the fact that I use the XeCJK package to automatically distinguish between Roman and East Asian fonts and when it finds some utf code referring to the Indic font it considers it as being East Asian. Can I stop XeCJK (loaded in the preamble) only where the Indic characters are present?
I attached in latex community forum the examples with and without xeCJK: in the first case I get the East Asian character but not the Indic ones, in the second the opposite (.lyx are renamed to .tex to avoid the forum filters, but they are actually almost identical)
Cheers
Ps. here is a link to my post on the latex community forum, with a link to the examples:
http://www.latex-community.org/forum/viewtopic.php?f=40&t=5921
_________________________________________________________________
隨身的 Windows Live Messenger 和 Hotmail,不限時地掌握資訊盡在指間 — Windows Live for Mobile
http://www.msn.com.tw/msnmobile/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090915/4aa06e2d/attachment.html>
More information about the XeTeX
mailing list