Re: Add parameter to the index entry

2023-05-02 Thread Wolfgang Engelmann



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


Re: Add parameter to the index entry

2023-05-01 Thread Steve Litt
Ehud Behar said on Mon,  1 May 2023 19:35:50 +

>Sorry, I don't understand your question.

And I don't understand your answer. There's no quoted context. Do you
expect me, or anyone else, to look through all their recent messages to
try to deduce whom and what you're responding to? Or do you think we
all have those magic superthreading email clients?

Seriously folks, don't think of it as netiquette, think of it as
communicating unambiguously. Trim **unnecessary** context but keep the
relevant context. Interleave post with your response directly below the
sentence or paragraph you're responding to. It's not rocket science. If
for some reason you can't do this, why not switch to a forum, or IRC,
or a Slack or Discord venue?

Mailing lists are a wonderful resource. Everyone should endeavor to
keep them informative and unambiguous.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Add parameter to the index entry

2023-05-01 Thread Ehud Behar

Sorry, I don't understand your question.
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Add parameter to the index entry

2023-05-01 Thread Ehud Behar

  
  
Sorry, I don't understand your question.

  

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Add parameter to the index entry

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


Add parameter to the index entry

2023-05-01 Thread 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
Decorationclassic
Font
  SizeSmall
EndFont
LabelFont
  Color   indexlabel
  SizeSmall
EndFont
LatexParam people  #< New
MultiPar  false
CustomParsfalse
ForcePlaintrue
ContentAsLabeltrue
PassThruChars @|!
End

Any idea how to achieve it?
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users