Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
Have a look at tex.stackexchange.com/questions/17611/… – Leo Liu May 13 '11 at 3:59
2  
And please provide minimal working example MWE – Leo Liu May 13 '11 at 4:01
With no proper MWE, we can't hope to answer this question: I'm therefore closing it. – Joseph Wright Jul 17 '11 at 11:16

closed as not a real question by Joseph Wright Jul 17 '11 at 11:16

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.