summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/modules/mkiv')
-rw-r--r--tex/context/modules/mkiv/m-matrix.mkiv5
-rw-r--r--tex/context/modules/mkiv/m-punk.mkiv2
2 files changed, 3 insertions, 4 deletions
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