Jun 27, 2005 20:15
Today I spent almost three HOURS trying to get Emacs, LaTeX, and the CJK TeX package to cooperate with each other. The main problem I was having was that files included from the main .tex file couldn't have any Japanese characters in them, or they'd cause an "invalid character" error. After lots of pointless googling and trying several different permutations of text encodings for all the files and whatnot, I finally had the brilliant idea of checking the CJK documentation...and found out that instead of \include and \import, I was *supposed* to use \CJKinclude and \CJKimport. Oops. Once I did that, everything worked fine, of course.
Moral of the story: Don't fart around with looking up errors in Google before checking the manual *first*! ^_^;; (Although, the way both Emacs and TeX handle non-Roman characters is waaaay too complicated, IMO...)
日本語,
kvetching,
geekery