![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/b885484dbab8f13188b3f665b24dc448.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
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'
participants (2)
-
luigi.scarso
-
Thomas A. Schmitz