FootnotesPlease add here your own comments, links and ideas about footnotes in txt2tags.
by Stefano Darchino Put in txt2tagsrc these lines: %%%% For Footnotes in Lout
%!postproc(lout): \(\( @FootNote {
%!postproc(lout): \)\) }
%%%% For manage Footnotes in HTML
%!postproc(html): \(\( <small>(
%!postproc(html): \)\) )</small>I write the Footnote into the text as ((This is a note)) then with the command txt2tags -t lout nameFile.t2t and lout -Z nameFile.lout > nemaFile.pdf I have a pdf with Footnotes. And with txt2tags -t html nameFile.t2t a HTML file with (notes) in small characters.
|
I think the double parenthesis, like ((footnote)) could interfere with other syntax. I've personally used °°footnote°° instead.
For using with LaTeX, I've made this postproc rule:
%!postproc(tex): '°°(.*?)°°' '\\footnote{\1}' %!postproc(xhtml): '°°(.*?)°°' ' (\1)'You can see it in action, along with other cool features, here: http://anamnese.online.fr/site2/txt2tex/sample.html
Sorry, the sample in English is there: http://anamnese.online.fr/site2/txt2tex/sample_eng.html
I reorganized this folder, now it's located at:
http://anamnese.online.fr/site2/txt2tex/samples/sample_en.html