[Top][All Lists]

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

Re: [AUCTeX-devel] How to check whether makeindex should be rerun?

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] How to check whether makeindex should be rerun?
Date: Tue, 01 Sep 2015 07:50:05 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

Hi Mosè,

> differently from what it's said in section of the manual,
> AUCTeX never suggests to run makeindex when needed.  Does someone know
> how can we check whether we need to run makeindex?  The .idx file is
> rewritten after every latex run, so it's useless to look to its
> modification time, and no warning is emitted by the compiler.
> A possibility is to store the md5 hash of the .idx file and check
> whehter it's changed after running latex.  md5 is pretty fast compared
> to other algorithms and I don't think this feature is security-wise.
> If I recall correctly, latexmk does the same check.

`md5' sounds reasonable for this purpose, and it's available in all
emacsen we support.


reply via email to

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