Notes for users of oriental languages

In order to type oriental languages, you first have to start a conversion server which can be used in combination with the X input method and set the environment variables accordingly. For instance, in the case of Japanese, one typically has to execute the folowing shell commands:

kinput2 &
export LANG="ja_JP.eucJP"
export LC_ALL="ja_JP.eucJP"
export XMODIFIERS="@im=kinput2"

You also have to install Japanese fonts. For instance, you may download the ipag fonts ipam.ttf, ipag.ttf, ipamp.ttf, ipagm.ttf and ipagui.ttf and copy them to

    ~/.TeXmacs/fonts/truetype

After doing this, you may launch TeXmacs using

texmacs –delete-font-cache

and select Japanese from the icon on the first icon bar. If everything went allright, the menus should now show up in Japanese and the current document is also in Japanese. Notice that you may also select Japanese as your default language in EditPreferencesLanguageJapanese. It is also possible to select Japanese for a portion of text in a document using FormatLanguageJapanese.

Inside a Japanese portion of text, and depending on your input method, you usually have to type S-space in order to start Kana to Kanji conversion. A small window shows up where you can type phonetic characters and use space in order to start conversion to Kanji characters. When pressing return, the text is inserted into the main TeXmacs window. Pressing S-space once again returns to the classical TeXmacs input method.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".