From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101011 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: error in seeindex sorting Date: Fri, 15 Jun 2018 08:55:25 -0400 Message-ID: References: <6828E1BD-C66B-4B4E-BE86-59B70432B194@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3816058026535029455==" X-Trace: blaine.gmane.org 1529067245 11990 195.159.176.226 (15 Jun 2018 12:54:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2018 12:54:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 15 14:54:01 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 1fToEr-0002yo-Jk for gctc-ntg-context-518@m.gmane.org; Fri, 15 Jun 2018 14:54:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5230C3685F; Fri, 15 Jun 2018 14:55:51 +0200 (CEST) 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 x3_ed6Yt5NSc; Fri, 15 Jun 2018 14:55:50 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 950FA36854; Fri, 15 Jun 2018 14:55:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9A9973684C for ; Fri, 15 Jun 2018 14:55:49 +0200 (CEST) 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 mWwt8PTqJo1r for ; Fri, 15 Jun 2018 14:55:48 +0200 (CEST) Original-Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 798483684B for ; Fri, 15 Jun 2018 14:55:38 +0200 (CEST) Original-Received: by mail-oi0-f50.google.com with SMTP id 188-v6so8665687oid.12 for ; Fri, 15 Jun 2018 05:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=emAp37t+2dA8BUyJ5QZFd/ZYn5bhTAFYC1tKUlJcY/s=; b=Bt02Og4bIy1g1wwoR6JagQhhRX06MfawgJ5bdJ/c+S8Q9RFyUrECGmvC+ZxaASaM4a lKfJY1yPmz1lkeaRfCge0i/tx9Q0mhe+E6EprEphtqIOzm2/zgl1uGm/OTo/CHzNHvf5 jURrYfeAreY0ohbZYxcHTSnD0tekYbWl1p/SZt/moUFpZOZAwX9GlbZ7eJkgqEwu46jJ NauXF0IUVI2yPRi6VO85sTRGltsFAA3TQ0vVCPJmdFm924DBip6tZw8S9QxbQDhzNP0o cQhZ1WOwttMGbwGpkVmsthguh6ETQCSKx0YjmB3JPoY/v1mr7qP8PyzA47IsJaZ0Cost tS+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=emAp37t+2dA8BUyJ5QZFd/ZYn5bhTAFYC1tKUlJcY/s=; b=mEiCvk4aec9DNViz+S4nwIAfIflpru2efr/Gs4Te0XjydI/6iUNMAMN5mlE7JcBaES +uh66LTm1P01rqRROk/WnhqvEKo+70yKx03dIV5jKOl1oUSn+3jSDvPvWMSXUwurBNb8 kw9D9219nUfW8WTYzHYUg2XfIATKqEG7pPONVpt0D25qcNNhc5zSurr0Yd+UQmb4sPD8 l/ZPYHFJSoYb/ViPiiRKTuMYtWY455CnMrZIfMfidFMUEGejYwOveCmFGPFMJx6GJTjs iQ0BMwVSbEEH1uePkaswmwmAdWtXv+LL5HqKz6/6FxRdv/BR4Ib5/p0XRdtk4AL+F+NR V0bA== X-Gm-Message-State: APt69E2fxbFCbh0uAPx0wCbCFGAjffjNKWEWxTd6geF0WawlXbMEORKG ngeInJdaPeybtTbcLjc5Pg77LiY70YGY2DncObVVzQ== X-Google-Smtp-Source: ADUXVKLCcXoy7toXh5GRCUuR+vj7QxIKsOkAfPVnWCnk6tbJga+2kxFjSZDOQ7YaB9WrBeFI+tnuNultb2YDlpB2LXc= X-Received: by 2002:aca:4ed6:: with SMTP id c205-v6mr760582oib.254.1529067336577; Fri, 15 Jun 2018 05:55:36 -0700 (PDT) In-Reply-To: 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:101011 Archived-At: --===============3816058026535029455== Content-Type: multipart/alternative; boundary="0000000000006f36d4056eadbb3d" --0000000000006f36d4056eadbb3d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The MWE \index{sample} \index{fun+games}\index{fun+stuff} \index{fun} \seeindex{fun}{sample} % with first subheading, not heading \seeindex{fun}{blah} % shown with heading (as it should be) ONLY if \index{fun} is commented out; otherwise it is not shown \seeindex{fun}{humbug} % not shown \seeindex{fun}{bug} % not shown \seeindex{fun+games}{entertainment} % not shown \placeindex[n=3D1] shows several problems in \seeindex. What is needed is fun 1 *see blah, bug, humbug, and sample* games 1 *see entertainment* stuff 1 As Hraban has indicated, there is some urgency here. For my part, I need x-refs for a book that I am trying to get off my plate and onto the publisher=E2=80=99s; so any thoughts on this or suggestions will be greatly appreciated. Alan On Wed, Jun 13, 2018 at 10:46 AM Henning Hraban Ramm wrote= : > In latest beta, the error got bigger: > > \starttext > \index{sample} > \index{Fun+games}\index{Fun+stuff} > \seeindex{Fun}{sample} > \seeindex{Fun}{bug} % missing! > \seeindex{Fun}{blah} > \placeindex[n=3D1] > \stoptext > > now gives > > f > Fun see blah > games , see sample > stuff > s > sample > > i.e. > * multiple seeindex references from the same point are incomplete > * wrong "root" as before > > Greetlings, Hraban > --- > https://www.fiee.net > http://wiki.contextgarden.net > https://www.dreiviertelhaus.de > GPG Key ID 1C9B22FD > > Am 2018-06-11 um 21:05 schrieb Henning Hraban Ramm : > > > Me again on registers. > > > > If you have an entry with just subentries and a reference (seeindex) > from the main entry to an *existing* other entry, the reference is sorted > at one of the subentries. > > I.e. in the MWE we get > > > > Fun > > games 1, see sample > > stuff 1 > > > > instead of > > > > Fun see sample > > games 1 > > stuff 1 > > > > > > \starttext > > \index{sample} > > \index{Fun+games}\index{Fun+stuff} > > \seeindex{Fun}{sample} > > \placeindex[n=3D1] > > \stoptext > > > > > > This prevents the completion of a scientific tome, so would be really > nice if this could be fixed. > > > > > > Greetlings, Hraban > > --- > > https://www.fiee.net > > http://wiki.contextgarden.net > > https://www.dreiviertelhaus.de > > GPG Key ID 1C9B22FD > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --0000000000006f36d4056eadbb3d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The MWE

