[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.2 Japanese TeX

To write Japanese text with AUCTeX you need to have versions of TeX and Emacs that support Japanese. There exist at least two variants of TeX for Japanese text (jTeX and pTeX), and AUCTeX can be used with MULE supported Emacsen.

To install Japanese support for AUCTeX, copy `tex-jp.el' to AUCTeX installed directory. Next two commands will automatically install contributed files.

 
make contrib
make install-contrib

See `INSTALL' and `Makefile' for more information.

To use the Japanese TeX variants, simply enter japanese-tex-mode, japanese-latex-mode, or japanese-slitex-mode, and everything should work. If not, send mail to Shinji Kobayashi `<koba@flab.fujitsu.co.jp>', who kindly donated the code for supporting Japanese in AUCTeX. None of the primary AUCTeX maintainers understand Japanese, so they can not help you.

If you usually use AUCTeX in Japanese, setting following variables is useful.

User Option: TeX-default-mode
Mode to enter for a new file when it can't be determined whether the file is plain TeX or LaTeX or what.

To use Japanese TeX always, set japanese command for example:

 
(setq TeX-default-mode 'japanese-latex-mode)

User Option: japanese-TeX-command-default
The default command for TeX-command in japanese TeX mode.

The default value is `jTeX'.

User Option: japanese-LaTeX-command-default
The default command for TeX-command in japanese LaTeX mode.

The default value is `jLaTeX'.

User Option: japanese-LaTeX-default-style
The default style/class when creating new japanese LaTeX document.

The default value is `j-article'.

See `tex-jp.el' for more information.



This document was generated by Build Daemon user on April, 24 2005 using texi2html