auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] feature request: generate a makefile based on masterfile


From: Sivaram Neelakantan
Subject: Re: [AUCTeX] feature request: generate a makefile based on masterfile
Date: Wed, 28 Oct 2015 00:20:21 +0530
User-agent: Gnus/5.130013 (Ma Gnus v0.13) Emacs/24.4 (windows-nt)

On Tue, Oct 27 2015,Tassilo Horn wrote:

> Sivaram Neelakantan <address@hidden> writes:
>
>> Is it possible for Auctex to generate a makefile based on the
>> structure of the master file?
>
> You mean, something which would look through your document for picking
> out included files and images and then generates a Makefile with proper
> dependencies such that make will re-generated your document also if some
> included image has changed?

Yes, that's right.

> No, that's not possible right now, and I
> don't think that this is exactly in AUCTeX scope.  But googling a bit
> shows that there are some generic, customizable Makefiles for latex, and
> also some Makefile generators.

Guessed as much, thanks for the pointers.

>
> What I frequently use is latexmk.  Basically, instead of running "latex
> mydoc.tex" you say "latexmk mydoc.tex" and that will compile your
> document as often as it is needed in order to have all references
> defined.

Will look into this.

>
> Recent AUCTeX ELPA versions can do the same using the new command
>
> ,----[ C-h f TeX-command-run-all RET ]
> | TeX-command-run-all is an interactive autoloaded compiled Lisp function in
> | ‘tex-buf.el’.

[snipped 21 lines]


 sivaram
 -- 




reply via email to

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