[OS X TeX] regexp for matching entire footnotes

Steffen Wolfrum osxtex_2 at st.estfiles.de
Sun Jul 30 07:45:04 CEST 2006


Hi,

I have to find (highlight) footnotes with the entire footnote being  
marked/highlighted.
Constructing a regexp for this is far beyond what I can write, that's  
why I frankly ask for help here:

The problems are the (potentially) nested pairs of curled brackets  
(like for \index, \emphasize etc etc) ...

\footnote{Vgl. zur Historie \it{Lerche}, „Staatssekretär\index 
{Staatssekretär}}

... as the found string shouldn't stop at the first "}" that was found.


Somebody knows a syntax that ignores curled bracket pairs *included*  
in footnotes and really matches the entire note?


Steffen
------------------------- 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