Take the 2-minute tour ×
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 am new to LaTeX. I have been working on a .tex file and very unexpectedly, encountered the following error:

 Error message - **There is a '}' missing: unexpected end of line.**

in the following line of my IEEEtrans.cls files.

 {\catcode`\|=0 \catcode`\\=12
 |xdef|@IEEEbackslash{\}}

Any pointers or remedies?

share|improve this question

closed as too localized by Joseph Wright Aug 5 '12 at 16:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I don't think that is a TeX error, is it an error message from your editor, which may not be able to understand the syntax used there. But you should almost never need to load the class file into your editor. –  David Carlisle Jun 28 '12 at 12:41
    
also does it really say |xdef|@IEEEbackslash{}} I'd have expected |xdef|@IEEEbackslash{\} –  David Carlisle Jun 28 '12 at 13:08
    
If they had used {\escapechar=\m@ne\xdef\@IEEEbackslash{\string\\}} the editor wouldn't complain. Alternatively, \edef\@IEEEbackslash{\expandafter\@gobble\string\\}. Or, even better, \let\@IEEEbackslash\@backslashchar –  egreg Jun 28 '12 at 23:04

Browse other questions tagged or ask your own question.