[tex-k] Bug#458059:

Karl Berry karl at freefriends.org
Sun Jun 1 01:55:24 CEST 2008


    The attached file gives an error

Stijn, I'm not sure if you ever found the resolution.

Using \loggingall on your source quickly shows there is, as Taco et
al. surmised, an infinite loop.  The log file ends with this:


...
\bm at command ...nd \z@ {\bm at gr@@p \boldmath {{b^c}}
                                                  }
\makebm #1$->\bm {#1}
                     $
\bm at mchoice ... {\hbox {#1$\displaystyle \m at th #2$
                                                  }}{\hbox {#1$\textstyle \m...

\bm at gr@@p ...fmmode \bm at mchoice #1{#2}{#2}{#2}{#2}
                                                  \else \bfseries #1#2\fi 
\bm at command ...30049 ^{\bm at gr@@p \boldmath {{b^c}}
                                                  }
\makebm #1$->\bm {#1}
                     $
\makelabel ...h {\makebm }\normalfont \bfseries #1
                                                  :}
\sbox #1#2->\setbox #1\hbox {\color at setgroup #2
                                               \color at endgroup }
\@item ...i \fi \sbox \@tempboxa {\makelabel {#1}}
                                                  \global \setbox \@labels \...
l.11 \item[$a^{b^c}$]
                      $a^{b^c}$


You can see the loop, \makebm ends up calling itself.

Evidently \makebm cannot be used in \everymath.  Even a complete
re-archiTeXture will not help :).

Good luck,
Karl


More information about the tex-k mailing list