ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in \seeindex
@ 2005-09-27 21:58 Thomas A. Schmitz
  2005-09-28  7:01 ` Thomas A. Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2005-09-27 21:58 UTC (permalink / raw)


The code in \seeindex has a bug. There was something in the mailing  
list about a year ago (2004-06-21), but as far as I can see, the  
patch Hans proposed then has been integrated into core-reg.tex.  
Here's a minimal test file:

\starttext

This \index{this} and \index{and} that \seeindex{this}.

\placeindex

\stoptext

And the error log:

! Argument of \@@filterlevelpart has an extra }.
<inserted text>
                 \par
<to be read again>
                    }
\doifprevlevelelse ...tor \@@filterlevelpart [#1]}
                                                   \edef  
\@@tocsectiontype {\...

\dosetpageregisterpage ...->\doifreglevelelse [#5]
                                                    
{\dodosetpageregisterpage ...
l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{}

Unfortunately, the bug messes up the .tui file, so even if you delete  
the \seeindex command, the file will not compile unless you delete  
the .tui manually. Ideas, anybody?

Best

Thomas

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

* Re: bug in \seeindex
  2005-09-27 21:58 bug in \seeindex Thomas A. Schmitz
@ 2005-09-28  7:01 ` Thomas A. Schmitz
  2005-09-28  7:40   ` luigi.scarso
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas A. Schmitz @ 2005-09-28  7:01 UTC (permalink / raw)


And I don't have a solution, but another bug in registers: if you  
modify my example like so:

\starttext

This \index{This} and \index{And} that \index{That}.

\placeindex

\stoptext

you'll see one interesting detail in the pdf: This and That are in  
the index under "h," And under "n" ==> capital letters are not taken  
into account in index generation, which is a trifle inconvenient.

Best

Thomas


On Sep 27, 2005, at 11:58 PM, Thomas A. Schmitz wrote:

> The code in \seeindex has a bug. There was something in the mailing  
> list about a year ago (2004-06-21), but as far as I can see, the  
> patch Hans proposed then has been integrated into core-reg.tex.  
> Here's a minimal test file:
>
> \starttext
>
> This \index{this} and \index{and} that \seeindex{this}.
>
> \placeindex
>
> \stoptext
>
> And the error log:
>
> ! Argument of \@@filterlevelpart has an extra }.
> <inserted text>
>                 \par
> <to be read again>
>                    }
> \doifprevlevelelse ...tor \@@filterlevelpart [#1]}
>                                                   \edef  
> \@@tocsectiontype {\...
>
> \dosetpageregisterpage ...->\doifreglevelelse [#5]
>                                                    
> {\dodosetpageregisterpage ...
> l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{}
>
> Unfortunately, the bug messes up the .tui file, so even if you  
> delete the \seeindex command, the file will not compile unless you  
> delete the .tui manually. Ideas, anybody?
>
> Best
>
> Thomas
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: bug in \seeindex
  2005-09-28  7:01 ` Thomas A. Schmitz
@ 2005-09-28  7:40   ` luigi.scarso
  2005-09-28  7:51     ` Thomas A. Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: luigi.scarso @ 2005-09-28  7:40 UTC (permalink / raw)


Thomas A. Schmitz wrote:

> And I don't have a solution, but another bug in registers: if you  
> modify my example like so:
>
> \starttext
>
> This \index{This} and \index{And} that \index{That}.
>
> \placeindex
>
> \stoptext
>
> you'll see one interesting detail in the pdf: This and That are in  
> the index under "h," And under "n" ==> capital letters are not taken  
> into account in index generation, which is a trifle inconvenient.

hmm, not for me.
This and That are under 't', And under 'a'

# texexec --version

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

               texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
               texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
                   tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2C 7.5.5)
               context : ver: 2005.08.31
               cont-en : ver: 2005.08.31  fmt: 2005.9.8  mes: english
               cont-nl : ver: 2005.08.31  fmt: 2005.9.8  mes: english

luigi

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

* Re: bug in \seeindex
  2005-09-28  7:40   ` luigi.scarso
@ 2005-09-28  7:51     ` Thomas A. Schmitz
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2005-09-28  7:51 UTC (permalink / raw)


OK, I have to modify my last mail: the bizarre sorting bug only  
occurs when I use newtexexec. The bug with /seeindex occurs both in  
newtexexec and "old" texexec. Thanks luigi, for looking at this!

Thomas

On Sep 28, 2005, at 9:40 AM, luigi.scarso wrote:

> hmm, not for me.
> This and That are under 't', And under 'a'
>
>

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

end of thread, other threads:[~2005-09-28  7:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27 21:58 bug in \seeindex Thomas A. Schmitz
2005-09-28  7:01 ` Thomas A. Schmitz
2005-09-28  7:40   ` luigi.scarso
2005-09-28  7:51     ` Thomas A. Schmitz

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