summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/context/base/mp-luas.mpiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/context/base/mp-luas.mpiv')
-rw-r--r--Master/texmf-dist/metapost/context/base/mp-luas.mpiv9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/metapost/context/base/mp-luas.mpiv b/Master/texmf-dist/metapost/context/base/mp-luas.mpiv
index b926b586c46..c919ba2159c 100644
--- a/Master/texmf-dist/metapost/context/base/mp-luas.mpiv
+++ b/Master/texmf-dist/metapost/context/base/mp-luas.mpiv
@@ -13,6 +13,15 @@
if known context_luas : endinput ; fi ;
+% When I prototyped the runscript primitive I was just thinking of a usage like
+% the original \directlua primitive in luatex: genererate something and pipe
+% that back to metapost, and have access to some internals. Instead of compiling
+% the code a the metapost end here we delegate that to the lua end. Only strings
+% get passed. Of course in the end the real usage got a bit beyong the intended
+% usage. So, in addition to some definitions here there are and will be use in
+% other metafun modules too. Of course in retrospect I should have done this five
+% years earlier.
+
boolean context_luas ; context_luas := true ;
% First variant: