[OS X TeX] Re: Shallow table of contents

David Watson dewatson at me.com
Wed May 19 14:26:55 EDT 2010


On May 19, 2010, at 11:30 AM, Alain Schremmer wrote:

> 
> On May 19, 2010, at 12:22 PM, Alan Munn wrote:
> 
>> 
>> On May 19, 2010, at 4:24 AM, Ferguson, Don wrote:
>> 
>>> On setting tocdepth to 3, I was getting the error message:
>>> 
>>> ---------
>>> ./Mechanics.tex:593: Missing number, treated as zero.
>>> <to be read again>
>>>                 \r at tocindent4
>>> l.593  F
>>>       or any vectors $\mathbf{a,b,x}$:
>>> -----------
>>> 
>>> I could find no error in the text that supposedly lodged the complaint.
>>> 
>> 
>> This isn't caused by the code I gave you, but by something else in your document.
> 
> Whenever
> 
>>> Missing number, treated as zero.
>>> <to be read again>
> 
> happens to me, I immediately suspect a missing $.

I've noticed these when you LaTeX expects a number, such as \enlargethispage{1em} but you don't put it in right (e.g. \enlargethispage 1em).

This can happen with \vspace, in a tabular "p{}" specification - basically whenever you either don't specify the length.



More information about the MacOSX-TeX mailing list