[OS X TeX] TeXShop 2.09a
Herbert Schulz
herbs at wideopenwest.com
Tue Feb 7 02:28:55 CET 2006
On Feb 6, 2006, at 7:06 PM, Claus Gerhardt wrote:
> If you place in BBEdit the cursor before the starting $ sign, then
> the search command (using grep)
> \$((.|\r)+?[^\\$])\$
> will find (and highlight) anything between the starting $ sign and
> the next forward positioned $ sign (including the $ signs), and not
> get irritated by an escaped \$.
>
> I think the solution is fairly easy and obvious unless you want to
> make it really foolproof; but if this maxime would rule the world
> than we had no cars, no wine, and certainly no tex.
>
> Claus
Howdy,
As long as you assume that the first $ to the right is the START of
the equation it becomes simpler; you just search to the right. What
happens if you try to simply get a match and can't ASSUME it's a
start of an equation?
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list