LyXCan't seem to compile chinese

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Can't seem to compile chinese

Post by lyxrocks »

I installed the packages listed here:

cjk and arphi.

as you can see below:
2.jpg
2.jpg (57.39 KiB) Viewed 8035 times
i reconfigured, quit and ran lyx again.

i changed my document setting to GBK, when i compile, this happens:
1.jpg
1.jpg (54.5 KiB) Viewed 8035 times
similarly, Unicode(CJX)(utf8) doesn't work either.

i then changed my document setting to EUC-CN, when i compile, it runs for a bit, then this happens:
3.jpg
3.jpg (88.14 KiB) Viewed 8035 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Can't seem to compile chinese

Post by lyxrocks »

actually i solved it.

assuming you have done what i did in the OP, next

download v2.9.2.164 (203M) from here

then install etoolbox under MiKTeX package manager.

then change document class to article(Ctex) under document settings.

the language encoding i used is GBK.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Can't seem to compile chinese

Post by scottkosty »

lyxrocks wrote:actually i solved it.

assuming you have done what i did in the OP, next

download v2.9.2.164 (203M) from here

then install etoolbox under MiKTeX package manager.

then change document class to article(Ctex) under document settings.

the language encoding i used is GBK.
Hi lyxrocks,

Thanks for posting back the solution you found!

Would any of this be useful tod add to the LyX wiki page for Chinese?
http://wiki.lyx.org/LyX/Chinese

I do not use Chinese or Windows, so I don't know how to update it. If there is something to add, and you have the time, you can just go to "Edit" and make the changes.

Scott
daiYuTsung
Posts: 11
Joined: Thu Jun 18, 2015 8:25 pm

Re: Can't seem to compile chinese

Post by daiYuTsung »

I face the similar situation, and I fix it by follow.
http://tex.stackexchange.com/questions/ ... in-windows
1. Navigate to your miktex bin directory
2. Execute the below commands:
initexmf --mkmaps
initexmf --update-fndb

Notice that the original post has a typo in the second command...
---
Besides, I don't know whether my answer should add to Wiki or not, because I don't actually know what I did...

Yu-Tsung
Post Reply