[texhax] including graphics/graphicx

Joseph Wright joseph.wright at morningstar2.co.uk
Fri May 8 07:25:24 CEST 2009

David Ripley wrote:
> Good morning!
> I'm having some trouble getting graphics.sty to work. When I try to 
> include it (or graphicx, which calls it), I get the following error:
> ! Missing number, treated as zero.
> <to be read again>
>                     $
> l.29 \catcode`\^^A
>                    =\catcode`\%
> I tried getting a fresh version of the package, but I get the same 
> error. It seems to happen whether I call graphics or graphicx (the line 
> getting errored is in graphics.sty), and whether I call them with or 
> without the [pdftex] option (I'm using pdftex). For what it's worth, I 
> have no trouble with the beamer class, which is calling these packages 
> on its own. I get this problem with article, report, and book classes 
> (all I've tried). I'm running teTeX through TeXShop on a mac with os 
> 10.3.9. Any advice would be greatly appreciated. Thanks much!

Please post a minimal example. This is a standard package ans works fine
for most people.
Joseph Wright

More information about the texhax mailing list