[texhax] latex command

tom sgouros tomfool at as220.org
Sun Jun 21 19:13:23 CEST 2009


Petr Sojka <sojka at fi.muni.cz> wrote:

> Dear Tom,
> 
> check your use of \makeatletter and \makeatother
> and other means of setting \catcode of @.
> The error apears when category code of @
> during use mismatches the category code 
> set/fixed in the time of definition.
> It is usually changed only \AtBeginDocument.

That's funny.  It turned out that I had an errant @ not enclosed by
\makeatletter and \makeatother a dozen lines above the apparent source
of the problem.  It had been working fine until I added the \LaTeX
command.  Curious, but it works now.  Are you suggesting I was
inadvertently redefining \@?

Thank you for the advice.

 -tom

> 
> Hope that helps you to localize the problem.
> Petr Sojka
>  
> > Date: Sun, 21 Jun 2009 00:31:11 -0400
> > From: "Tom Sgouros" <tomfool at as220.org>
> > To: texhax at tug.org
> > Subject: [texhax] latex command
> > Message-ID: <8190.1245558671 at as220.org>
> > 
> > Hello all:
> > 
> > I'm all but done with preparing a book manuscript, and when I try to put
> > \LaTeX on the credits page, it gives me an error: "Use of \@ doesn't
> > match its definition."
> > 
> > Apart from helping me appreciate the irony of the situation, I wonder if
> > anyone has some advice.  I'm using the memoir class, and the preamble
> > looks like this:
> > 
> > \documentclass[10pt,twoside,openright]{memoir}
> > \usepackage{pifont}
> > \usepackage{palatino}
> > \usepackage{lettrine}
> > \usepackage{xspace}
> > \usepackage{graphicx}
> > \usepackage{wrapfig}
> > \usepackage{rotating}
> > \usepackage{url}
> > 
> > Any thoughts?
> > 
> > Thanks,
> > 
> >  -tom
> > 
> > -- 
> >  ------------------------
> >  tomfool at as220 dot org
> >  http://sgouros.com  
> >  http://whatcheer.net
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > texhax mailing list
> > texhax at tug.org
> > http://tug.org/mailman/listinfo/texhax
> > 
> > End of texhax Digest, Vol 2009, Issue 242
> > *****************************************
> 



-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net


More information about the texhax mailing list