[OS X TeX] finding missing braces

Antoine Gautier antoine.gautier at fsa.ulaval.ca
Sun Mar 4 22:53:45 CET 2007


At 2:09 PM +0100 3/4/07, Rolf Schmolling wrote:
> Hi there,
>
> anybody having an idea how to search for missing braces on TexShop?

Rolf,

Here is a simple thing you can try :

Add à " } " at the end of your document, double-click it. TS will  
highlight the first problematic (possibly unmatched) " { "
Delete it, then

Add à " { " at the beginning of your document, double-click it. TS  
will highlight the last problematic (possibly unmatched) " } "

Usually, and unless your document contains many unmatched braces,  
that should get you at/close to the problem.

(if some { or } are commented by a % , that will fool TS however.  
Search for comments then)

Cheers,

Antoine
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list