bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #43122] texi2dvi does not compile enough times to get toc


From: Gavin Smith
Subject: Re: [bug #43122] texi2dvi does not compile enough times to get toc
Date: Thu, 17 Sep 2015 11:07:04 +0100

On 15 September 2015 at 22:49, Vincent Belaïche
<address@hidden> wrote:
> There is another optimization that could be done: at the end of the loop
> run_bibtex and run_index are launched one more time even though that
> could be useless if the loop is broken immediately afterwards (running
> index and bibtex is useful only if we make a loop and have again a core
> conversion, otherwise it does not have any impact on the finale output).
>
> In other words we have:
>
>     run_core_conversion
>     run_bibtex
>     run_index
>     xref_files_changed || break
>
> While it should be
>
>
>     run_core_conversion
>     xref_files_changed || break
>     run_bibtex
>     run_index
>
> However, I have tried the above, but it results in an infinite loop
> (broken after the max 7 cycles allowed). I am not yet sure why this
> happens : if I place the break condition before run_bibtex, then I get
> (with verbose -V) the following output:

I've moved the test (rev. 6629) to eliminate the extra call to
run_index, and tweaked how the "fls" files are saved to prevent an
infinite loop.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]