On 16 August 2015 at 22:06, Vincent Belaïche <[email protected]> wrote: > I attached the log file metafont-for-beginners.log, and by browsing it and > looking at what the xref_files_changed from texi2dvi is doing I realized what > the root cause of the issue is. You are grepping the log only for "Rerun to > get" or for "biblatex.*(re)run" in order to trigger the etex re-run, but there > aren't any such match in the log file, rather one can read in it: > > > Cross reference values unknown; you must run TeX again. > > > So, I made some patch (attached as texi2dvi.diff) to grep the above also, and > with it, it works fine: texi2dvi runs etex twice, and the toc is therefore > complete.
Do you know why this doesn't work for you, but did work for Karl? Could it be because of > FYI, I had to do some small tricks in order to ensure that texi2pdf calls > texi2dvi shell script in the same directory, because on my machine I had a > texi2dvi.exe in MikTeX distribution, and MSYS was taking this one instead of > the latest texi2dvi from the Texinfo project as I have MikTeX bin dir in the > path... I just tried running "tex xref.texi" on a simple file "xref.texi" containing a cross-reference, and indeed the message "Cross reference values unknown; you must run TeX again." does appear in "xref.log"; texi2pdf, however, still runs tex enough times to get the cross-references to be filled in.
