diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-07 16:52:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-07 16:52:56 +0000 |
commit | e1e1d6fa3224440612d3ad6595c413f88d552702 (patch) | |
tree | eaa3301c9fecd1d01baa642b2e483fee4430bcee /Master/texmf-dist/asymptote/embed.asy | |
parent | 0eefec13710bb4d6aff6838a6efc463912506ee9 (diff) |
asymptote 2.37
git-svn-id: svn://tug.org/texlive/trunk@40303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/embed.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/embed.asy | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Master/texmf-dist/asymptote/embed.asy b/Master/texmf-dist/asymptote/embed.asy index 588ad79c283..88495f12128 100644 --- a/Master/texmf-dist/asymptote/embed.asy +++ b/Master/texmf-dist/asymptote/embed.asy @@ -2,11 +2,6 @@ if(latex()) { usepackage("hyperref"); texpreamble("\hypersetup{"+settings.hyperrefOptions+"}"); usepackage("media9","bigfiles"); - texpreamble("\newif\ifplaybutton"); - texpreamble("\count255=\the\catcode`\@\makeatletter% -\@ifpackagelater{media9}{2013/11/15}{}{\playbuttontrue}% -\catcode`\@=\the\count255 -%"); } // For documentation of the options see @@ -19,11 +14,7 @@ string embedplayer(string name, string text="", string options="", if(width != 0) options += ",width="+(string) (width/pt)+"pt"; if(height != 0) options += ",height="+(string) (height/pt)+"pt"; return "% -\ifplaybutton% -\includemedia["+options+"]{"+text+"}{"+name+"}% -\else% -\includemedia[noplaybutton,"+options+"]{"+text+"}{"+name+"}% -\fi"; +\includemedia[noplaybutton,"+options+"]{"+text+"}{"+name+"}"; } // Embed media in pdf file |