summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/mlib-int.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-10-24 11:13:27 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-10-24 11:13:27 +0200
commitd91c37679b13162a4ead85abbe564090b2e1b51c (patch)
tree01b9c9e5a2437c7381b0f6d109cd51f0f6bed84e /tex/context/base/mkiv/mlib-int.lua
parentcb218b728af372a1ed6c9188765022dc057799ac (diff)
downloadcontext-d91c37679b13162a4ead85abbe564090b2e1b51c.tar.gz
2017-10-24 10:36:00
Diffstat (limited to 'tex/context/base/mkiv/mlib-int.lua')
-rw-r--r--tex/context/base/mkiv/mlib-int.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/mlib-int.lua b/tex/context/base/mkiv/mlib-int.lua
index 108002929..8db8055f9 100644
--- a/tex/context/base/mkiv/mlib-int.lua
+++ b/tex/context/base/mkiv/mlib-int.lua
@@ -17,6 +17,8 @@ local mpcolor = attributes.colors.mpcolor
local emwidths = fonts.hashes.emwidths
local exheights = fonts.hashes.exheights
+local mpgetdimen = mp.getdimen
+
function mp.PaperHeight () mpprint(getdimen("paperheight") *factor) end
function mp.PaperWidth () mpprint(getdimen("paperwidth") *factor) end
function mp.PrintPaperHeight () mpprint(getdimen("printpaperheight") *factor) end