Add parameter to the index entry
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Tue May 2 08:09:06 UTC 2023
Am 01.05.23 um 13:31 schrieb Wolfgang Engelmann:
>
>
> Am 01.05.23 um 12:03 schrieb Ehud Behar:
>> I want to insert a "people" index into my document so that an index
>> entry has the
>> [people]
>> "parameter" appended to it. Like this:
>> \index[people]{Dirac, Paul} and \index[people]{Maxwell, James Clerk}
>>
>> So I want to make some changes to the index entry that is defined in
>> the stdinsets.inc file.
>>
>> I tried to insert the following lines in my local layout but it gives
>> me '\index{peopleDirac, Paul}' instead of '\index[people]{Dirac, Paul}':
>>
>> InsetLayout Index
>> LabelString Idx
>> Decoration classic
>> Font
>> Size Small
>> EndFont
>> LabelFont
>> Color indexlabel
>> Size Small
>> EndFont
>> LatexParam people #<<<<< New
>> MultiPar false
>> CustomPars false
>> ForcePlain true
>> ContentAsLabel true
>> PassThruChars @|!
>> End
>>
>> Any idea how to achieve it?
>
>>> Is there a reason not to use the
>>> name index
>>> of LyX?
>>>
>>> Wolfgang
>>>> Sorry, I don't understand your question.
Ehud Behar
>>>>> I probably misunderstood your questioning.
>>>>> I usually use the name index besides the subject index
>>>>> You probably know this and have something else in mind
>>>>> Wolfgang
More information about the lyx-users
mailing list