From: Saji N Hameed Date: 2008-11-04T22:02:55+09:00 Subject: Re: Rake task for building latex? FYI, it may be relevant to check out ConText (wiki.contextgarden.net), another TeX macro package, where ruby is heavily used (and of late lua) to assist better interaction with user. * Ron Fox [2008-11-04 21:53:34 +0900]: > 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 > > -- Saji N. Hameed APEC Climate Center +82 51 668 7470 National Pension Corporation Busan Building 12F Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 saji@apcc21.net KOREA