Re: [NTG-context] error in seeindex sorting

2018-06-15 Thread Alan Bowen
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*
stuff1

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  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 :
>
> > 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
>
> ___
___
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
___

Re: [NTG-context] error in seeindex sorting

2018-06-13 Thread Henning Hraban Ramm
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 :

> 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
___

[NTG-context] error in seeindex sorting

2018-06-11 Thread 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=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
___