[Fwd: Please forward]
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
From: ishamid
I am having trouble with footnotes. For an article, I want some footnotes to be symbolized by \ast, \dag, etc, but without affecting the numbering of regular footnotes. For example, the title of article may have a footnote
If these footnotes need not be printed intermixed with other footnotes, please try \starttext \definenote[othernote][conversion=set 2] test\footnote{footnote} test\othernote{othernote} blah\footnote{another footnote} \stoptext Otherwise, please see below.
Related question: can't I just specify a footnote outside the counting mechanism with any symbol I want at any point in the text, without disturbing the regular counted footnotes?
It seems you can't do this directly, but with a specially defined conversion and the \savecounter[footnote] stuff below, it is certainly doable.
But if I do, e.g., conversion={---}, TeX complains of course. What am I missing?
You must define your conversion first: \starttext \defineconversion[emdash][{---},{---}] \setupfootnotes[conversion=emdash] test\footnote{footnote} \stoptext You need two of the dashes to make ConTeXt realize you want to define a (one-element) set, not some command.
Where are the conversion keys set 2, set 3, etc. documented?
I don't know about documentation (right now), but look into core-con.tex. Hans, for me texexec --module `kpsewhich core-con.tex` results in an error, line 42 calls \starttyping, but modules use the Dutsch interface, no?
How can I reset the numbering if I make local changes? For example, I am using regular default footnotes, then I switch to conversion=set 2, then I want to reset to the default footnotes without losing my numbering. I thought that
What about grouping? \starttext test\footnote{othernote} {\setupfootnotes[conversion=set 3] blah\footnote{another footnote}} and more text\footnote{with footnotes}. \stoptext But since this only changes the way the footnote numbers are displayed, there won't be a footnote "2" in the code above. To get this, the best I could find is \starttext test\footnote{othernote} {% grouping \savenumber[footnote]% \setupfootnotes[conversion=set 3]% blah\footnote{another footnote}% \restorenumber[footnote]% } and more text\footnote{with footnotes}. \stoptext By the way: Is there some \save-magic that will automatically restore at the end of the innermost current group, like color does? regards, Christopher Creutzig
participants (2)
-
Christopher Creutzig
-
Hans Hagen