* Ralph Inselsbacher writes:

> i tried to got footnotes to work in TB! with the quick templates
> from here:
> http://www.thebatworld.de/system/sections/index.php?op=viewarticle&artid=66

--8<---------------cut here---------------start------------->8---
%REM=" fn - Footnotes for The Bat! v3

       This is a Quick Template for the mail reader The Bat! that
       helps you insert footnotes.

       When composing an e-mail use tags like

          | This is some (FN:text#) with (FN:footnotes#).

       and when finished copy everything into clipboard (ctrl+a,
       ctrl+c) and execute this Quick Template by typing fn +
       ctrl+space. This is what you get:
       
          | This is some [1] with [2].
          |
          | [1] text
          | [2] footnotes

       Last modified 2005-04-09 by Carsten Thoenges
"%-
%If:~%_fnFirstTime~=~~:~%-
%___%Clear%-
%___%_fnFirstTime="No"%-
%___%_fnCount="1"%-
%___%_fnFootnotes=""%-
%___%SetPattRegExp='(?ism)\A(.*?)\n*(^-- $.*\z|\z)'%-
%___%RegExpBlindMatch(%Clipboard)%-
%___%_fnText='%SubPatt(1)'%-
%___%_fnSig='%SubPatt(2)'%-
~%-
%SetPattRegExp='(?ism)\A(.*?)\(FN:(.*?)#\)(.*)\z'%-
%RegExpBlindMatch(%_fnText)%-
%-
%If:"%Subpatt(2)"<>"":"%-
%___%_fnMail='%_fnMail%-%SubPatt(1)[%_fnCount]'%-
%___%_fnFootnotes='%_fnFootnotes%-%_[%_fnCount] %SubPatt(2)
'%-
%___%_fnText='%SubPatt(3)'%-
%___%_fnCount='%Calc(#1+%_fnCount#)'%-
%___%QInclude(fn)%-
":"%-
%___%_fnMail%-
%___%_fnText
%Cursor
%___%_fnFootnotes%-
%___%_fnSig%-
%___%_fnFirstTime=''"%-
--8<---------------cut here---------------end--------------->8---

HTH.

Carsten
-- 

________________________________________________
Current version is 3.0.1.33 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to