summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/test/context-test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/test/context-test.tex')
-rw-r--r--Master/texmf-dist/tex/context/test/context-test.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/test/context-test.tex b/Master/texmf-dist/tex/context/test/context-test.tex
new file mode 100644
index 00000000000..3cf002baf24
--- /dev/null
+++ b/Master/texmf-dist/tex/context/test/context-test.tex
@@ -0,0 +1,27 @@
+\starttext
+
+\startmode[mkiv]
+
+ \startluacode
+ tex.sprint("hello")
+ \stopluacode
+
+ \startMPcode
+ draw textext("hello") rotated 45 ;
+ \stopMPcode
+
+ \framed{hello}
+
+\stopmode
+
+\startnotmode[mkiv]
+
+ \startMPcode
+ draw textext("hello") rotated -45 ;
+ \stopMPcode
+
+ \framed{hello}
+
+\stopnotmode
+
+\stoptext