* [NTG-context] problem with symbols in index
@ 2023-07-17 21:37 Henning Hraban Ramm
2023-07-18 12:21 ` [NTG-context] " Floris van Manen via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Henning Hraban Ramm @ 2023-07-17 21:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
I hunted for two days after an index error in my book:
"""
structure > sectioning > chapter @ level 2 : 0.1 -> Sachregister
tex error > tex error on line 95 in file ./prd_test.tex: The file
ended when scanning an argument.
{\startregisterentries {1}\startregisterentry {0}\registerentry
{index}{}{21}{}{[[special cmd: lua call]]}\startregisterpages
\registeronepage {index}{}{21}{2}{[[special cmd: lua
call]]}\stopregisterpages \stopregisterentry \stopregisterentries
\stopregistersection \stopregisteroutput \relax \stopmixedcolumns \else
\strc_registers_place_indeed {index}\fi \endgroup \fi \stopchapter \par
\par \par \par \par \stopproduct
"""
It boiled down to \index{\%} that used to work but doesn’t any more in
current LMTX.
Also, "context --purge" doesn’t delete the tuc file (don’t know if that
changed), so the wrong entry stuck in there, and my code changes didn’t
affect it.
MWE:
\starttext
%\index{\%}
\index[ ]{\backslash}
\index[ ]{\percent}
\index[ ]{\tex{}}
\index[ ]{\tex{}\tex{}}
\index[ ]{\tex{\%}}
\page
\completeindex
\stoptext
For my command index, \index[something]{\tex{something}} works, but is
there a better way to put \\ in there than \index[ ]{\tex{}\tex{}} ?
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* [NTG-context] Re: problem with symbols in index
2023-07-17 21:37 [NTG-context] problem with symbols in index Henning Hraban Ramm
@ 2023-07-18 12:21 ` Floris van Manen via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Floris van Manen via ntg-context @ 2023-07-18 12:21 UTC (permalink / raw)
To: ntg-context; +Cc: Floris van Manen
On 17/07/2023 23:37, Henning Hraban Ramm wrote:
> Also, "context --purge" doesn’t delete the tuc file (don’t know if that
> changed), so the wrong entry stuck in there, and my code changes didn’t
> affect it.
not does it remove the log file
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-18 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17 21:37 [NTG-context] problem with symbols in index Henning Hraban Ramm
2023-07-18 12:21 ` [NTG-context] " Floris van Manen via ntg-context
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).