So I'm using latexmk.pl to compile my TextMate LaTeX Project and it's running quite nice. The only thing I'm missing, is, that i want to specify an individual style file for the makeindex
command, i.e. latexmk.pl when latexmk
decides to run makeindex, it should add something like
makeindex -s mystyle.ist
I won't mind setting the .ist file to my $TM_LATEX_MASTERs name, but it would also be nice to have a seperate style file.
I haven't found anything to define such an option for latexmk that is called from TextMate. Do you have any ideas?
PS: I'm using XeTeX to compile, but i think that might only be of minor interest.
Best Answer
If you're running a TeX Live 2010 or 2011, or MiKTeX 2.9, you can profit from the imakeidx package: just change
\usepackage{makeidx}
toand
\makeindex
toThen MakeIndex (the program) will be called automatically from within the LaTeX run, with the specified style (doesn't work with the article class and, presently, memoir).