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

5.4.2 Using AUCTeX with 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 (NTT jTeX and ASCII pTeX). AUCTeX can be used with MULE (MULtilingual Enhancement to GNU Emacs) supported Emacsen.

To use the Japanese TeX variants, simply activate japanese-plain-tex-mode or japanese-latex-mode and everything should work. If not, send mail to Masayuki Ataka ‘<ataka@milk.freemail.ne.jp>’, who kindly donated the code for supporting Japanese in AUCTeX. None of the primary AUCTeX maintainers understand Japanese, so they cannot help you.

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

User Option: TeX-default-mode

Mode to enter for a new file when it cannott be determined whether the file is plain TeX or LaTeX or what.

If you want to enter Japanese LaTeX mode whenever this may happen, set the variable like this:

(setq TeX-default-mode 'japanese-latex-mode)
User Option: japanese-TeX-engine-default

The default TeX engine in Japanese TeX mode.

The default value is ‘ptex’.

User Option: japanese-LaTeX-default-style

The default style/class when creating a new Japanese LaTeX document.

The default value is ‘"jarticle"’.

The former customize options japanese-TeX-command-default and japanese-LaTeX-command-default are obsolete. Use japanese-TeX-engine-default instead. If you need to customize the executable file name such as ‘"latex"’, the options for them, or both, customize TeX-engine-alist.

Also, the option japanese-TeX-command-list is considered as semi-obsolete. It still functions as before, but in theory, it is not required anymore in normal use.

See ‘tex-jp.el’ for more information.

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

This document was generated by Mosè Giordano on January 10, 2017 using texi2html 1.82.