On 18.01.06 Wang Xu ([EMAIL PROTECTED]) wrote: Hi,
> If a LaTeX doc using listings (1.3) and CJK packages > 1) has a Chinese page heading, such as has a Chinese chapter name > which will appear in the heading, > 2) and long contents in a lstlisting environment or lstinputlisting > command which across page boundary, i.e. across the heading with > Chinese charaters, > an error will occur as following. > |! Incomplete \iffalse; all text was ignored after line 41. > |<inserted text> > | \fi > > > And such condition will not lead to any problems in listings (1.2) > shipped tetex-2.02 and older version such as listings 1.1 . Hence, > I think it may be a bug of listings package. > Danai SAE-HAN has forwarded this to CJK upstream (Werner Lemberg) and got the following answer: --- Note that this incompatibility is documented behaviour of the `listings' package! If you don't use Chinese within listings, add \lstset{extendedchars=false} at the beginning of your document to make GB2312 work. --- Does that solve your problem? Can we close the bug? Regards, Hilmar -- sigfault -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]