[Top][All Lists]

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

texi2dvi --max-iterations

From: Roland Kaufmann
Subject: texi2dvi --max-iterations
Date: Mon, 26 Oct 2009 14:22:39 +0100

I use texi2dvi for most LaTeX compilations. However, lately I have
been struggling with the varioref package, which expand references
into longer text ("see fig. (2) on the following page") if the
reference is not on the same page, something which may of course
overflow to the next page rendering the extra text invalid and
ultimately causing an infinite loop!

Therefore, I have created a small patch which enables the user to set
a boundary on the number of times the files are processed. I chose an
option similar to what's already in MiKTeX:
<http://docs.miktex.org/manual/texify.html#id826609> (no reason to be
incompatible). Default is to keep going as in earlier versions. I
choose the error to be non-fatal; in most cases looping would be
caused by something changing back and forth, and before typesetting
the final version the log would be inspected anyway.

I reckon this is a feature (albeit small) in which more users could be
interested, thus sending it upstream. Patch is against version 4.13a.
Consider copyleft to be assigned to the FSF.

Yours sincerely,

   Roland Kaufmann

Attachment: maxiter.diff
Description: Text Data

reply via email to

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