hello, this is my first post, i know there are some similar posts in the archive, but i hope you forgive. just yesterday i managed to get the chinese-py input method in emacs 21.4 working and am able to display big5 characters correctly, also when i re-open the file and set the language environment to chinese-big5. this took a long time and i am not really sure why it suddenly works, but it does. since i want to create multilingual latex files, including classical greek and traditional chinese, i have to get cjk-latex working. i played around with it for some time and never get a clean compile. not to mention wrecked dvis. usually my .tex files are encoded in utf8 [ucs package loaded, as well as utf8 inputenc and T1 fontenc, intlfonts installed]. but when i create a sample .tex file with chinese, file -i file.tex tells me "charset=unknown" (even for the muletest.tex file included in the cjk package, which is displayed correctly in emacs, but won't compile either). i found some reference about the cjk-enc.el, which i then added to the lisp/language path to be able to do m-x cjk-write file and then latex file.cjk, but i get cryptic error mesgs and no output. i also posted on cjk at ffii dot org, but got no response yet. thankful for any suggestions regards paul ------------------------- paul feigelfeld humboldt university berlin institute for aesthetics & media history m. 00000@blicero.org
Dnia 13.03.2005 r., paul feigelfeld napisal(a):
i also posted on cjk at ffii dot org, but got no response yet.
thankful for any suggestions
probably best place for any help with LaTeX/TeX is your country TeX User Group - try www.dante.de. good idea is to send preamble of your LaTeX file, and coments obtained during processing with latex your cjk file. LaTeX is great - I use it for my self. Now I have no problems with using Japanese and Polish together. best regards Marek Wawrykiewicz
paul feigelfeld <00000@blicero.org> さんは書きました:
hello,
this is my first post, i know there are some similar posts in the archive, but i hope you forgive.
just yesterday i managed to get the chinese-py input method in emacs 21.4 working and am able to display big5 characters correctly, also when i re-open the file and set the language environment to chinese-big5. this took a long time and i am not really sure why it suddenly works, but it does.
since i want to create multilingual latex files, including classical greek and traditional chinese, i have to get cjk-latex working. i played around with it for some time and never get a clean compile. not to mention wrecked dvis. usually my .tex files are encoded in utf8 [ucs package loaded, as well as utf8 inputenc and T1 fontenc, intlfonts installed]. but when i create a sample .tex file with chinese, file -i file.tex tells me "charset=unknown" (even for the muletest.tex file included in the cjk package, which is displayed correctly in emacs, but won't compile either).
Looks like you save your files in emacs-mule-encoding and not
in UTF-8.
Save in UTF-8 instead:
M-x set-buffer-file-coding-system RET utf-8 RET
The type something to dirty the buffer and save.
To help Emacs to load the file in the correct encoding when you
edit the file again, make the first line of the file look like this:
% -*- coding: utf-8 -*-
This tells Emacs that the file is UTF-8 but as % is a comment in
LaTeX, it is ignored by LaTeX.
By the way, you need to have Mule-UCS installed to be able to use CJK
in UTF-8 with the Emacs in SuSE Linux 9.2.
If it still doesn't work, please show me a *small* sample file.
--
Mike FABIAN
participants (3)
-
Marek Wawrykiewicz
-
Mike FABIAN
-
paul feigelfeld