Jürgen Spitzmüller a écrit :
Jürgen Spitzmüller wrote:
Also, the problem is supposed to be fixed within babel itself (see the
babel  docs, sec. 12.18.2). Babel does the same trick than nameref here
(deactivating actice chars within \vref and \vpageref). The strange thing
is: if I export your test file and compile it manually with pdflatex, no
error occurs. The error only shows up when compiling with LyX. I'd like to
know why the babel fix does not trigger when compiling with LyX.

The mystery is solved: Kile ran a different LaTeX distribution than LyX. Now I tracked down the problem to varioref itself. The bug does not occur in varioref 1.4p (2006/05/13), but it occurs with the newer varioref 1.4w (2009/09/13).

I guess that explains why the behaviour with or without hyperref active was reversed with TexLive 2007 (standard in Debian Lenny).
I just cheked with the test file and after hiding the local texlive2009:
works without hyperref, fails with hyperref active.

Thanks for digging this out.

--
Jean-Pierre

Reply via email to