# CJK In Tex Live

to be fair, I only tested Japanese. こんにちは！

Assuming that texlive is installed. this isnt tested, i reverse engineered this tutorial from my own working install after i got it working.

First, this is the annoying part, you have to install the cyberbit fonts. I have done most of the work for you, grab this zip file.

Place this file in your texmf-local folder. This is c:\texlive\texmf-local on my machine. Then, unzip it and 'make sure to keep all path information'. WinRAR does this for me automatically in my install. That is, it should drop all the appropriate files into their appropriate sub-folders.

Then you need to run two commands. Why both, im not sure, but do this:

as administrator open a CMD window. run updmap-system --enable Map=cyberb.map then as regular user run updmap --enable Map=cyberb.map

if you cannot find these executables, theyre in c:\texlive\2009\bin\win32\ on my system. now you should be done!

to get CJK working, you need to include \usepackage[utf8]{inputenc} <-- default encoding of input files. \usepackage[T1]{CJKutf8} <-- uses utf-8 (unicode 8-bit) encoding, and falls back on T1 for other text

Then anywhere in your text you can create a CJK environment as follows: \begin{CJK}{UTF8}{song} これはテストです。 \end{CJK}

WARNING: I can not, for the life of me, get texniccenter working with unicode. I open the document in notepad, add my japanese, and save as and choose Unicode file encoding. Thats right, note pad is more capable than texniccenter.

CJK is the name of the environment, UTF8 is the encoding, and song is the font.