On Nov 3, 2006, at 6:23 AM, Jens Heipmann wrote:
hi,
i would like to use textmate to create latex docs that use the nomencl package. that means i should tweak the compilation process. if i have the file mytest.tex i could compile it manually like following:
- compile within textmate (TM_LATEX_COMPILER = latexmk.pl)
- from the directory of "mytest.tex": makeindex mytest.nlo -s
nomencl.ist -o mytest.nls 3. compile again within textmate
earlier i used texniccenter on windows where i created a project related output profile postprocessor:
- executable: C:\apps\editor\texmf\MiKTeX\bin\makeindex.exe
- arguments: "%bm.nlo" -s nomencl.ist -o "%bm.nls"
how could i achieve this with textmate?
You would have to create your own script and set that as TM_LATEX_COMPILER. It could call on latexmk.pl for most of the dirty work, and then do the makeindex stuff and second compilation.
Though I thought latexmk.pl was designed to exactly deal with such situations, no?
-- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Haris