ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with definelabel and footnotes
@ 2015-07-28  2:08 Rik Kabel
  2018-01-12 18:09 ` Rik Kabel
  0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2015-07-28  2:08 UTC (permalink / raw)
  To: ntg-context


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

I have a document with hundreds of labels generated by \definelabel. 
They are used to index quotations in the text. Some of these occur in 
notes. Previously I had all such notes at the end of the book, as 
endnotes, but an editor requested a version with the notes as 
traditional footnotes. When the notes with labels appear in footnotes, 
the labels are not printed. The MWE below demonstrates the problem. I 
would expect to see a red 2 at the end of the first line of the footnote.

I have tried to use \defineenumeration instead of \definelabel, but I 
cannot get a comparable result to what I have with definelabel.

Is this a bug in the footnote typesetting, or a problem with my 
expectations?

    \setuppapersize[A6]
    \definelabel   [Qi][text=,alternative=inright,headcolor=red]
    \definenote    [pagenote]
    \setupnotation [pagenote][way=bypage,numberconversion=set 2]
    \definenote    [endnote]
    \setupnotation [endnote][way=bytext,location=none,conversion=numbers]
    \starttext
       {\Qi}An index in the margin.\par
       Text with a numbered endnote with an index\endnote{%
         {\Qi}The numbered endnote with its index. The numbered endnote
              with its index. The numbered endnote with its index.%
       } and a marked pagenote with an index.\pagenote{%
         {\Qi}The marked pagenote, but where is the index? The marked
              pagenote, but where is the index? The marked pagenote, but
              where is the index?%
       }\par
    \page
       The endnote follows.\par
       \placenotes[endnote]
    \stoptext

-- 
Rik Kabel

[-- Attachment #1.2: Type: text/html, Size: 2482 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Problem with definelabel and footnotes
  2015-07-28  2:08 Problem with definelabel and footnotes Rik Kabel
@ 2018-01-12 18:09 ` Rik Kabel
  0 siblings, 0 replies; 2+ messages in thread
From: Rik Kabel @ 2018-01-12 18:09 UTC (permalink / raw)
  To: ntg-context


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

Bump.

On 2015-07-27 22:08, Rik Kabel wrote:
> I have a document with hundreds of labels generated by \definelabel. 
> They are used to index quotations in the text. Some of these occur in 
> notes. Previously I had all such notes at the end of the book, as 
> endnotes, but an editor requested a version with the notes as 
> traditional footnotes. When the notes with labels appear in footnotes, 
> the labels are not printed. The MWE below demonstrates the problem. I 
> would expect to see a red 2 at the end of the first line of the footnote.
>
> I have tried to use \defineenumeration instead of \definelabel, but I 
> cannot get a comparable result to what I have with definelabel.
>
> Is this a bug in the footnote typesetting, or a problem with my 
> expectations?
>
>     \setuppapersize[A6]
>     \definelabel   [Qi][text=,alternative=inright,headcolor=red]
>     \definenote    [pagenote]
>     \setupnotation [pagenote][way=bypage,numberconversion=set 2]
>     \definenote    [endnote]
>     \setupnotation [endnote][way=bytext,location=none,conversion=numbers]
>     \starttext
>       {\Qi}An index in the margin.\par
>       Text with a numbered endnote with an index\endnote{%
>         {\Qi}The numbered endnote with its index. The numbered endnote
>              with its index. The numbered endnote with its index.%
>       } and a marked pagenote with an index.\pagenote{%
>         {\Qi}The marked pagenote, but where is the index? The marked
>              pagenote, but where is the index? The marked pagenote, but
>              where is the index?%
>       }\par
>     \page
>       The endnote follows.\par
>       \placenotes[endnote]
>     \stoptext
>
> -- 
> Rik Kabel



[-- Attachment #1.2: Type: text/html, Size: 2824 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] 2+ messages in thread

end of thread, other threads:[~2018-01-12 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-28  2:08 Problem with definelabel and footnotes Rik Kabel
2018-01-12 18:09 ` Rik Kabel

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).