auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] run makeindex to generate glossary


From: Frederik Fischbach
Subject: [AUCTeX] run makeindex to generate glossary
Date: Sun, 8 Jun 2008 13:19:41 +0200

Hello there!

I run emacs 22.1 for editing LaTeX documents using AucTeX. This works
fine except for generating glossaries.

In LaTeX I use the packages "glossaries".
If editing myfile.tex, to generate the entries I've to run 'makeindex
-s myfile.ist -t myfile.glg -o myfile.gls myfile.glo'.
But in emacs running 'Index' via C-c C-c, it just tries "Running
'Index' on 'myfile' with 'makeindex myfile'", which fails ("Couldn't
find input index file myfile nor myfile.idx").

At the moment it's a pain to generate the glossary from emacs (on
windows) every time like this:
C-c C-c Other RET cygstart "c:\Programme\MiKTeX
2.7\miktex\bin\makeindex.exe" -s myfile.ist -t myfile.glg -o
myfile.gls myfile.glo RET

How to tell emacs/auctex to generate a glossary using makeindex and
not to try to generate a "normal" index? I want to avoid this long
command...

Next, it would be good to tell AucTeX to automatically detect whether
to run makeindex (actually generate the glossary) and/or BibTeX. If I
invoke AucTeX 3 times with C-c C-c, it will run latex 2 times and the
viewer.

Thanks & regards,
Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]