[texhax] Problem with the xr-hyper package

José Carlos Santos jcsantos at fc.up.pt
Sat May 17 16:06:07 CEST 2014

Hi all,

Six days ago, I posted this question at the comp.text.tex newsgroup, but 
I got no reply there.

Please consider these LaTeX files:

--------------------------- A.tex ---------------------------

--------------------------- B.tex ---------------------------

If I compile the file A.tex and then the file B.tex, I get this error 

Runaway definition?
->\protect \protect {\<def>-command \i \<def>-command \j \<def>-command 
! TeX capacity exceeded, sorry [main memory size=8000000].

If the first line of the file B.tex gets replaced by 
\documentclass{book}, then I get another error message:

! Use of \@chapter doesn't match its definition.
\@uclclist ->\oe
                  \OE \o \O \ae \AE \dh \DH \dj \DJ \l \L \ng \NG \ss 
\SS \th...
l.7 \chapter{\nameref{cha}}


Best regards,

Jose Carlos Santos

More information about the texhax mailing list