Re: [texhax] Stack capacity exceeded with varioref and babel v3.8g

Robert Wenner robert.wenner at gmx.de
Fri Aug 12 23:01:10 CEST 2005


Hi,

> The text I have is too large to serve as an example and I couldn't 
> reproduce the problem on a shorter text yet. 

Here is a short example. It seems that the combination of babel, 
varioref and hyperref is the problem:

\documentclass{article}

\usepackage[american]{babel}
\usepackage{varioref}
\labelformat{section}{section~#1}
\usepackage{hyperref}
\listfiles
\begin{document}

\section{Foo}\label{sec:foo}
\ref{sec:foo} shows this working (\pageref{sec:foo}).
\Vref{sec:foo} shows this breaking (\vref*{sec:foo}).

\end{document}

With babel 2005/05/21 v3.8g this breaks on the 2nd pdflatex 
(This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)) run.

! TeX capacity exceeded, sorry [input stack size=1500].
\protect ->\noexpand \protect
                              \noexpand
l.12 \Vref{sec:foo}
                    shows this breaking (\vref*{sec:foo}).

With babel 2004/11/20 v3.8d, there is no error, but the \Vref{}
capitalization does not work.

Without hyperref, everything is fine as well (but of course without
hyperlinks).

Any ideas?

Robert

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl



More information about the texhax mailing list