> Am 01.08.2020 um 22:44 schrieb Wolfgang Schuster
> :
>>> \define[1]\Ort{\expanded{\index{...}}}
>> Ah, I never know where to expand (tried \expanded\ctxlua).
>
> \expanded needs a argument, i.e. \expanded{...}
I recognized it doesn’t work otherwise. But I thought TeX would always use the
Henning Hraban Ramm schrieb am 01.08.2020 um 22:16:
Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster
:
\def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}}
You have to expand the \index argument:
\define[1]\Ort{\expanded{\index{...}}}
Ah, I never know where to expand (tried \expanded\ctxlua).
> Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster
> :
>> \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}}
>
> You have to expand the \index argument:
>
> \define[1]\Ort{\expanded{\index{...}}}
Ah, I never know where to expand (tried \expanded\ctxlua).
Now,
> Am 01.08.2020 um 21:01 schrieb Jairo A. del Rio :
>
> Hi, Henning. According to the garden, something like:
>
> \def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}}
>
> as long as #1 is capable of being sorted in the normal way, should work.
Thank you, but that doesn’t work if my lookup
Henning Hraban Ramm schrieb am 01.08.2020 um 20:49:
Am 01.08.2020 um 13:22 schrieb Henning Hraban Ramm :
Hi,
besides the CG journal I’m working on a scientific biography with huge person
and locality indexes (named Person and Locality for the examples).
In many cases, the author wants
Wrt formatting (e.g. \index{\emph{something}}), the garden also mentions
processors for MkIV (https://wiki.contextgarden.net/Registers#Processors),
so you can wrap them with custom commands, in case it helps.
Cordially,
Jairo.
El sáb., 1 de ago. de 2020 a la(s) 14:01, Jairo A. del Rio (
Hi, Henning. According to the garden, something like:
\def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}}
as long as #1 is capable of being sorted in the normal way, should work.
Regards,
Jairo
El sáb., 1 de ago. de 2020 a la(s) 13:49, Henning Hraban Ramm (
te...@fiee.net) escribió:
>
>
> >
> Am 01.08.2020 um 13:22 schrieb Henning Hraban Ramm :
>
> Hi,
>
> besides the CG journal I’m working on a scientific biography with huge person
> and locality indexes (named Person and Locality for the examples).
>
> In many cases, the author wants additional information in the index, e.g.
Hi,
besides the CG journal I’m working on a scientific biography with huge person
and locality indexes (named Person and Locality for the examples).
In many cases, the author wants additional information in the index, e.g.
\Locality{Altona (Hamburg)}
\Locallity{Breslau (pol. Wrocław)}
or