On Sun, 01 Jun 2008 01:55:24 +0200, Karl Berry wrote:

    The attached file gives an error

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

[...]
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 :).

The problem is this: When bm encounters a group such as happens in this case in the superscript, it will call [EMAIL PROTECTED] defined thusly:
  [EMAIL PROTECTED]
    [EMAIL PROTECTED]
               [EMAIL PROTECTED]
               [EMAIL PROTECTED]
               [EMAIL PROTECTED]

Exiting and entering mathmode like this triggers \everymath and so our infinite recursion is started. Easiest remedy is to also tell \everymath to reset itself.
  \renewcommand*\descriptionlabel[1]{%
    \hspace\labelsep
    {\everymath{\everymath{}\makebm}\normalfont\bfseries #1:}%
  }

--
Morten



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to