From 059fc69b2c7853b937ddb4cfc9d36304dee07893 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 1 Apr 2023 10:50:35 +0200 Subject: 2023-04-01 09:31:00 --- metapost/context/base/mpxl/mp-base.mpxl | 6 +++++- metapost/context/base/mpxl/mp-xbox.mpxl | 5 +---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'metapost') 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 ; -- cgit v1.2.3