summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-04-27 21:17:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-04-27 21:17:00 +0200
commit73eb318744fa5399842118dde77562bc700de71f (patch)
tree51b5ec39bcc175a2b3024b2bbf7fa91ca25013c1 /metapost
parentfbc0d1cded960d9ab6b4efceed2bbdcd59629228 (diff)
downloadcontext-73eb318744fa5399842118dde77562bc700de71f.tar.gz
beta 2011.04.27 21:17
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 =