Re: [NTG-context] referencing a footnote (and getting the right number)

2018-08-13 Thread Pablo Rodriguez
On 08/12/2018 10:10 PM, Robert Zydenbos wrote:
> [...] 
> What does disturb me, however, is that I have this one chapter where
> the wrong note number is indicated (note 19 is referred to as note
> '18'), and I do not know why. Could it be that this is because earlier
> in the chapter I have also used

I wasn’t able to compile your source, but this works fine:

\starttext
\dorecurse{30}{a\footnote{Zapf.} }

\startlocalfootnotes[n=0,conversion=characters,location=none]
\bTABLE
\bTR \bTD 1 \footnote{\dorecurse{10}{abcd }} \eTD \bTD 2 \eTD \eTR
\bTR \bTD 3 4 5 6 7 8 9 \eTD \bTD 10 \eTD \eTR
\eTABLE
\placelocalfootnotes
\stoplocalfootnotes

\dorecurse{30}{e\footnote{Other.} }
\footnote[uvu-avu]{These two suffixes […]}
\dorecurse{30}{b\footnote{Knuth.} }
…
\footnote{See n.~\in[uvu-avu] on p.~\at[uvu-avu].}
\stoptext

> and that this somehow interferes with the referencing of other
> footnotes? That is the only difference I see between this chapter and
> the others.

Without the source, all I can say is that it shouldn’t interfere.

A simple way to check it would be to comment out the fragment with the
local footnotes, compile and see what happens with the referenced number.

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
___

Re: [NTG-context] referencing a footnote (and getting the right number)

2018-08-12 Thread Robert Zydenbos

> On 12. Aug 2018, at 17:38, Pablo Rodriguez  wrote:
> 
> Hi Robert,
> 
> the reference command in notes is \in (for both MkII and MkIV), such as in:
> 
>\starttext
>\dorecurse{30}{\footnote{Footnote}}
>\footnote[uvu-avu]{These two suffixes […]}
>\dorecurse{30}{\footnote{Footnote}}
>…
>\footnote{See n.~\in[uvu-avu].}
>\stoptext

Aha. I didn’t find that in contextref.pdf (2013 edition). But it works!

What does disturb me, however, is that I have this one chapter where the wrong 
note number is indicated (note 19 is referred to as note '18'), and I do not 
know why. Could it be that this is because earlier in the chapter I have also 
used

\setupnote [localnote] [location=none]
…
\startlocalfootnotes[conversion=characters,n=0]
…
\placenotes [localnote]
\stoplocalfootnotes

and that this somehow interferes with the referencing of other footnotes? That 
is the only difference I see between this chapter and the others.

Robert
___
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
___