[OS X TeX] "! LaTeX Error: No counter 'a' defined."

Ross Moore ross.moore at mq.edu.au
Fri Dec 17 16:17:31 EST 2010


Hello John,

Sent from my iPad

On 18/12/2010, at 7:54 AM, "John B. Thoo" <jthoo at yccd.edu> wrote:

> Hi, everyone.
> 
> This is not specifically a TeX on Mac question, so I hope you'll forgive my asking here.  I am, however, using TeX-Live 2009 in Mac OS X 10.6.4 on a MacBook Pro.
> 
> I have a main file "narrowhom.tex" in which I use
> 
> \documentclass[11pt]{amsbook}
> \usepackage[utf8]{inputenc}
> \usepackage[T1]{fontenc}
> 
> [...]
> 
> %\includeonly{ch.numsys}
> %\includeonly{ch.numthry}
> %\includeonly{ch.solveeqn}
> %\includeonly{ch.geom}

I think that you are playing with fire by having  ‘.' in the names of your files.
Try changing it to a '-' or other benign character.


> 
> 
> I compile using "latex narrowhom.tex" in X11 and view using xdvi.
> 
> If all the "includeonly" are commented out (like above), compiling does not present any obvious errors.
> 
> If "\includeonly{ch.numthry}" is uncommented, compiling also does not present any obvious errors.
> 
> However, if "\includeonly{ch.numsys}" or "\includeonly{ch.solveeqn}" or "\includeonly{ch.geom}" is uncommented, then I get errors like these:
> 
> 
> ! LaTeX Error: No counter 'a' defined.
> 
> ? 


> 
> Do you have any idea to what these errors refer and where I should look to fix them?
> 
> (If there is a better or more appropriate place for me to ask this question, please guide me there gently.) :-)
> 
> Thanks.
> 
> ---John.


Hope this helps,

     Ross


More information about the MacOSX-TeX mailing list