summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlgs/lib/caption.ps
diff options
context:
space:
mode:
authorReinhard Kotucha <reinhard.kotucha@web.de>2013-09-25 20:33:37 +0000
committerReinhard Kotucha <reinhard.kotucha@web.de>2013-09-25 20:33:37 +0000
commit714e3e47b408453186418661ee6a1d3ed9758953 (patch)
treeddc77ab8c83e3b9593fc3163b3777ce956da0ada /Master/tlpkg/tlgs/lib/caption.ps
parent71669800f9cc2a80e534b6b2712b962bd266a27d (diff)
tlgs: update to gs-9.10, add IPA fonts to cidfmap.TeXLive
git-svn-id: svn://tug.org/texlive/trunk@31760 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlgs/lib/caption.ps')
-rw-r--r--Master/tlpkg/tlgs/lib/caption.ps5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/tlgs/lib/caption.ps b/Master/tlpkg/tlgs/lib/caption.ps
index fbbd10dbe85..14b310d570f 100644
--- a/Master/tlpkg/tlgs/lib/caption.ps
+++ b/Master/tlpkg/tlgs/lib/caption.ps
@@ -48,7 +48,10 @@ grestore
grestore
} bind def
<< /EndPage [
- /showcaption load /exec load
+ %%
+ %% Only print the caption if 'reason' is not 2 (device deactivation)
+ %%
+ /dup load /exec load 2 /ne load /exec load [ /showcaption load /exec load ] cvx /if load /exec load
currentpagedevice /EndPage get /exec load
] cvx
>> setpagedevice