diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-02-19 13:52:42 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-02-19 13:52:42 +0100 |
commit | 1a846ce732270ab6ef770939d4858ccda592b9a0 (patch) | |
tree | 118a73032ac27a56bec3864c12fe2e1511effd6b /metapost | |
parent | 298afdcdcb9d3c88fcc9abdbf17ac66f2f5006a1 (diff) | |
download | context-1a846ce732270ab6ef770939d4858ccda592b9a0.tar.gz |
2021-02-19 13:15:00
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mpxl/mp-grph.mpxl | 2 |
1 files changed, 2 insertions, 0 deletions
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. |