From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99849 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Labels and Enumerations Date: Sun, 14 Jan 2018 20:59:53 -0500 Message-ID: <75e88f11-b24d-0b42-caf6-0fe49cee45b0@rik.users.panix.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6787684019080792767==" X-Trace: blaine.gmane.org 1515981532 4649 195.159.176.226 (15 Jan 2018 01:58:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 01:58:52 +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 Mon Jan 15 02:58:48 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 1eau2j-0008IK-8A for gctc-ntg-context-518@m.gmane.org; Mon, 15 Jan 2018 02:58:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D50B88A1BFE; Mon, 15 Jan 2018 03:00:13 +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 BgABpBqVvJSk; Mon, 15 Jan 2018 03:00:08 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 895738A1BF9; Mon, 15 Jan 2018 03:00:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 158B68A1BF6 for ; Mon, 15 Jan 2018 03:00:07 +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 Fnd8L_xnbJrI for ; Mon, 15 Jan 2018 03:00:06 +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 24DD88A1BF5 for ; Mon, 15 Jan 2018 02:59:55 +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 B08CE2E4B2 for ; Sun, 14 Jan 2018 20:59:54 -0500 (EST) In-Reply-To: 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:99849 Archived-At: This is a multi-part message in MIME format. --===============6787684019080792767== Content-Type: multipart/alternative; boundary="------------320E4706B92835B62D68C10E" Content-Language: en-US This is a multi-part message in MIME format. --------------320E4706B92835B62D68C10E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Further experimentation suggests that the problem is in the interaction between footnotes and margin placement. Endnotes work fine. \defineconstructionalternative   [mylabel]   [renderingsetup=constructionrenderings:mylabel,    width=] \startsetups[constructionrenderings:mylabel]   \dontleavehmode   \inright{\flushconstructionheadbox} \stopsetups \defineenumeration   [one]   [alternative=mylabel,    display=no,    before=,    after=] \definenote   [endnote] \setupnotation   [endnote]    [way=bytext,     location=none,     conversion=numbers] \starttext     \startchapter[title=bar]         this works \startone[reference=aa]\input jojomayer \stopone         \quotation{\startone[reference=bb]\input ward \stopone}         this fails\footnote{\startone[reference=cc]\input jojomayer \stopone         \quotation{\startone[reference=dd]\input ward \stopone}}         while this works\endnote{\startone[reference=ee]\input jojomayer \stopone         \quotation{\startone[reference=ff]\input ward \stopone}}         whatever \in{one}[aa] whatever \in{one}[bb]         whatever \in{one}[cc] whatever \in{one}[dd]         whatever \in{one}[ee] whatever \in{one}[ff]     \stopchapter     \startchapter[title=notes]         \placenotes[endnote]     \stopchapter \stoptext -- Rik --------------320E4706B92835B62D68C10E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Further experimentation suggests that the problem is in the interaction between footnotes and margin placement. Endnotes work fine.

\defineconstructionalternative
  [mylabel]
  [renderingsetup=constructionrenderings:mylabel,
   width=]

\startsetups[constructionrenderings:mylabel]
  \dontleavehmode
  \inright{\flushconstructionheadbox}
\stopsetups

\defineenumeration
  [one]
  [alternative=mylabel,
   display=no,
   before=,
   after=]

\definenote
  [endnote]
\setupnotation
  [endnote]
   [way=bytext,
    location=none,
    conversion=numbers]

\starttext

    \startchapter[title=bar]

        this works \startone[reference=aa]\input jojomayer \stopone
        \quotation{\startone[reference=bb]\input ward \stopone}

        this fails\footnote{\startone[reference=cc]\input jojomayer \stopone
        \quotation{\startone[reference=dd]\input ward \stopone}}

        while this works\endnote{\startone[reference=ee]\input jojomayer \stopone
        \quotation{\startone[reference=ff]\input ward \stopone}}

        whatever \in{one}[aa] whatever \in{one}[bb]

        whatever \in{one}[cc] whatever \in{one}[dd]

        whatever \in{one}[ee] whatever \in{one}[ff]

    \stopchapter

    \startchapter[title=notes]

        \placenotes[endnote]

    \stopchapter

\stoptext

--
Rik


--------------320E4706B92835B62D68C10E-- --===============6787684019080792767== 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 --===============6787684019080792767==--