patboehler Posted December 8, 2006 at 07:27 PM Report Share Posted December 8, 2006 at 07:27 PM Hi everyone! I'm writing my Ph.D. thesis on LaTeX. Everything works great except for the fact that I can't write Chinese characters. Could anyone please tell me with package to install and how to do that? I haven't figured that out. This is really important, so thank you very much for any help!!! Yours, Patrick Quote Link to comment Share on other sites More sharing options...
chinesetools Posted December 9, 2006 at 03:58 AM Report Share Posted December 9, 2006 at 03:58 AM You need a LaTeX package called CJK. It will enable use of Chinese (and Japanese and Korean) in LaTeX. Searching for CJK and LaTeX on Google will give you a lot of links on how to use it on Windows with various flavors of LaTeX. http://www.math.nus.edu.sg/aslaksen/cs/cjk.html looks particularly helpful. Quote Link to comment Share on other sites More sharing options...
patboehler Posted December 9, 2006 at 02:08 PM Author Report Share Posted December 9, 2006 at 02:08 PM Thank you very much! The package should work just fine. My problem is, sorry for not being explicit, that I use a Mac. I googled it already, but I found no solution... Thanks again... patrick Quote Link to comment Share on other sites More sharing options...
Sortaz Posted December 13, 2006 at 03:43 AM Report Share Posted December 13, 2006 at 03:43 AM Basically you should only need the CJK-package (even if you're using Mac OSX) which you can get here: http://cjk.ffii.org/ . If that should not work, I did find this guide http://www.ece.uci.edu/~chou/unicode-tex.html . I have no idea if it works since I do not use OS X myself Quote Link to comment Share on other sites More sharing options...
holger Posted July 3, 2008 at 04:55 PM Report Share Posted July 3, 2008 at 04:55 PM hi, I'm in search of a person who has him- or herself already used latex setting chinese characters sucessfully on a windows pc. I've spent three whole days trying everything without success. I installed and imported the CJK packages and tried several editors which claim to be unicode compatible. anyone out there? please... holger Quote Link to comment Share on other sites More sharing options...
sirslope Posted July 6, 2008 at 04:18 PM Report Share Posted July 6, 2008 at 04:18 PM I'm fairly certain a combination like MiKTeX + CJK package + Texmaker works fine. I ran into the same problem a couple years ago and concluded that it was the development environment (TexnicCenter), not MiKTeX, that was the source of the problem. Quote Link to comment Share on other sites More sharing options...
ipsi() Posted July 7, 2008 at 12:14 AM Report Share Posted July 7, 2008 at 12:14 AM I also had issues with that on Windows... It worked for a while then stopped... Works fine on Ubuntu 8.04 (I guess I'm a Linux fan-boy now... Use it at home and at work, and on the EEE PC). . Quote Link to comment Share on other sites More sharing options...
carlo Posted July 16, 2008 at 10:16 AM Report Share Posted July 16, 2008 at 10:16 AM I've used CJK many times on windows XP and with Miktex. The problem with TechnixCenter is that it messes up the encoding I think, but you can either (1) choose another editor or (2) input Chinese text somewhere else and cut & paste it into TC. Quote Link to comment Share on other sites More sharing options...
GaryM Posted January 11, 2012 at 03:44 PM Report Share Posted January 11, 2012 at 03:44 PM I am not an expert on this topic, but I noticed that the latest post is quite old. I just wanted to share my experiences on this subject. I am a Windows user. (1) I installed proTeXt - ( a MiKTeX-based distribution for Windows ), available from http://www.tug.org/protext/ it is free. This is the recommended download for Windows users by the "Tex Users Group" (http://www.tug.org/) (2) It includes TeXstudio 2.2 ( 2149 ). I used to complete my DPhil without any problems. (3) MiKTeX is installed by default, which by default includes the CJK package (4) For help with Chinese character input on windows I recommend consulting http://www.pinyinjoe.com/ (5) Example CJK files are available from http://ctan.org/tex-archive/language/chinese/CJK/cjk-4.8.2/examples I was looking for examples that (a) displayed Chinese characters or pinyin in the text editor without error (b) compiled to pdf. Unfortunately only 3 of the example files fulfilled these criteria; (1) CJKspace.tex (2) py_test.tex (3) UTF8.tex Other users may have some suggestions about how best the other example files are used and processed. The ones referred to here are very basic. If anyone else has some up to date experiences, I would be vary happy to learn from them! Quote Link to comment Share on other sites More sharing options...
renzhe Posted January 12, 2012 at 11:32 PM Report Share Posted January 12, 2012 at 11:32 PM It's much easier nowadays! XeLaTeX is a fully unicode-aware implementation of Latex. You will need to install XeLaTeX and the xeCJK package. Most TeX distributions will have them. Then put the following in your preamble: \usepackage{xeCJK} And the following at the beginning of your document: \setCJKmainfont{AR PL UMing CN} Instead of "AR PL UMing CN", use whatever Chinese font you like. Type Chinse as normal into your editor, save as UTF-8. Nothing else is needed. Then compile using xelatex instead of pdflatex to generate the pdf. Works like a charm. EDIT: This is ESPECIALLY useful if you need to mix Chinese with other languages. With most CJK packages, you have to manually switch fonts all the time, as they assume you'll be writing Chinese and only Chinese. Using Unicode and XeLaTeX makes it all automatic, which is really cool. 2 Quote Link to comment Share on other sites More sharing options...
GaryM Posted January 18, 2012 at 02:43 PM Report Share Posted January 18, 2012 at 02:43 PM Thank you so much. I will definitely look into this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.