Koji Yokota wrote:
Therefore, is it possible for you to provide another choice for
Japanese *not to use* the CJK package? That is, another choice in the
menu of Document Setting -> Language which creates a code like:
> \batchmode
> \makeatletter
> [EMAIL PROTECTED]/home/hge//}}
> \makeatother
> \documentclass{article}
> \usepackage[T1]{fontenc}
>
> \makeatletter
>
> \makeatother
> \begin{document}
>
> \title{テスト}
>
> \maketitle
> Hey!日本語だ。
> \end{document}
Uwe,
Is the attached patch acceptable? If so, could you put such
modification? The existence of this kind of choice (i.e. use Japanese
without CJK nor inputenc) is *indeed* critical to traditional Japanese
TeX users.
Regards,
Koji
--- lib/encodings.orig Sun May 13 23:38:16 2007
+++ lib/encodings Tue May 22 16:26:26 2007
@@ -183,6 +183,15 @@
Encoding utf8-plain utf8-plain UTF-8 variable none
End
+# Traditional Japanese TeX programs require neither CJK nor inputenc
+# package.
+Encoding euc-jp-plain EUC-JP-plain EUC-JP variable none
+End
+Encoding jis-plain JIS-plain JIS variable none
+End
+Encoding shift-jis-plain SJIS-plain SJIS variable none
+End
+
# Pure 7bit ASCII encoding (partially hardcoded in LyX)
Encoding ascii ascii ascii fixed none
End
--- lib/languages.orig Sun May 13 23:38:16 2007
+++ lib/languages Tue May 22 16:20:49 2007
@@ -39,6 +39,7 @@
irish irish "Irish" false iso8859-15 ga_IE ""
italian italian "Italian" false iso8859-15 it_IT ""
japanese "" "Japanese" false euc-jp ja_JP ""
+japanese-plain "" "Japanese (non-CJK)" false euc-jp-plain ja_JP ""
kazakh kazakh "Kazakh" false pt154 kk_KZ ""
# there is no country code for Korean because ko_KR is the same as ko_KI
korean "" "Korean" false euc-kr ko ""