From 1cc6c316feae649d3c8b64ef0c980dfd792c2347 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 24 Dec 2021 19:46:30 +0100 Subject: 2021-12-24 19:09:00 --- tex/context/modules/mkiv/m-matrix.mkiv | 5 ++--- tex/context/modules/mkiv/m-punk.mkiv | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tex/context/modules') diff --git a/tex/context/modules/mkiv/m-matrix.mkiv b/tex/context/modules/mkiv/m-matrix.mkiv index 4a0bd712d..a5747ac81 100644 --- a/tex/context/modules/mkiv/m-matrix.mkiv +++ b/tex/context/modules/mkiv/m-matrix.mkiv @@ -729,6 +729,7 @@ $\qquad\qquad$ \stopsubject \startsubject[title={Transpose a matrix}] + \startbuffer \startluacode moduledata.matrix.typeset(document.DemoMatrixA) @@ -752,6 +753,7 @@ $\qquad\qquad$ \getbuffer[demo] +\startbuffer \startluacode context("$<1,2,3> \\cdot <3,1,2, 4> \\ =\\ $ ") context(moduledata.matrix.inner({ 1, 2, 3 }, { 3, 1, 2, 4 })) @@ -882,7 +884,6 @@ context(moduledata.matrix.inner({ 1, 2, 3 }, { 3, 1, 2, 4 })) context("$\\Rightarrow$") moduledata.matrix.typeset(moduledata.matrix.rowechelon(m,1)) \stopluacode - \stopbuffer \getbuffer[demo] @@ -989,6 +990,4 @@ context(moduledata.matrix.inner({ 1, 2, 3 }, { 3, 1, 2, 4 })) \getbuffer[demo] -\stopsubject - \stoptext diff --git a/tex/context/modules/mkiv/m-punk.mkiv b/tex/context/modules/mkiv/m-punk.mkiv index 9eb7411ba..8aecfb01f 100644 --- a/tex/context/modules/mkiv/m-punk.mkiv +++ b/tex/context/modules/mkiv/m-punk.mkiv @@ -19,7 +19,7 @@ \ifcase\contextlmtxmode\else \writestatus{punk}{use metapost library punk instead} - \endinput + \expandafter\endinput \fi \startluacode -- cgit v1.2.3