# [OS X TeX] bibtex/natbib

Mon Sep 13 00:35:06 CEST 2004

Thank you all for these good points.  I am using TexShop so the
comment/decomment menu choices are handy as well, but not nearly as
clean as these ideas.  Thank you.  In the logs, I did not see any
errors as you suggested.  My mistake was actually in the form
{\ensuremath{stuff} so it really wasn't associated with any macro that
wouldn't normally complete or have runaway brace checking.

I just did a word count in that file and there are over 5000 words and
a half million characters and I had one extra.  When the output of the
file looks perfect in every way, it isn't obvious where the error
should be.  Especially with the bibtex "breaking" distracting my
efforts from the real problem of Latex not processing the file right.

Thanks again for the tips,
Andy

On Sep 12, 2004, at 5:51 PM, Ross Moore wrote:

>
> On 13/09/2004, at 6:43 AM, Curtis Clifton wrote:
>
>>>
>>> At least I have a technique now for finding problems, just not a
>>> very quick one.
>>
>> A faster variant on your search technique is to split the offending
>> file in half.  If the problem only occurs with one half, then discard
>> the other and split the bad half again.  This binary search technique
>> quickly eliminates more of the file from consideration.  Of course
>> you have to be a bit careful about where you make the splits to avoid
>> introducing new errors.
>
> Use \endinput  to just make the point where the file should
> (temporarily) end.
> This gives the same kind of binary search, but with less effort to
> recover the "split-off" parts.
>
>
> Cheers,
>
> 	Ross
>
>>
>> Curt
>>
>> ----------------------------------
>> Curtis Clifton, PhD Candidate
>> Dept. of Computer Science, Iowa State University
>> http://www.cs.iastate.edu/~cclifton
>>
>> --------------------- Info ---------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>           & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>>
>>
>>
> -----------------------------------------------------------------------
> -
> Ross Moore                                         ross at maths.mq.edu.au
> Mathematics Department                             office: E7A-419
> Macquarie University                               tel: +61 +2 9850
> 8955
> Sydney, Australia                                  fax: +61 +2 9850
> 8114
> -----------------------------------------------------------------------
> -
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>