summaryrefslogtreecommitdiff
path: root/macros/generic/lt3luabridge/example.latex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/lt3luabridge/example.latex')
-rw-r--r--macros/generic/lt3luabridge/example.latex3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/generic/lt3luabridge/example.latex b/macros/generic/lt3luabridge/example.latex
index 0393d76c69..f127d39881 100644
--- a/macros/generic/lt3luabridge/example.latex
+++ b/macros/generic/lt3luabridge/example.latex
@@ -1,5 +1,6 @@
\documentclass{standalone}
\usepackage{lt3luabridge}
+\luabridgeExecute{x = 1 -- this will have no effect due to sandboxing}
\begin{document}
-$ 1 + 2 = \luabridgeExecute{ print(1 + 2) } $
+$ 1 + 2 = \luabridgeExecute{if true then print(1 + 2) end} $
\end{document}