[***SPAM***] Symbols for footnotes not working
From ConTeXt's Wiki Garden the below should work, but it isn't. How can this be accomlished. I want to use just \dagger for the symbol, but any symbol would do.
\definesymbol[4]{\dagger] \starttext \defineconversion[dagger][{\dagger},{\dagger}] % use a \dagger for the footnote. \setupfootnotes[conversion=set dagger,location=text] This is the dagger, \dagger{} I want to use for reference\footnote{Will the dagger appear}. A second line here for robustness.\footnote{It's a number still.} \stoptext -------------------------------- end of example Also I could find no explanations for what a set is, as in conversion=set 1 or 2 or 3 etc. What is set 1 or 2 or 3? Regards.
Am 28.03.2013 um 07:07 schrieb hwitloc@gmail.com:
From ConTeXt's Wiki Garden the below should work, but it isn't. How can this be accomlished. I want to use just \dagger for the symbol, but any symbol would do.
\definesymbol[4]{\dagger]
\starttext \defineconversion[dagger][{\dagger},{\dagger}] % use a \dagger for the footnote. \setupfootnotes[conversion=set dagger,location=text] This is the dagger, \dagger{} I want to use for reference\footnote{Will the dagger appear}.
A second line here for robustness.\footnote{It's a number still.} \stoptext
\setupnotation[footnote][numberconversion=dagger,alternative=text]
Also I could find no explanations for what a set is, as in conversion=set 1 or 2 or 3 etc. What is set 1 or 2 or 3?
A set is a list with symbols: \starttext \dorecurse {8}{\convertnumber{set 0}{\recurselevel}\quad}\par \dorecurse {9}{\convertnumber{set 1}{\recurselevel}\quad}\par \dorecurse{12}{\convertnumber{set 2}{\recurselevel}\quad}\par \dorecurse{15}{\convertnumber{set 3}{\recurselevel}\quad}\par \stoptext Wolfgang
It didn't work. Either with texexec or with context. Here is a simpler test case -------------------------------- start % basic test to change footnotes bullet to a symbol % basice test to change footnotes bullet to a symbol % \setupfootnotes[rule=off] % had no affect \defineconversion[fnsym]{ \dagger,*,**,***} % etc. \setupfootnotes[conversion=fnsym, numberconversion=fnsym] % Doesn't work \setupnotation[footnote][numberconversion=fnsym,alternative=text] % Doesn't work % conversion=set fnsym or conversion=fnsym does't work % numberconversion=fnsym or numberconversion=set fnsym doesn't work \starttext This is a footnote\footnote{a fnote}\\ And another for clarity\footnote{the 2nd footnote.} \stoptext ----------------end the above does not produce a dagger footnote bullet (only std numbers) It should be a simple thing to do, but I've tried a lot of combinations.. Any help would be appreciated.
Am 28.03.2013 um 07:07 schrieb hwitloc@gmail.com:
From ConTeXt's Wiki Garden the below should work, but it isn't. How can this be accomlished. I want to use just \dagger for the symbol, but any symbol would do.
\definesymbol[4]{\dagger]
\starttext \defineconversion[dagger][{\dagger},{\dagger}] % use a \dagger for the footnote. \setupfootnotes[conversion=set dagger,location=text] This is the dagger, \dagger{} I want to use for reference\footnote{Will the dagger appear}.
A second line here for robustness.\footnote{It's a number still.} \stoptext
\setupnotation[footnote][numberconversion=dagger,alternative=text]
.......
Am 29.03.2013 um 10:07 schrieb hwitloc@gmail.com:
It didn't work. Either with texexec or with context.
Here is a simpler test case -------------------------------- start % basic test to change footnotes bullet to a symbol % basice test to change footnotes bullet to a symbol % \setupfootnotes[rule=off] % had no affect
\defineconversion[fnsym]{ \dagger,*,**,***} % etc.
\setupfootnotes[conversion=fnsym, numberconversion=fnsym] % Doesn't work \setupnotation[footnote][numberconversion=fnsym,alternative=text] % Doesn't work % conversion=set fnsym or conversion=fnsym does't work % numberconversion=fnsym or numberconversion=set fnsym doesn't work
\starttext This is a footnote\footnote{a fnote}\\ And another for clarity\footnote{the 2nd footnote.} \stoptext
----------------end the above does not produce a dagger footnote bullet (only std numbers)
It should be a simple thing to do, but I've tried a lot of combinations.. Any help would be appreciated.
1. {} ≠ [], see \defineconversion 2. To end a paragraph use empty lines, \\ is wrong <example> \defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}] \setupnotation[footnote][numberconversion=fnsym] % change footnote symbols \setupnote [footnote][rule=off] % disbale the rule before the footnote block \starttext This is a footnote\footnote{a fnote} And another for clarity\footnote{the 2nd footnote.} \stoptext </example> Wolfgang
Thank you both, Wolfgang and Hans for helping me be able to use user specified footnote bulltes. I am using it in a table which I encapsulate with localfootnotes. I call \setupnotation[footnote][numberconversion=fnsym] % change footnote symbols after the startlocal, and it works in the table, but the use of symbols persists after teh stoplocalfootnotes is issued. However if I undo, just before the end as \setupnotation[footnote][numberconversion=n] then all works well and the counts carry on correctly. Thank you.
On 3/29/2013 10:07 AM, hwitloc@gmail.com wrote:
It didn't work. Either with texexec or with context.
Here is a simpler test case -------------------------------- start % basic test to change footnotes bullet to a symbol % basice test to change footnotes bullet to a symbol % \setupfootnotes[rule=off] % had no affect
\defineconversion[fnsym]{ \dagger,*,**,***} % etc.
\setupfootnotes[conversion=fnsym, numberconversion=fnsym] % Doesn't work \setupnotation[footnote][numberconversion=fnsym,alternative=text] % Doesn't work % conversion=set fnsym or conversion=fnsym does't work % numberconversion=fnsym or numberconversion=set fnsym doesn't work
\starttext This is a footnote\footnote{a fnote}\\ And another for clarity\footnote{the 2nd footnote.} \stoptext
----------------end the above does not produce a dagger footnote bullet (only std numbers)
\defineconversion[fnsym][\dagger,*,**,***] \setupnotation [footnote] [numberconversion=fnsym, alternative=text] % <<<<<<<<<<<<<<<<<<<<<<< wrong alternative \starttext \dorecurse {10} { This has note #1. \footnote{note #1} } \stoptext There is no alternative text. I've added an extra catch for that (fallback to 'left'). ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
d.henman
-
Hans Hagen
-
hwitloc@gmail.com
-
Wolfgang Schuster