summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-05-12 16:53:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-05-12 16:53:00 +0200
commitc9aa90b46d3adfff6a0522c4f9ff2a76d296d08e (patch)
tree96273adfeaf33f085eef79fc657cc6acbf6a6df0 /metapost
parent04b23cb87054eddbf5ca32635848480f69bae502 (diff)
downloadcontext-c9aa90b46d3adfff6a0522c4f9ff2a76d296d08e.tar.gz
beta 2014.05.12 16:53
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-form.mpiv2
-rw-r--r--metapost/context/base/mp-mlib.mpiv3
2 files changed, 4 insertions, 1 deletions
diff --git a/metapost/context/base/mp-form.mpiv b/metapost/context/base/mp-form.mpiv
index b58792e1a..88b15e097 100644
--- a/metapost/context/base/mp-form.mpiv
+++ b/metapost/context/base/mp-form.mpiv
@@ -27,4 +27,4 @@ string Fmfont_ ; Fmfont_ := "crap" ;
vardef mfun_format_number(expr fmt, i) =
"\ctxlua{metapost.formatnumber('" & fmt & "'," & if string i : i else : decimal i fi & ")}"
-enddef
+enddef ;
diff --git a/metapost/context/base/mp-mlib.mpiv b/metapost/context/base/mp-mlib.mpiv
index 252cd5fd0..56815028e 100644
--- a/metapost/context/base/mp-mlib.mpiv
+++ b/metapost/context/base/mp-mlib.mpiv
@@ -783,6 +783,9 @@ enddef ;
% passvariable("boolean",false) ;
% passvariable("path",fullcircle scaled 1cm) ;
+% we could use the new lua interface but there is not that much gain i.e.
+% we still need to serialize
+
vardef mfun_point_to_string(expr p,i) =
decimal xpart (point i of p) & " " &
decimal ypart (point i of p) & " " &