summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-mlib.mp9
1 files changed, 8 insertions, 1 deletions
diff --git a/metapost/context/base/mp-mlib.mp b/metapost/context/base/mp-mlib.mp
index 11f096c18..9929cfde5 100644
--- a/metapost/context/base/mp-mlib.mp
+++ b/metapost/context/base/mp-mlib.mp
@@ -397,7 +397,7 @@ def dographictext (expr t) =
enddef ;
def nographictext (expr t) text rest =
- draw unitsquare withprescript "gt_stage=trial" withpostscript t ;
+ draw unitsquare withprescript "gt_stage=trial" withpostscript t
enddef ;
% def savegraphictext (expr str) =
@@ -406,6 +406,13 @@ enddef ;
% def erasegraphictextfile =
% enddef ;
+% Layers
+
+def onlayer primary name =
+ withprescript "la_name=" & name
+enddef ;
+
+
% Figures
% def externalfigure primary filename =