[texhax] running makeindex from a tex file (by shell scape)

Reinhard Kotucha reinhard.kotucha at web.de
Sun Jan 23 18:38:34 CET 2011


On 24 January 2011 Vafa Khalighi wrote:

 > > The page with the \index commands isn't shipped out yet, but you
 > > are already closing the .idx file. Therefore put a \newpage
 > > at the beginning of \printindex.
 > >
 > >
 > Thanks for the explanation. Even simpler putting
 > 
 > \immediate\write18{makeindex \jobname.idx}
 > 
 > before \documentclass, will do.

But this requires an extra run because you are using the .idx file
from the previous one.  I thought that you want to create the index
immediately when the .idx file is complete.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the texhax mailing list