From 1a846ce732270ab6ef770939d4858ccda592b9a0 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 19 Feb 2021 13:52:42 +0100 Subject: 2021-02-19 13:15:00 --- metapost/context/base/mpxl/mp-grph.mpxl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'metapost') diff --git a/metapost/context/base/mpxl/mp-grph.mpxl b/metapost/context/base/mpxl/mp-grph.mpxl index 4826e4540..8517293aa 100644 --- a/metapost/context/base/mpxl/mp-grph.mpxl +++ b/metapost/context/base/mpxl/mp-grph.mpxl @@ -84,6 +84,7 @@ def loadfigure primary filename = enddef ; def mfun_load_figure (expr filename) text figureattributes = + mutable beginfig, endfig ; begingroup ; save figurenumber, figurepicture, number, fixedplace ; numeric figurenumber ; figurenumber := 0 ; @@ -114,6 +115,7 @@ def mfun_load_figure (expr filename) text figureattributes = addto figurepicture also currentpicture figureattributes ; currentpicture := figurepicture ; endgroup ; + permanent beginfig, endfig ; enddef ; % We only use the new method now. -- cgit v1.2.3