Quite long time ago I was extensively using LaTeX with a Makefile
that I have found on internet. This allowed me to automatically build/rebuild my project as many time as it was needed to get everything in place. Of course it also took care of the bibliography and the conversion of the jpg
figures to eps
. At the end, the dvi
was translated to ps
then to pdf
.
It was quite easy because I simply had to configure my text editor (Vim) to use this Makefile
.
Nowadays things have changed a lot and people tend to use scripts like latexmk
that I don't know. Also it seems simpler to directly use pdflatex
with viewers like Sumatra
instead of regular dvi
viewers.
What would be the most common method to build a whole LaTeX project in one step that includes the following elements?
- LaTeX files
- bibliography
- images (jpg, pdf, eps)
- code (c, php, ...)
- output from scripts (Matlab/Octave, Perl, ...)
latexmk
or one of the alternatives (rubber
,arara
, ...).