On Wed, 18 May 2011, Hans Hagen wrote:
On 18-5-2011 6:58, Aditya Mahajan wrote:
On Tue, 17 May 2011, Taco Hoekwater wrote:
Hi Hans/ Aditya,
With the latest beta, \startmatrix's final \NR creates a superfluous line, resulting in ugly output:
Bugfix:
In \dodefinemathmatrix, change
\setuvalue{\e!stop #1}{\dostopmathmatrix}%
to
\setvalue{\e!stop #1}{\dostopmathmatrix}%
If someone wants to correct this in a working document, add
\let\stopmatrix\dostopmathmatrix
somewhere before \starttext
\starttext \startformula \startmatrix[left={\left(\,},right={\,\right)}] \NC 0 \NR \NC 0 \NR \NC 0 \NR % removing this fixes the output \stopmatrix \stopformula \stoptext
I don't know why \setuvalue gives an extra space. Hopefully, you or Hans will be able to figure that out.
no clue yet but
\unexpanded\def\dostopmathmatrix
gives an extra row
Simpler example: \def\A{\halign \bgroup ## \crcr} \unexpanded\def\B{\crcr\egroup} \def\C{\crcr\egroup} \starttext \ruledvbox{\A A \cr B \cr \B} \ruledvbox{\A A \cr B \cr \C} \stoptext Same results with MkII and MkIV, so this is not a luatex issue. Aditya