diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-21 23:02:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-21 23:02:35 +0000 |
commit | fab654a7fafba60c3d1e32040ad16d19b5dfd550 (patch) | |
tree | 699549d43c84af6b176173d794f17c7cc7164bc6 /Master/texmf-dist/asymptote/plain.asy | |
parent | ea58320b10f549a61236be100fc97925aea6b489 (diff) |
asymptote 2.25 for TL14
git-svn-id: svn://tug.org/texlive/trunk@33606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/plain.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/plain.asy | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/asymptote/plain.asy b/Master/texmf-dist/asymptote/plain.asy index 14715bad918..e6097408194 100644 --- a/Master/texmf-dist/asymptote/plain.asy +++ b/Master/texmf-dist/asymptote/plain.asy @@ -280,3 +280,16 @@ if(settings.autoimport != "") { } cputime(); + +// Workaround Adobe Reader transparency artifact: +if(pdf()) { + if(settings.tex == "xelatex") { + texpreamble("\usepackage{everypage}"); + tex("\AddEverypageHook{% +\makeatletter% +\special{pdf: put @thispage <</Group << /S /Transparency /I true /CS /DeviceRGB>> >>}% +\makeatother% +}%"); + } else + tex("\pdfpageattr{/Group <</S /Transparency /I true /CS /DeviceRGB>>}"); +} |