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
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to