summaryrefslogtreecommitdiff
path: root/macros/generic/lt3luabridge/example.context
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/lt3luabridge/example.context')
-rw-r--r--macros/generic/lt3luabridge/example.context3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/generic/lt3luabridge/example.context b/macros/generic/lt3luabridge/example.context
index 2e64215333..ddadb585c8 100644
--- a/macros/generic/lt3luabridge/example.context
+++ b/macros/generic/lt3luabridge/example.context
@@ -1,4 +1,5 @@
\usemodule[t][lt3luabridge]
+\luabridgeExecute{x = 1 -- this will have no effect due to sandboxing}
\starttext
-$ 1 + 2 = \luabridgeExecute{ print(1 + 2) } $
+$ 1 + 2 = \luabridgeExecute{if true then print(1 + 2) end} $
\stoptext