Discussion:
[AUCTeX] Clean intermediate aux files in multifile docs
Uwe Siart
2017-01-30 09:25:05 UTC
Permalink
Dear all,

In AUCTeX there's the nice 'Clean' command to purge the working
directory from intermediate files. However, in multifile documents it
leaves behind all the .aux files with base names different from the base
name of the master file.

I know about LaTeX-clean-intermediate-suffixes where it is possible to
add more filename extensions. But is it also possible to make 'Clean'
(and 'Clean all') aware of all .aux files created by multifile
documents?

Thanks.
--
Uwe
Mosè Giordano
2017-02-12 14:40:48 UTC
Permalink
Hi Uwe,
Post by Uwe Siart
Dear all,
In AUCTeX there's the nice 'Clean' command to purge the working
directory from intermediate files. However, in multifile documents it
leaves behind all the .aux files with base names different from the base
name of the master file.
This is true only if you use `\include', right? When inserting
secondary files with `\input' there is only a single auxiliary file.
Post by Uwe Siart
I know about LaTeX-clean-intermediate-suffixes where it is possible to
add more filename extensions. But is it also possible to make 'Clean'
(and 'Clean all') aware of all .aux files created by multifile
documents?
This isn't easy to fix right now in AUCTeX because it doesn't store
the list of included files (or at least I'm not aware of that).
RefTeX does this, see `reftex-all-document-files' function. Patches
are welcome.

Bye,
Mosè
Uwe Siart
2017-02-12 14:55:12 UTC
Permalink
Hello Mosè,
Post by Mosè Giordano
Post by Uwe Siart
In AUCTeX there's the nice 'Clean' command to purge the working
directory from intermediate files. However, in multifile documents it
leaves behind all the .aux files with base names different from the
base name of the master file.
This is true only if you use `\include', right?
Yes, that's quite the thing.
--
Uwe
Loading...