Hi, I'm not sure if this is a bug or feature, but I noticed that custom footnotes defined through \definenote do not appear when using \placelocalfootnotes as per the following example: %-------------------------------------------- \setuppapersize [A5] \definenote [noteone] [footnote] \setupnotation [noteone] [style=bold, headstyle=bold] \setupnote [noteone] [textstyle=bold] \starttext \startlocalfootnotes Testing footnote \footnote{this is a footnote} Testing noteone \noteone{this is noteone} \placelocalfootnotes \stoplocalfootnotes Testing footnote \footnote{this is a footnote} Testing noteone \noteone{this is noteone} \stoptext %-------------------------------------------- Both the local and global footnotes appear as 1, 2 (so noteone is numbered locally). Is there an alternative command to \placelocalfootnotes that I can use to make noteone appear in the local context? Thanks, Stan
On 11/03/2017 08:39 PM, Stanislav Sokolenko wrote:
Hi,
I'm not sure if this is a bug or feature, but I noticed that custom footnotes defined through \definenote do not appear when using \placelocalfootnotes as per the following example:
Hi Stanislav, footnotes are only one kind of notes. Not all notes are footnotes. If you ask for footnotes, you will only get footnotes.
Both the local and global footnotes appear as 1, 2 (so noteone is numbered locally). Is there an alternative command to \placelocalfootnotes that I can use to make noteone appear in the local context?
\setuppapersize [A5] \definenote [noteone] [footnote] % there is no different number \setupnotation [noteone] [style=bold, headstyle=bold] \setupnote [noteone] [textstyle=bold] \starttext \startlocalnotes[footnote] \startlocalnotes[noteone] Testing footnote \footnote{this is a footnote} Testing noteone \noteone{this is noteone} \placelocalnotes[footnote] \placelocalnotes[noteone] \stoplocalnotes \stoplocalnotes Testing footnote \footnote{this is a footnote} Testing noteone \noteone{this is noteone} \stoptext BTW, I wonder whether it makes sense to have both kind of notes to share numbering. Just in case it may help, Pablo -- http://www.ousia.tk
Hi Stanislav, footnotes are only one kind of notes. Not all notes are footnotes. If you ask for footnotes, you will only get footnotes
Thanks Pablo, I had a feeling that was the case, but all the examples I ran across seemed to have the two conflated. Your example is perfect!
BTW, I wonder whether it makes sense to have both kind of notes to share numbering.
I see now that notes don't have to inherit from footnotes. Thanks again, Stan
participants (2)
-
Pablo Rodriguez
-
Stanislav Sokolenko