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 some day Taco and I will arrive at dealing with this lookahead in the perspective of protected (\unexpanded in context) macros issue in luatex (makes a nice topic for discussion on one of our travels to a conference) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------