From 7c318ca9064f51e8b438791b98dd552327bb7a00 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 13 Dec 2010 22:20:15 +0200 Subject: beta 2010.12.13 20:58 --- metapost/context/base/mp-form.mp | 6 +++--- metapost/context/base/mp-grid.mp | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'metapost') diff --git a/metapost/context/base/mp-form.mp b/metapost/context/base/mp-form.mp index a65ab6d73..1a80d618c 100644 --- a/metapost/context/base/mp-form.mp +++ b/metapost/context/base/mp-form.mp @@ -78,8 +78,8 @@ begingroup interim warningcheck := 0 ; %%% Load auxiliary macros. -input string -input marith +input string ; +input marith ; %%% Choosing the Layout %%% @@ -318,7 +318,7 @@ enddef ; % round and typeset a quantity z in exponent form. % % e scientific, p significant figures -% p decimal, p digits right of the point +% f decimal, p digits right of the point % g decimal or scientific, p sig. figs. % G decimal or scientific, p digits diff --git a/metapost/context/base/mp-grid.mp b/metapost/context/base/mp-grid.mp index f6e843489..c87df821c 100644 --- a/metapost/context/base/mp-grid.mp +++ b/metapost/context/base/mp-grid.mp @@ -107,7 +107,12 @@ def do_initialize_numbers = textext.raw("${\times}10$") , textext.raw("${}^-$") , textext.raw("${}^2$") ) ; - numbers_initialized := true ; + if unknown _trial_run_ : + numbers_initialized := true ; + else : + % no reset, otherwise textexts get out of sync + % slows down graphics a bit but not much + fi ; fi ; enddef ; -- cgit v1.2.3