XeTeXProblem with xeCJK (doesn't allow other fonts to be inserted

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
clemens
Posts: 77
Joined: Fri Jun 26, 2009 11:57 am

Problem with xeCJK (doesn't allow other fonts to be inserted

Post by clemens »

Hello,

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 character.
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?
Attached are 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
Attachments
without xeCJK.pdf
(34.84 KiB) Downloaded 333 times
without xeCJK.tex
(2.11 KiB) Downloaded 344 times
with xeCJK.pdf
(231.11 KiB) Downloaded 365 times
with xeCJK.tex
(2.19 KiB) Downloaded 322 times
Last edited by clemens on Wed Sep 09, 2009 6:31 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply