summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-24 23:48:52 +0000
committerKarl Berry <karl@freefriends.org>2012-05-24 23:48:52 +0000
commit4108a49ce4e63a400467c3eced06265e52ed57cf (patch)
treebbbef96455a55dfe2460e5bdf93f91adbf46f697 /Master/texmf-dist/tex/latex/animate
parent81262e0eb2974f7449426bcd5f4f7b01f8d7a8b1 (diff)
animate (24may12)
git-svn-id: svn://tug.org/texlive/trunk@26643 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty16
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index 831f472149e..490008c2922 100644
--- a/Master/texmf-dist/tex/latex/animate/animate.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate.sty
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}
-\def\@anim@version{2012/05/11}
+\def\@anim@version{2012/05/24}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -2366,12 +2366,16 @@
\let\@anim@percent=\%\let\%=\@anim@per%
}
\def\@anim@@endsanitize#1#2\@nil{%
+ \catcode`#1=\csname @anim@\number`#1\endcsname%
+ \ifx\@empty#2\@empty%
+ \else%
+ \@anim@@endsanitize#2\@nil%
+ \fi%
\let\%=\@anim@percent%
\let\}=\@anim@rightbrace%
\let\{=\@anim@leftbrace%
\let\\=\@anim@newline%
\catcode`\#=6%
- \catcode`#1=\csname @anim@\number`#1\endcsname%
}
\def\@anim@sanitize{%
\@anim@@sanitize.:;?!/"'*+,->=<$&@][)(^_`|~\@nil}%
@@ -2580,7 +2584,7 @@
}%
}
-%parses JavaScript field
+%process JavaScript field
\def\@anim@parseforth#1:\@nil{%
\edef\@anim@tmp{#1\space}%
\edef\@anim@tmp{\expandafter\zap@space\@anim@tmp\@empty}%
@@ -3677,7 +3681,7 @@
if(a#1.idx==\@anim@maxframe){a#1.actnEndLeft();}%
a#1.actnPlayRight();%
\fi%
- \if@anim@usrjs try{a#1.usrJSat[a#1.idx]();}catch(e){}\fi
+ \if@anim@usrjs try{a#1.usrJSat[a#1.idx]();}catch(e){}\fi%
\fi%
}catch(e){}%
)>>%
@@ -3711,14 +3715,14 @@
if(a#1.isPlaying){a#1.actnPause();}else{%
if(a#1.idx==0){a#1.actnEndRight();}%
a#1.actnPlayLeft();%
- \if@anim@usrjs try{a#1.usrJSat[a#1.idx]();}catch(e){}\fi
+ \if@anim@usrjs try{a#1.usrJSat[a#1.idx]();}catch(e){}\fi%
}%
\else%
\ifx\@anim@action\@anim@PlayPauseRight
if(a#1.isPlaying){a#1.actnPause();}else{%
if(a#1.idx==\@anim@maxframe){a#1.actnEndLeft();}%
a#1.actnPlayRight();%
- \if@anim@usrjs try{a#1.usrJSat[a#1.idx]();}catch(e){}\fi
+ \if@anim@usrjs try{a#1.usrJSat[a#1.idx]();}catch(e){}\fi%
}%
\else%
\ifx\@anim@action\@anim@StepRight%