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
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.