summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-01-10 13:33:35 +0200
committerMarius <mariausol@gmail.com>2012-01-10 13:33:35 +0200
commitd44c3d2b9ac2a797c610b9b472527119c08bf206 (patch)
tree09dca91a6255797b040b88c2ea348e162c0842e4 /metapost
parent2ee95c7070f4d16d25209332378cb27e599292f7 (diff)
downloadcontext-d44c3d2b9ac2a797c610b9b472527119c08bf206.tar.gz
beta 2012.01.09 10:08
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-grph.mpiv12
1 files changed, 7 insertions, 5 deletions
diff --git a/metapost/context/base/mp-grph.mpiv b/metapost/context/base/mp-grph.mpiv
index 5917beb17..3cbe42bdb 100644
--- a/metapost/context/base/mp-grph.mpiv
+++ b/metapost/context/base/mp-grph.mpiv
@@ -119,11 +119,13 @@ def doloadfigure (expr filename) text figureattributes =
enddef ;
def graphictext primary t =
- if mfun_trial_run :
- let mfun_graphic_text = mfun_no_graphic_text ;
- else :
- let mfun_graphic_text = mfun_do_graphic_text ;
- fi
+ hide (
+ if mfun_trial_run :
+ let mfun_graphic_text = mfun_no_graphic_text ;
+ else :
+ let mfun_graphic_text = mfun_do_graphic_text ;
+ fi
+ )
mfun_graphic_text(t)
enddef ;