I solved my question by removing all Index-related files such as
.idx .ilg or .ind
fom the 
/tmp/lyx_tmpdir.T15697/lyx_tmpbuf
and saved the document under a new name.

I also put a macro in the preamble of the document 
%%macro for index nom
\newcommand{\IndexDef}[1]{\textit{#1}}

and in the document itself 
Kalanchoe|IndexDef
where Kalanchoe is a plant name which should appear in the name index as 
italics. 
However, the page number appears italic, not the plant name. 
How should I change the command in the preamble to achieve that?

\newcommand{\IndexDef}[1]{\textit{#1}}
---->??

Wolfgang

Reply via email to