diff options
author | Karl Berry <karl@freefriends.org> | 2018-12-03 22:30:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-12-03 22:30:26 +0000 |
commit | 6f3b3d36a2d2b7a83e71a012d0b95e877fdf62fb (patch) | |
tree | 946e740f0e1e3da5b77c91b573af2a41b59101a2 /Master/texmf-dist/tex | |
parent | 526cfb7ac8d644adaea426d705352af206a0d477 (diff) |
animate (3dec18)
git-svn-id: svn://tug.org/texlive/trunk@49310 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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 |