OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: jadetex producing different output each time run


On Wednesday 22 December 1999, at 15 h 13, the keyboard of maarten de boer 
<maarten.deboer@iua.upf.es> wrote:

> I call jadetex again
> $ jadetex draft2.tex  
> And miracle! The table of contents is correct.
> 
> What am I doing wrong?

Nothing. This is TeX (and, BTW, many other systems which handle cross-references do the same).

Here is what I put in my Makefile:

MAX_TEX_RECURSION=4
...
%.dvi: %.tex
        # Trick from Adam Di Carlo <adam@onshore.com> to recurse jadetex 
        # "just enough".
        -cp -pf prior.aux pprior.aux
        -cp -pf $(shell basename $< .tex).aux prior.aux
        jadetex $<
        if ! cmp $(shell basename $< .tex).aux prior.aux &&             \
           ! cmp $(shell basename $< .tex).aux pprior.aux &&            \
           expr $(MAKELEVEL) '<' $(MAX_TEX_RECURSION); then             \
                rm -f $@                                                ;\
                $(MAKE) $@                                              ;\
        fi
        rm -f prior.aux pprior.aux



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC