summaryrefslogtreecommitdiff
path: root/metapost/context/base/mp-form.mp
diff options
context:
space:
mode:
Diffstat (limited to 'metapost/context/base/mp-form.mp')
-rw-r--r--metapost/context/base/mp-form.mp6
1 files changed, 5 insertions, 1 deletions
diff --git a/metapost/context/base/mp-form.mp b/metapost/context/base/mp-form.mp
index b5c06b11a..bad87651c 100644
--- a/metapost/context/base/mp-form.mp
+++ b/metapost/context/base/mp-form.mp
@@ -333,8 +333,12 @@ vardef isfmtseparator primary c = %%% added by HH %%%
((c <> fmt_separator) and (c <> "%"))
enddef ;
+def initialize_form_numbers =
+ initialize_numbers ; % in context: do_initialize_numbers ;
+enddef ;
+
vardef dofmt_@#(expr f, x) = %%% adapted by HH %%%
- initialize_numbers ;
+ initialize_form_numbers ;
if f = "" :
if fmt_metapost : nullpicture else : "" fi
else :