Graham Smith wrote:
> Error
> Package varioref \vref at page boundary 18-19 (may loop)
> 
> 
> Description
> 
> terms. }
> 
>  Please check the pages in question. You might need to replace the \vref
> 
> or \vpageref by a normal \(page)ref to stop LaTeX running forever.
> 
> 
> Is there an obvious solution to this,

Read the varioref documentation:

------------------------
5 A few warnings

Defining commands like the ones described above poses some interesting 
problems. Suppose, for example, that a generated text like ‘on the next page’ 
gets broken across pages. If this happens it is very difficult to find an 
acceptable solution and in fact can even result in a document that will always 
change from one state to another (i.e., inserting one string, finding that 
this is wrong, inserting another string on the next run which makes the first 
string correct again, inserting ...). The current implementation of varioref 
therefore issues an error message whenever the generated text is broken across 
page boundaries, e.g., 

        table 5 on the current ⟨page break⟩ page

would result in an error, which needs to be resolved by the user by replacing 
the \vref command with an ordinary \ref just before the final run. This is not 
completely satisfactory but in such case no solution really is. During 
document preparation, while one is still changing the text, such error 
messages can be turned into warnings by placing a \vrefwarning command in the 
preamble. This is equivalent to specifying “draft” as an option to the 
package. \vrefshowerrors ensures that varioref stops when detecting a possible 
loop. This is the default and equivalent to specifying “final” as an option.

At the end final a warning: every use of \vref will internally generate two
macro names to keep track of the string positions within the document. As a
result you may run out of name space or main memory if you make heavy use of
this macro on a small TEX installation. For this reason the primitive command
\fullref is also provided. This command can be used whenever you know for
sure that label and reference can’t fall onto nearby pages.
----------------------------

Jürgen

Reply via email to