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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to