Go to the first, previous, next, last section, table of contents.


Makefiles

Since the processing commands (latex-bibtex-latex-latex, plus nat2jour.pl) are numerous, it's nice to do them automatically.

In the example sub-directory there is a sample Makefile which does this. Just put it in a directory where your LaTeX files (for example, foo.tex) are, and you can use commands like make foo.dvi, or make foo.ps, or make foo.pr (print). They'll work in any order, as all of the dependencies are made automatically when they don't exist or are out-of-date.

Use make foo-apj to make the tex and bbl file for submission. This also works with the .dvi and other extensions to produce printable documents. You can change the -apj journal suffix by editing the definition of JSUF at the top of the Makefile.

Use make clean or make realclean when things get out of hand; the latter deletes most everything except for the original tex and bib files.


Go to the first, previous, next, last section, table of contents.