From: Ron Fox Date: 2008-11-04T21:53:34+09:00 Subject: Re: Rake task for building latex? Then you'd better get into parsing latex log files... as there's no way to know a-priori how many times you're going to need to run latex based on file modification dates. Sorry.. that's LaTeX. The only hint you have is messages about undefined references. The initial poster did not specify pdf output. Naturally if that's what he wants pdflatex is the beast to run. RF. Josef 'Jupp' Schugt wrote: > On Mon, 03 Nov 2008 14:18:39 +0100, Ron Fox wrote: > >> Can't be that hard run latex about 3 times, once for the intial run. >> Once for references to get done right, once for any index to be created. >> Then run the dvi converter you want for the output format you want. > > Even though it is possible, as far as the portable document format is > concerned you do not want to first create DVIs and convert them to PDFs. > That results in documents inferior to direct PDF generation. And depending > on the document LaTeX runs take quite some time so it perhaps is no great > idea to run LaTeX three times just to be safe. Only doing what is actually > is necessary is the central concept of Makefiles and Co. > > Josef 'Jupp' Schugt -- Ron Fox NSCL Michigan State University East Lansing, MI 48824-1321