GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Chinese Emacs |
You can use emacs to edit documents containing Chinese characters. Such a file can be loaded with:
C-x RET c cn-gb RET C-x C-f present.tex |
You can also embed in the file that the encoding to use is cn-gb with the following at the top:
-*- coding: cn-gb -*- |
%%% Local Variables: %%% mode: latex %%% TeX-master: t %%% coding: cn-gb %%% End: |
To insert a Chinese character:
C-\ chinese-py RET jiu |
C-\
to toggle the keyboard entry mode.