Japanese

How to set up LyX for Japanese

I. Windows

1. Setup TeX environment and tune up LyX

Install LyX for Windows. If you intend to use pTeX only, you don't have to install MikTeX during the installation process. Otherwise, make sure to set paths correctly so that pTeX which will be installed in the next step does not conflict with MikTeX.

Install pTeX (Japanese-specific LaTeX-programs) from this page: Download all packages from there to a folder on your computer that doesn't have spaces in its path, e.g. to "C:\pTeX".

Extract the package file texinst756.zip to the folder C:\pTeX

Open a console, change to the folder C:\pTeX and execute the commandtexinst756 C:\pTeX

Download dviout (DVI viewer that can handle Japanese characters) from CTAN and install

In the Font tab, set TEXROOT, TEXPK and TEXFONTS variables appropriately. Pushing "Guess" button may help.

In the Font2 tab, set gen: appropriately. Pushing "gen:" button does automatic search for you.

In the WinJFont tab, choose appropriate Japanese font for "Windows Font". Normally "MS Mincho" (font name may be shown in Japanese name) is used.

Add ghostscript fonts: If you use Japanese variant of ghostscript, you may need to add URW fonts with Cyrill characters. In such a case, please download one of the following files and expand it in the ghostscript folder (e.g. if it is C:\gs\gs8.63, each font file should go in C:\gs\gs8.63\fonts):