Thank you very much for your immediate answer.

On Wed, 9 Jun 1999, Jean-Marc Lasgouttes wrote:

> >>>>> "Stephan" == Stephan E Schlierf <[EMAIL PROTECTED]> writes:
> 
> Stephan> What I already did was to export two environment variables
> Stephan> LYX_MAKEINDEX (option -s and the name of the style file) and
> Stephan> INDEXSTYLE (the path where the style file can be found).
> 
> Stephan> But the effect seems to be all the same: LyX seems to ignore
> Stephan> it.
> 
> Stephan> Does anybody know a way to create such a customized index
> Stephan> only using LyX (besides using xindy)?
> 
> The source code which handles makeindex has the following comment:
>         // It should be possible to set the switches for makeindex
>         // sorting style and such. It would also be very convenient
>         // to be able to make style files from within LyX. This has
>         // to come for a later time. (0.13 perhaps?)
> 
> The only solution I see are:
> 
> - hardcode the style you want in LaTeX.C (around line 448)
> 
> - have a 'makeindex' script which calls the real makeindex with the
>   parameters you want
> 
> - hope that some developper will add support for specifying makeindex
>   arguments in lyxrc :)
> 
> JMarc
> 

Well, I really don't like to get on your nerves but I'm not so
familiar with programming (just a user :...)
Does the first solution mean I have to change the line

LString tmp = "makeindex -c -q "; ---> line 452, LaTeX.C

to

LString tmp = "makeindex -c -q -s [name of my style file in
/usr/share/texmf/makeindex/]";

and everythink works fine?

(I'm a little bit nervous when changing source codes :-)

Thank you very much,
Stephan

Reply via email to