diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-09-10 18:06:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-09-10 18:06:00 +0200 |
commit | c43315bbcee9c1216def83861317eae1729a16d2 (patch) | |
tree | e824484b844e7cfd8eda4013e08e52895cc1dbd9 | |
parent | e6734b0c6499a51dec0e834b68d0ac579602e1eb (diff) | |
download | context-c43315bbcee9c1216def83861317eae1729a16d2.tar.gz |
beta 2013.09.10 18:06
-rw-r--r-- | tex/context/base/context-version.pdf | bin | 4115 -> 4108 bytes | |||
-rw-r--r-- | tex/context/base/mlib-pdf.lua | 18 | ||||
-rw-r--r-- | tex/context/base/status-files.pdf | bin | 24752 -> 24764 bytes |
3 files changed, 10 insertions, 8 deletions
diff --git a/tex/context/base/context-version.pdf b/tex/context/base/context-version.pdf Binary files differindex a80e91311..dfd432aed 100644 --- a/tex/context/base/context-version.pdf +++ b/tex/context/base/context-version.pdf diff --git a/tex/context/base/mlib-pdf.lua b/tex/context/base/mlib-pdf.lua index 1e3f4ef49..5e60999c1 100644 --- a/tex/context/base/mlib-pdf.lua +++ b/tex/context/base/mlib-pdf.lua @@ -292,14 +292,16 @@ metapost.urx = 0 metapost.ury = 0 function commands.mprunvar(key) - local value = variables and variables[key] - local vtype = type(value) - if tvalue == "table" then - context(concat(value," ")) - elseif tvalue == "number" or tvalue == "boolean" then - context(concat(value,tostring(value))) - elseif tvalue == "string" then - context(concat(value," ")) + local value = metapost.variables[key] + if value ~= nil then + local tvalue = type(value) + if tvalue == "table" then + context(concat(value," ")) + elseif tvalue == "number" or tvalue == "boolean" then + context(tostring(value)) + elseif tvalue == "string" then + context(value) + end end end diff --git a/tex/context/base/status-files.pdf b/tex/context/base/status-files.pdf Binary files differindex 975b88348..229f9506b 100644 --- a/tex/context/base/status-files.pdf +++ b/tex/context/base/status-files.pdf |