Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!uunet!mcsun!ukc!icdoc!inmos!frogland!des From: des@frogland.inmos.co.uk (David Shepherd) Newsgroups: comp.text.tex Subject: Re: sccs, tex makefiles, xfig, hints Message-ID: <13120@wraxall.inmos.co.uk> Date: 27 Mar 91 14:30:09 GMT References: <27530@neptune.inf.ethz.ch> <2358@eonwe.gmv.es> Sender: news@inmos.co.uk Reply-To: des@frogland.inmos.co.uk (David Shepherd) Organization: INMOS architecture group Lines: 21 In article <2358@eonwe.gmv.es>, jjsf@gmv.es (Julio Sanchez) writes: |> But, has anyone found a practical, no-mess way to determine how |> many times to process a file in LaTeX so that crossreferences get |> right. Usually it is either 1, 2 or 3. Any hints. Up to now, I |> *touch* the file and make again. This is *ugly*. one way is just to assume worst case and put 3 latex'es in the implicit rule. Perhaps a more imaginative method would be to catch the output from LaTeX, look for the string Rerun, and if so loop back. Is it possible to affect the return value of TeX from inside LaTeX, if so you could stick a special value in and trap that. Over all, assuming you've got a reasonably fast machine and don't have mega documents, then just doing it 3 times may be the simplest! -- -------------------------------------------------------------------------- david shepherd: des@inmos.co.uk or des@inmos.com tel: 0454-616616 x 529 inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq Leland says, you're going back to Missoula ... MONTANA