Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!danj1 From: Dan_Jacobson@ATT.COM Newsgroups: comp.text.tex Subject: Re: sccs, tex makefiles, xfig, hints Message-ID: Date: 21 Mar 91 21:37:38 GMT References: <27530@neptune.inf.ethz.ch> <2358@eonwe.gmv.es> Sender: danj1@cbnewse.att.com (Dan Jacobson) Reply-To: Dan_Jacobson@ATT.COM Organization: AT&T-BL, Naperville IL, USA Lines: 19 In-Reply-To: jjsf@gmv.es's message of 21 Mar 91 09:28:14 GMT >>>>> On 21 Mar 91 09:28:14 GMT, jjsf@gmv.es (Julio Sanchez) said: Julio> But, has anyone found a practical, no-mess way to determine how Julio> many times to process a file in LaTeX so that crossreferences get Julio> right. I think this is what I was using: RERUN_DETERMINER=fgrep 'Rerun to get cross-references right' >&- TEX_COMMAND=latex .SUFFIXES: .dvi .tex .tex.dvi: $(TEX_COMMAND) $< < /dev/null #if LaTeX is to be run twice to get references right (can't depend on #.toc's, aux's... I think. They are all dated the same.): -@$(RERUN_DETERMINER) $*.log && $(TEX_COMMAND) $< < /dev/null -- Dan_Jacobson@ATT.COM Naperville IL USA +1 708 979 6364