I'm writing a book with LaTex on Windows (I use WinEdt). The book contains Chinese Characters. I bought a new PC with Windows 7. I installed the latest MIKTEX 2.9. I installed WinEdt 6.0 on the new PC. I then migrated my tex files from my old PC to the new PC. These tex files compile fine on my old PC (within MIKTEX 2.4). But when I tried to compile the tex files on the new PC, I encountered an error message:
! Improper alphabetic constant
<to be read again>
\@tempcntb
1.108 \section{The Two-Headed Snake (...)}
?
Inside the parenthesis (...) are special characters that indicate a Chinese character, except when I searched my tex source files, there is no such a parenthesis with Chinese characters inside.
Then the compiler hangs unless I kill the job. I suspect that it has something to do with having the CJK package incompatible with the new Miktex 9. In my main tex file, I have:
\usepackage{CJK}
\begin{document}
\begin{CJK}{GB}{gbsn}
....
\end{CJK}
\end{document}
Which worked fine on my old PC with Windows XP. I tried to change the CJK settings to different ones I've read on the web but to no avail. Any help is appreciated! Thank-you.