diff options
author | Marius <mariausol@gmail.com> | 2011-04-27 22:40:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-04-27 22:40:13 +0300 |
commit | cf7755dd328463401bd066ec19cd62e95c225a0c (patch) | |
tree | 36b5539239a75cf01646dda7ff955d4a70d9ada2 /metapost | |
parent | 450e273d5438a33d75f0750ab854ef0c4d20f3b0 (diff) | |
download | context-cf7755dd328463401bd066ec19cd62e95c225a0c.tar.gz |
beta 2011.04.27 21:17
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-mlib.mp | 9 |
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 = |