ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* error in seeindex sorting
@ 2018-06-11 19:05 Henning Hraban Ramm
  2018-06-13 14:45 ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2018-06-11 19:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error in seeindex sorting
  2018-06-11 19:05 error in seeindex sorting Henning Hraban Ramm
@ 2018-06-13 14:45 ` Henning Hraban Ramm
  2018-06-15 12:55   ` Alan Bowen
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2018-06-13 14:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error in seeindex sorting
  2018-06-13 14:45 ` Henning Hraban Ramm
@ 2018-06-15 12:55   ` Alan Bowen
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Bowen @ 2018-06-15 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-15 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-11 19:05 error in seeindex sorting Henning Hraban Ramm
2018-06-13 14:45 ` Henning Hraban Ramm
2018-06-15 12:55   ` Alan Bowen

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).