[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mathdiscretionary bug
- To: math-font-discuss@cogs.susx.ac.uk
- Subject: mathdiscretionary bug
- From: lcs@suntopo (Laurent Siebenmann)
- Date: Sun, 5 Sep 93 02:07:07 +0200
The problem <SZILLAT@iaas-berlin.d400.de>
was to make the "+" repeat
after the line break within
a multiple sum $a+a+...$
Frank Mittelbach's solution has bugs
that show up when an operator argument is missing.
His \mathop{} trick was the culprit it seems.
I simplify!
\hsize=4cm\parindent=0pt\def\test{$+a+a+a+a{+a+}a+a+a+a+$ }
\test Standard.\par
\mathcode`\+="8000
{\catcode`\+=\active
\gdef+{\mathchar"202B\discretionary{}{\the\textfont0\char"2B}{}%
\extra}
\def\extra{\mathbin{}}\test Buggy! \par
\def\extra{}\test OK?\par
Laurent Siebenmann <lcs@matups.matups.fr>