diff options
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mpxl/mp-base.mpxl | 6 | ||||
-rw-r--r-- | metapost/context/base/mpxl/mp-xbox.mpxl | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/metapost/context/base/mpxl/mp-base.mpxl b/metapost/context/base/mpxl/mp-base.mpxl index 9bba87d23..ba2012b7e 100644 --- a/metapost/context/base/mpxl/mp-base.mpxl +++ b/metapost/context/base/mpxl/mp-base.mpxl @@ -639,7 +639,9 @@ permanent interpath, solve, buildcycle, tolerance ; %% units of measure -mm := 2.83464 ; +newinternal mm, pt, dd, bp, cm, pc, cc, in, dk, es, ts ; + +mm := 2.83464 ; % ibm odd/even rounding pt := 0.99626 ; dd := 1.06601 ; % 1.0660068107174 bp := 1 ; @@ -648,6 +650,8 @@ pc := 11.95517 ; cc := 12.79213 ; in := 72 ; dk := 6.41577 ; % 6.4157650704225 ; +es := 71.13174 ; % ibm odd/even rounding +ts := 7.11317 ; immutable mm, pt, bp, cm, in ; % we don't protect (yet): dd, pc cc (used as locals) diff --git a/metapost/context/base/mpxl/mp-xbox.mpxl b/metapost/context/base/mpxl/mp-xbox.mpxl index 365bec515..bfc844d9e 100644 --- a/metapost/context/base/mpxl/mp-xbox.mpxl +++ b/metapost/context/base/mpxl/mp-xbox.mpxl @@ -10,10 +10,7 @@ % copyright : Public domain % patched : Hans Hagen % -% The code is the same but I've added a boxes_ namespace for some so that we don't -% clash with metafun. - -% The code is the same but I've added s boxes_ namespace for soem so that we don't +% The code is the same but I've added s boxes_ namespace for somd so that we don't % clash with metafun. Loading and initialization is now under metafun control. if known metafun_loaded_xbox : endinput ; fi ; |