|
Subject: Re: (dsssl) quick howto? From: Stephane Bortzmeyer <bortzmeyer@xxxxxxxxxx> Date: Wed, 24 Jan 2001 11:04:32 +0100 |
On Monday 22 January 2001, at 22 h 20, the keyboard of Thomas Andre Berger
<thomasbe@xxxxxx> wrote:
> > (I am not sure why the jadetex is done three times.)
>
> To get references right (like page numbers). This is normal for TeX-users.
No! It is not normal to run it three times when you sometimes need only one pass and sometimes four. Use this in your Makefile, it will recurse just enough:
MAX_TEX_RECURSION=4
...
# Solution by Rafael Laboissiere <rafael@xxxxxxxxxxx>
%.dvi: %.tex
$(JADETEX) $<
if ! cmp $(shell basename $< .tex).aux prior.aux 2>/dev/null && \
expr $(MAKELEVEL) '<' $(MAX_TEX_RECURSION); then \
cp -pf $(shell basename $< .tex).aux prior.aux ; \
rm -f $@ ; \
$(MAKE) $@ ; \
fi
rm -f prior.aux
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: (dsssl) quick howto?, Thomas Andre Berger | Thread | Re: (dsssl) quick howto?, Jany Quintard |
| Re: (dsssl) quick howto?, Jany Quintard | Date | Re: (dsssl) quick howto?, Jany Quintard |
| Month |