> 
> It seems the documentation for tnt-mmtl (see http://mmtl.sourceforge.net/) 
> cannot be built with teTeX 3.0, while it worked fine with version 2.0.
> tnt-mmtl uses pdflatex on a .tex file that has \usepackage{amsmath}.
> 
> The error printed is:
> 
>       ! Illegal parameter number in definition of [EMAIL PROTECTED]@@@[EMAIL 
> PROTECTED]
>       <to be read again>
>                          1
>       l.1996 [EMAIL PROTECTED]
>                               {%
>       ? h
>       You meant to type ## instead of #, right?
>       Or maybe a } was forgotten somewhere earlier, and things
>       are all screwed up? I'm going to assume that you meant ##.
> 
>       ?

my immediate guess is you've got a corrupt amsmath.sty; the line where
your error occurs is miles earlier than where that definition is in my
copy(ies) of amsmath.sty (1996 vs 2101).

there are three commands with parameters defined between the start of
the definition of [EMAIL PROTECTED]@@@[EMAIL PROTECTED] and (my) line 2101, so
presumably they've been lost in your corruption, too.  they are

[EMAIL PROTECTED]
    [EMAIL PROTECTED]@lengths\fi
}
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]
    [EMAIL PROTECTED]@widths\fi\relax
}
[EMAIL PROTECTED] ....

that little sequence starts at line 1621: do you have any of those
commands in your amsmath.sty?

> The input file only has ~600 lines, the problem seems to be somewhere in 
> teTeX.

i presume you mean "in amsmath"?

> A simple input file to reproduce the same error (also at line 1996) 
> is:
> 
>       \documentclass{article}
>       \usepackage{amsmath}
>       \begin{document}
>       \end{document}
> 
> The same error occurs for latex both pdflatex.

not here it doesn't.

> What is the recommended way to use amsmath with teTeX 3.0?

same as ever.

Reply via email to