[NTG-context] {{ double braces }}

Steffen Wolfrum context at st.estfiles.de
Mon Jan 21 16:53:22 CET 2008


math formula is one of the few things I definitely don't have to take  
care for =o)
up to now ...

thanks for the tip!

steffen


Am 21.01.2008 um 16:02 schrieb Mikael Persson:

> Hi Steffen,
>
> I don't really know regex, but how does your double brace work with
> the following
>
> \footnote{{This $\frac{a}{b^{c+d}}$ is a strange footnote}}
>
> note the double }} in the math formula.
>
> /Micke P
>
> On Jan 21, 2008 3:45 PM, Steffen Wolfrum <context at st.estfiles.de>  
> wrote:
>> Hi,
>>
>> I would like to use in my documents double braces for the footnote –
>> for easily matching entire footnotes with RegEx  (thus it can't
>> confuse with the nested braces) ...
>>
>> text\footnote{{this is {\it one} tiny note\index{note}!}}
>>
>> ... and match the entire footnote with search regex for \\footnote\{\
>> {.+\}\}
>>
>>
>> Is this save? Or are there unwanted side-effects when using \footnote
>> {{ ... }} ?
>>
>> Steffen
>>
>>
>>
>> _____________________________________________________________________ 
>> ______________
>> If your question is of interest to others as well, please add an  
>> entry to the Wiki!
>>
>> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
>> ntg-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> _____________________________________________________________________ 
>> ______________
>>
> ______________________________________________________________________ 
> _____________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
> ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ______________________________________________________________________ 
> _____________



More information about the ntg-context mailing list