auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] TeX-clean in multifile document


From: Greg Bognar
Subject: Re: [AUCTeX] TeX-clean in multifile document
Date: Sat, 10 Feb 2018 21:13:08 +0100

Hi Mosè,

Yes, I'm using \include.  I understand that \input does not create extra .aux
files, so there it's not an issue, but then I cannot use \includeonly.  So I
guess it's a trade off between two convenience features.

Thanks for the clarification!
Greg

On Sat 10 Feb 2018 at 19:24 Mosè Giordano wrote:
> Hi Greg,
> 
> 2018-02-10 19:16 GMT+01:00 Greg Bognar <address@hidden>:
> > Hi,
> >
> > Say you are working on a multifile document with file1.tex, file2.tex, etc, 
> > and
> > with the master file masterfile.tex.  It's handy to clean up the generated 
> > files
> > with TeX-clean.  However, TeX-clean will only delete files which have the 
> > base
> > name of the master file, i.e., masterfile.*.  But TeX also generates .aux 
> > files
> > for file1.tex, file2.tex, etc., and these are not deleted.  Is there a way 
> > to
> > have TeX-clean delete these files as well?  Or is there any reason this 
> > would
> > not be a good idea?
> >
> > (I tried putting "*\\.aux" in TeX-clean-default-intermediate-suffixes list 
> > of
> > extensions, but it didn't work.)
> >
> > This is mostly a matter of convenience, but I'm curious if it's possible.
> 
> I guess you're "\include"ing the files, rather than "\input"ting them,
> right?  I agree it would be a good idea to clean up the auxiliary
> files for secondary files, but the way AUCTeX currently records the
> names of the included files this isn't supereasy.  They're listed in
> `TeX-active-styles', but mixed together with classes and packages, so
> it's difficult to extract just the names of the included files.
> 
> Unless you have a real need to use "\include", with "\input" you don't
> have multiple auxiliary files.
> 
> Bye,
> Mosè



reply via email to

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