From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99825 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Problem with definelabel and footnotes Date: Fri, 12 Jan 2018 13:09:49 -0500 Message-ID: References: <55B6E430.20702@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5695960178185099765==" X-Trace: blaine.gmane.org 1515780513 28380 195.159.176.226 (12 Jan 2018 18:08:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Jan 2018 18:08:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 12 19:08:29 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea3kd-0006oA-8p for gctc-ntg-context-518@m.gmane.org; Fri, 12 Jan 2018 19:08:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D53258A1A51; Fri, 12 Jan 2018 19:10:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Co_yDx7jxHd; Fri, 12 Jan 2018 19:10:04 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6767B8A1A52; Fri, 12 Jan 2018 19:10:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C23A8A1A4F for ; Fri, 12 Jan 2018 19:10:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gOrQteB0TGsh for ; Fri, 12 Jan 2018 19:10:02 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B99328A1A48 for ; Fri, 12 Jan 2018 19:09:52 +0100 (CET) Original-Received: from [192.168.201.10] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id C6BCB33265 for ; Fri, 12 Jan 2018 13:09:51 -0500 (EST) In-Reply-To: <55B6E430.20702@rik.users.panix.com> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:99825 Archived-At: This is a multi-part message in MIME format. --===============5695960178185099765== Content-Type: multipart/alternative; boundary="------------DB6B2A33084EF3C5DCF5672A" Content-Language: en-US This is a multi-part message in MIME format. --------------DB6B2A33084EF3C5DCF5672A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------DB6B2A33084EF3C5DCF5672A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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


--------------DB6B2A33084EF3C5DCF5672A-- --===============5695960178185099765== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5695960178185099765==--