[OS X TeX] regexp for matching entire footnotes

Kino quinon at rio.odn.ne.jp
Sun Jul 30 15:26:01 CEST 2006


On Sunday, 2006-07-30, at 21:01:08 +0900, Martin Costabel wrote:

> I don't know a completely recursive solution that allows arbitrary  
> newting depths,

With TeXShop or other apps having OgreKit Find Panel, the following  
works.

\\footnote{(?<re>[^{}]*(?:{\g<re>[^{}]*}[^{}]*)*)}

It is necessary to set Syntax option to Ruby.


Kino


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