\index{sample}
\index{fun+games}\index{fun+stuff}
= \index{fun}

\seeindex{fun}{sample} % with first subheading, not heading
<= div class=3D"gmail_default">\seeindex{fun}{blah} % shown with heading (as it should= be) ONLY if \index{fun} is commented out; otherwise it is not shown
<= div class=3D"gmail_default">\seeindex{fun}{humbug} % not shown
\seeindex{fun}{bug} % not shown

\seeindex{fun+games}{entertain= ment} =C2=A0 =C2=A0 =C2=A0% not shown
\placeindex[n=3D1]

=
shows several problems in \seeinde= x.=C2=A0

What is needed is

fun =C2=A0 1=C2=A0see blah, bug, humbug, and samp= le
=C2=A0 =C2=A0 games 1 see enter= tainment
=C2=A0 =C2=A0 stuff =C2=A0 = =C2=A01

As Hraban has indicated, there is some urgency here. For my part, I n= eed x-refs for a book that I am trying to get off my plate and onto the pub= lisher=E2=80=99s; so any thoughts on this or suggestions will be greatly ap= preciated.

Alan






On Wed, Jun 13, 2018 at 10:46 AM Henning Hraban Ramm <texml@fiee.net> wrote:
In latest beta, the error got bigger:

\starttext
\index{sample}
\index{Fun+games}\index{Fun+stuff}
\seeindex{Fun}{sample}
\seeindex{Fun}{bug} % missing!
\seeindex{Fun}{blah}
\placeindex[n=3D1]
\stoptext

now gives

f
Fun see blah
=C2=A0 games , see sample
=C2=A0 stuff
s
sample

i.e.
* multiple seeindex references from the same point are incomplete
* wrong "root" as before

Greetlings, Hraban
---
https= ://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

Am 2018-06-11 um 21:05 schrieb Henning Hraban Ramm <texml@fiee.net>:

> Me again on registers.
>
> If you have an entry with just subentries and a reference (seeindex) f= rom the main entry to an *existing* other entry, the reference is sorted at= one of the subentries.
> I.e. in the MWE we get
>
> Fun
>=C2=A0 games 1, see sample
>=C2=A0 stuff 1
>
> instead of
>
> Fun see sample
>=C2=A0 games 1
>=C2=A0 stuff 1
>
>
> \starttext
> \index{sample}
> \index{Fun+games}\index{Fun+stuff}
> \seeindex{Fun}{sample}
> \placeindex[n=3D1]
> \stoptext
>
>
> This prevents the completion of a scientific tome, so would be really = nice if this could be fixed.
>
>
> Greetlings, Hraban
> ---
> = https://www.fiee.net
> http://wiki.contextgarden.net
> https://www.dreiviertelhaus.de
> GPG Key ID 1C9B22FD

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000006f36d4056eadbb3d-- --===============3816058026535029455== 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 --===============3816058026535029455==--