7
votes
1answer
370 views

What is the most elegant way to provide a cross-platform project with automated compilation routine?

There are many different ways to automate the compilation of a LaTeX project. I would like to start a discussion, what would be the most flexible and elegant and omnipotent way to provide a project ...
3
votes
2answers
489 views

Makefile that prevents tex directory from being cluttered with build output

I am using xelatex, biber and makeglossaries to generate my bachelor thesis. All of them are creating a huge amount of temporary files that are cluttering, not only my root document directory, but the ...
0
votes
1answer
174 views

How to give arguments to a tex file during compilation?

I have a file called main.tex, which looks like this: \begin{document} \input{a.tex} \end{document} I want to know if it is possible to have it take this file a.tex in argument, such that I could ...
8
votes
2answers
1k views

Is there any way to build a LaTeX document from a parent directory?

I've written a makefile for my current project which produces all deliverables (executable, written in C, and report, written in LaTeX). I have a directory structure whereby the Makefile and outputs ...
2
votes
2answers
444 views

Is there a makefile system for LaTeX, etc? [duplicate]

Possible Duplicate: Tools for automating document compilation How do I handle building complicated and large LaTeX projects? Is there a makefile system (like GNU Make) or should I just ...
102
votes
24answers
10k views

Tools for automating document compilation

A lot of people write makefiles that say something like paper.pdf: paper.tex pdflatex paper bibtex paper pdflatex paper pdflatex paper To handle re-running TeX to ...