2823 |
@vindex japanese-LaTeX-command-default |
@vindex japanese-LaTeX-command-default |
2824 |
@vindex japanese-LaTeX-default-style |
@vindex japanese-LaTeX-default-style |
2825 |
|
|
2826 |
To write Japanese text with @AUCTeX{} you need to have versions of |
To write Japanese text with @AUCTeX{}, you need to have versions of |
2827 |
@TeX{} and Emacs that support Japanese. There exist at least two |
@TeX{} and Emacs that support Japanese. There exist at least two |
2828 |
variants of @TeX{} for Japanese text (NTT j@TeX{} and ASCII p@TeX{}). |
variants of @TeX{} for Japanese text (NTT j@TeX{} and ASCII p@TeX{}). |
2829 |
@AUCTeX{} can be used with @acronym{MULE, MULtilingual Enhancement to GNU |
@AUCTeX{} can be used with @acronym{MULE, MULtilingual Enhancement to GNU |
2830 |
Emacs} supported Emacsen. |
Emacs} supported Emacsen. |
2831 |
|
|
2832 |
Next two commands will automatically install Japanese contributed files. |
To use the Japanese @TeX{} variants, simply activate |
|
|
|
|
@example |
|
|
make contrib |
|
|
make install-contrib |
|
|
@end example |
|
|
|
|
|
If it fails, copy @file{tex-jp.el} to @AUCTeX{} installed directory, |
|
|
manually. |
|
|
|
|
|
To use the Japanese @TeX{} variants, simply enter |
|
2833 |
@code{japanese-plain-tex-mode} or @code{japanese-latex-mode} and |
@code{japanese-plain-tex-mode} or @code{japanese-latex-mode} and |
2834 |
everything should work. If not, send mail to Masayuki Ataka |
everything should work. If not, send mail to Masayuki Ataka |
2835 |
@samp{<ataka@@milk.freemail.ne.jp>}, who kindly donated the code for |
@samp{<ataka@@milk.freemail.ne.jp>}, who kindly donated the code for |
2836 |
supporting Japanese in @AUCTeX{}. None of the primary @AUCTeX{} |
supporting Japanese in @AUCTeX{}. None of the primary @AUCTeX{} |
2837 |
maintainers understand Japanese, so they can not help you. |
maintainers understand Japanese, so they cannot help you. |
2838 |
|
|
2839 |
If you usually use @AUCTeX{} in Japanese, setting following variables |
If you usually use @AUCTeX{} in Japanese, setting the following |
2840 |
is useful. |
variables is useful. |
2841 |
|
|
2842 |
@defopt TeX-default-mode |
@defopt TeX-default-mode |
2843 |
Mode to enter for a new file when it can't be determined whether |
Mode to enter for a new file when it cannott be determined whether the |
2844 |
the file is plain @TeX{} or @LaTeX{} or what. |
file is plain @TeX{} or @LaTeX{} or what. |
2845 |
|
|
2846 |
To use Japanese @TeX{} always, set japanese command for example: |
If you want to enter Japanese @LaTeX{} mode whenever this may happen, |
2847 |
|
set the variable like this: |
2848 |
@lisp |
@lisp |
2849 |
(setq TeX-default-mode 'japanese-latex-mode) |
(setq TeX-default-mode 'japanese-latex-mode) |
2850 |
@end lisp |
@end lisp |
2851 |
@end defopt |
@end defopt |
2852 |
|
|
2853 |
@defopt japanese-TeX-command-default |
@defopt japanese-TeX-command-default |
2854 |
The default command for TeX-command in japanese @TeX{} mode. |
The default command for @code{TeX-command} in Japanese @TeX{} mode. |
2855 |
|
|
2856 |
The default value is @samp{"pTeX"}. |
The default value is @samp{"pTeX"}. |
2857 |
@end defopt |
@end defopt |
2858 |
|
|
2859 |
@defopt japanese-LaTeX-command-default |
@defopt japanese-LaTeX-command-default |
2860 |
The default command for TeX-command in japanese @LaTeX{} mode. |
The default command for @code{TeX-command} in Japanese @LaTeX{} mode. |
2861 |
|
|
2862 |
The default value is @samp{"LaTeX"}. |
The default value is @samp{"LaTeX"}. |
2863 |
@end defopt |
@end defopt |
2864 |
|
|
2865 |
@defopt japanese-LaTeX-default-style |
@defopt japanese-LaTeX-default-style |
2866 |
The default style/class when creating new japanese @LaTeX{} document. |
The default style/class when creating a new Japanese @LaTeX{} document. |
2867 |
|
|
2868 |
The default value is @samp{"jarticle"}. |
The default value is @samp{"jarticle"}. |
2869 |
@end defopt |
@end defopt |