diff options
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 |