diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty index 17ce7587acf..87ce38afa0c 100644 --- a/Master/texmf-dist/tex/latex/animate/animate.sty +++ b/Master/texmf-dist/tex/latex/animate/animate.sty @@ -13,7 +13,7 @@ \NeedsTeXFormat{LaTeX2e} -\def\@anim@version{2018/11/29} +\def\@anim@version{2018/11/30} \ProvidesPackage{animate} [\@anim@version\space PDF & SVG animations from files and inline graphics] @@ -3477,18 +3477,21 @@ % PDF readers \def\@anim@consoleshow{console.show();} \def\@anim@app{app.} +\def\@anim@setTimeout{setTimeOut} \def\@anim@log{println} \def\@anim@shift{shift} \if@anim@dvisvgm % web browsers \def\@anim@consoleshow{} \def\@anim@app{} + \def\@anim@setTimeout{setTimeout} \def\@anim@log{log} \def\@anim@shift{shiftKey} \fi -\begingroup % `$' --> newline in svg output +\begingroup +% `$' --> newline in svg output \if@anim@dvisvgm %insert newline special \catcode`\$=\active\gdef${{?nl}} @@ -3673,7 +3676,7 @@ \if@anim@usrjs if(typeof a#1_usrJS[f]!=='undefined'){$% a#1_curjs=a#1_usrJS[f];$% - var ret=\@anim@app setTimeOut(% execute JS in "parallel" + var ret=\@anim@app\@anim@setTimeout(% execute JS in "parallel" 'try{a#1_curjs();}catch(e){console.\@anim@log(e);}',1% );$% }$% @@ -4233,4 +4236,5 @@ } \fi -\endgroup % `$'--> newline in svg +\endgroup +\endinput |