summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2008-04-16 17:34:00 +0200
committerHans Hagen <pragma@wxs.nl>2008-04-16 17:34:00 +0200
commit66c43ffc47e4bf28c112bc5c593d1853212f7715 (patch)
tree5efdd357ea14b4b7d1a9407e0ded5434762e4f77 /metapost
parentfda067d65d105a9c168c6d1428ac2f2ae053ed21 (diff)
downloadcontext-66c43ffc47e4bf28c112bc5c593d1853212f7715.tar.gz
stable 2008.04.16 17:34
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-mlib.mp14
1 files changed, 13 insertions, 1 deletions
diff --git a/metapost/context/base/mp-mlib.mp b/metapost/context/base/mp-mlib.mp
index 4ebe576e6..03d30ba99 100644
--- a/metapost/context/base/mp-mlib.mp
+++ b/metapost/context/base/mp-mlib.mp
@@ -1,3 +1,15 @@
+%D \module
+%D [ file=mp-mlib.mp,
+%D version=2008.03.21,
+%D title=\CONTEXT\ \METAPOST\ graphics,
+%D subtitle=specials,
+%D author=Hans Hagen,
+%D date=\currentdate,
+%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
+%C
+%C This module is part of the \CONTEXT\ macro||package and is
+%C therefore copyrighted by \PRAGMA. See licen-en.pdf for
+%C details.
if unknown mplib : endinput ; fi ;
if known context_mlib : endinput ; fi ;
@@ -119,12 +131,12 @@ def nographictext (expr t) text rest =
draw unitsquare withprescript "gt" withpostscript t ;
enddef ;
-
def doexternalfigure (expr filename) text transformation =
draw unitsquare transformation withprescript "fg" withpostscript filename ;
enddef ;
extra_beginfig := extra_beginfig & "currentgraphictext := 0 ; " ;
+extra_endfig := extra_endfig & "finishsavingdata ; " ;
boolean cmykcolors ; cmykcolors := true ;
boolean spotcolors ; spotcolors := true ;