A Makefile to compile Latex
From WikIRI
Makefile to compile latex
This is a Makefile that can be useful to compile your latex files. To use this Makefile, edit it and set
- DOC to the name of your tex file (without the tex extension).
- BIB to the name of you bib bile (leave it empty if you do not use bib).
- FIG to the name of the directory with your .fig files The Makefile generates eps figures from the fig files in the FIG directory. If you do not use this feature just leave FIG empty. If you want to use it, you have to edit the Makefile in the FIG directory (see the example for details).
- PAPER to the type of paper you use (a4/letter). As you can see in the example, the makefile tries to guess it from the tex file but this check can fail.
To use the Makefile just type in the shell
- make to generate a pdf.
- make ps to generate a ps.
- make dvi to generate a dvi.
- make clean to remove all output and auxiliary files.
Note that the makefile includes the correct options so that the pdf file embeds and subsets all fonts (required for IEEE submissions).





