ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* referencing a footnote
@ 2018-08-12 14:34 Robert Zydenbos
  2018-08-12 15:38 ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Zydenbos @ 2018-08-12 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 748 bytes --]

Another footnote question for the experts. I want to refer to a note from within another, later note. I thought I could do this in the following way:

…
\footnote[uvu-avu]{These two suffixes […]
…
\footnote{See n.~\note[uvu-avu].}
…

But I get this result:



There are two things wrong:

(1) I want to get a result that looks like “See n. 18.”, with a number that is not superscript. (This happens when I try such referencing in other notes as well as in the main text.)
(2) The number is wrong: it is footnote #19, not 18.

I *could* work around this problem by totally different means – but I would much prefer to reference notes more or less in the manner I tried above. What could I improve in my code?

Robert

[-- Attachment #1.2.1: Type: text/html, Size: 1305 bytes --]

[-- Attachment #1.2.2: uvu-avu.jpg --]
[-- Type: image/jpeg, Size: 3940 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: referencing a footnote
  2018-08-12 14:34 referencing a footnote Robert Zydenbos
@ 2018-08-12 15:38 ` Pablo Rodriguez
  2018-08-12 15:52   ` Pablo Rodriguez
  2018-08-12 20:10   ` referencing a footnote (and getting the right number) Robert Zydenbos
  0 siblings, 2 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2018-08-12 15:38 UTC (permalink / raw)
  To: ntg-context

On 08/12/2018 04:34 PM, Robert Zydenbos wrote:
> Another footnote question for the experts. I want to refer to a note
> from within another, later note. I thought I could do this in
> the following way:
> 
> …
> \footnote[uvu-avu]{These two suffixes […]}
> …
> \footnote{See n.~\note[uvu-avu].}
> …

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

I hope it helps,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: referencing a footnote
  2018-08-12 15:38 ` Pablo Rodriguez
@ 2018-08-12 15:52   ` Pablo Rodriguez
  2018-08-12 19:48     ` Robert Zydenbos
  2018-08-12 20:10   ` referencing a footnote (and getting the right number) Robert Zydenbos
  1 sibling, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2018-08-12 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 08/12/2018 05:38 PM, Pablo Rodriguez wrote:
>> On 08/12/2018 04:34 PM, Robert Zydenbos wrote:
>> [..]
>> …
>> \footnote[uvu-avu]{These two suffixes […]}
>> …
>> \footnote{See n.~\note[uvu-avu].}
>> …
> 
> Hi Robert,
> 
> the reference command in notes is \in (for both MkII and MkIV), such
> as in: [...]

Sorry, Robert, I almost forgot it.

If you reset the footnote numbers in each chapter, I’d rather suggest
something similar to:

  \footnote{See n.~\in[uvu-avu] on p.~\at[uvu-avu].}

Since footnote numbers aren’t unique, consider providing the page or the
chapter 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: referencing a footnote
  2018-08-12 15:52   ` Pablo Rodriguez
@ 2018-08-12 19:48     ` Robert Zydenbos
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Zydenbos @ 2018-08-12 19:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 12. Aug 2018, at 17:52, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> Sorry, Robert, I almost forgot it.
> 
> If you reset the footnote numbers in each chapter, I’d rather suggest
> something similar to:
> 
>  \footnote{See n.~\in[uvu-avu] on p.~\at[uvu-avu].}
> 
> Since footnote numbers aren’t unique, consider providing the page or the
> chapter number.

Of course. :-)

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: referencing a footnote (and getting the right number)
  2018-08-12 15:38 ` Pablo Rodriguez
  2018-08-12 15:52   ` Pablo Rodriguez
@ 2018-08-12 20:10   ` Robert Zydenbos
  2018-08-13 15:39     ` Pablo Rodriguez
  1 sibling, 1 reply; 6+ messages in thread
From: Robert Zydenbos @ 2018-08-12 20:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 12. Aug 2018, at 17:38, Pablo Rodriguez <oinos@gmx.es> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: referencing a footnote (and getting the right number)
  2018-08-12 20:10   ` referencing a footnote (and getting the right number) Robert Zydenbos
@ 2018-08-13 15:39     ` Pablo Rodriguez
  0 siblings, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2018-08-13 15:39 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-13 15:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-12 14:34 referencing a footnote Robert Zydenbos
2018-08-12 15:38 ` Pablo Rodriguez
2018-08-12 15:52   ` Pablo Rodriguez
2018-08-12 19:48     ` Robert Zydenbos
2018-08-12 20:10   ` referencing a footnote (and getting the right number) Robert Zydenbos
2018-08-13 15:39     ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).