From cf7755dd328463401bd066ec19cd62e95c225a0c Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 27 Apr 2011 22:40:13 +0300 Subject: beta 2011.04.27 21:17 --- metapost/context/base/mp-mlib.mp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'metapost') 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 = -- cgit v1.2.3