XeTeX ⇒ Problem with xeCJK (doesn't allow other fonts to be inserted
Problem with xeCJK (doesn't allow other fonts to be inserted
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 375 times
-
- without xeCJK.tex
- (2.11 KiB) Downloaded 377 times
-
- with xeCJK.pdf
- (231.11 KiB) Downloaded 397 times
-
- with xeCJK.tex
- (2.19 KiB) Downloaded 353 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis