ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: error in seeindex sorting
Date: Fri, 15 Jun 2018 08:55:25 -0400	[thread overview]
Message-ID: <CAFMOkGXtktcmaMcYjwJ9OiWhXgO9P6MnWxVtRdk6rQBmmTXT1g@mail.gmail.com> (raw)
In-Reply-To: <EC17BBF1-D32F-4499-8226-8E3CD377CE39@fiee.net>


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

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=1]

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’s; so any thoughts on this or suggestions will be greatly
appreciated.

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=1]
> \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 <texml@fiee.net>:
>
> > 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=1]
> > \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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 6010 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
___________________________________________________________________________________

      reply	other threads:[~2018-06-15 12:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11 19:05 Henning Hraban Ramm
2018-06-13 14:45 ` Henning Hraban Ramm
2018-06-15 12:55   ` Alan Bowen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFMOkGXtktcmaMcYjwJ9OiWhXgO9P6MnWxVtRdk6rQBmmTXT1g@mail.gmail.com \
    --to=bowenalan03@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).