summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-09 10:08:00 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-09 10:08:00 +0100
commitcb61e304a824404b3847969f1da89f868449df8b (patch)
tree6e8e108d1c511292d90cbdd7b4922851d7d29ef0 /metapost
parent0b16692d7b6129a0a7087b86fe51bbc2d5ce03ce (diff)
downloadcontext-cb61e304a824404b3847969f1da89f868449df8b.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 ;