[ < ] [ > ]   [ << ] [ 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-command-default

The default command for TeX-command in Japanese TeX mode.

The default value is ‘"pTeX"’.

User Option: japanese-LaTeX-command-default

The default command for TeX-command in Japanese LaTeX mode.

The default value is ‘"LaTeX"’.

User Option: japanese-LaTeX-default-style

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

The default value is ‘"jarticle"’.

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


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

This document was generated by Mosè Giordano on October 29, 2014 using texi2html 1.82.