From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97242 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Newsgroups: gmane.comp.tex.context Subject: Problem with \seeindex and two + entries Date: Mon, 13 Feb 2017 10:53:56 -0500 Message-ID: <2b8a4a09-7413-0c71-f905-5e132054ee20@panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3423740698300182604==" X-Trace: blaine.gmane.org 1487001275 7605 195.159.176.226 (13 Feb 2017 15:54:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2017 15:54:35 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 13 16:54:26 2017 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 1cdIxN-0001NJ-2K for gctc-ntg-context-518@m.gmane.org; Mon, 13 Feb 2017 16:54:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2030712A01F8; Mon, 13 Feb 2017 16:54: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 stjlvatCl4_Q; Mon, 13 Feb 2017 16:54:12 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 68B2312A01F9; Mon, 13 Feb 2017 16:54:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B784D12A01F9 for ; Mon, 13 Feb 2017 16:54:11 +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 9R34am77qhTL for ; Mon, 13 Feb 2017 16:54:11 +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 E5BFD12A01F8 for ; Mon, 13 Feb 2017 16:54:00 +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 88CF313B34 for ; Mon, 13 Feb 2017 10:53:59 -0500 (EST) 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:97242 Archived-At: This is a multi-part message in MIME format. --===============3423740698300182604== Content-Type: multipart/alternative; boundary="------------A3A1578199ACA07D897F5451" This is a multi-part message in MIME format. --------------A3A1578199ACA07D897F5451 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit ConTeXters, An index register entry with two + components does not get set properly. With the following example, the text “/see Mmm+Plus/” should be on a separate, indented line as “Plus /see Mmm+Plus/” but I see it on the first line as “Aaa /see Mmm+Plus/”. When there are zero or one + components, all is well. \starttext \seeindex{Aaa+Plus}{Mmm+Plus} \seeindex{Bbb+Plus}{Nnn, Comma} \seeindex{Ccc, Comma}{Ooo, Comma} \seeindex{Ddd, Comma}{Ppp+Plus} Some text. \index{Aaa+SecondPlus} \index{Bbb+SecondPlus} \index{Mmm+Plus} \index{Mmm+SecondPlus} \index{Ppp+Plus} \index{Ppp+SecondPlus} \index{Ooo, Comma} \index{Nnn, Comma} Some more text. \page \placeindex \stoptext -- Rik --------------A3A1578199ACA07D897F5451 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

ConTeXters,

An index register entry with two + components does not get set properly. With the following example, the text “see Mmm+Plus” should be on a separate, indented line as “Plus    see Mmm+Plus” but I see it on the first line as “Aaa    see Mmm+Plus”. When there are zero or one + components, all is well.

\starttext
\seeindex{Aaa+Plus}{Mmm+Plus}
\seeindex{Bbb+Plus}{Nnn, Comma}
\seeindex{Ccc, Comma}{Ooo, Comma}
\seeindex{Ddd, Comma}{Ppp+Plus}
Some text.
\index{Aaa+SecondPlus}
\index{Bbb+SecondPlus}
\index{Mmm+Plus}
\index{Mmm+SecondPlus}
\index{Ppp+Plus}
\index{Ppp+SecondPlus}
\index{Ooo, Comma}
\index{Nnn, Comma}
Some more text.
\page
\placeindex
\stoptext

--

Rik

--------------A3A1578199ACA07D897F5451-- --===============3423740698300182604== 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 --===============3423740698300182604==--