On Tue, Oct 27 2015,Tassilo Horn wrote:

> Sivaram Neelakantan <nsivaram....@gmail.com> 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
 -- 


_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to