summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/animate
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-03 18:33:03 +0000
committerKarl Berry <karl@freefriends.org>2009-09-03 18:33:03 +0000
commitb7a423d9b3da732ad73e0bf0dea605a870160525 (patch)
tree77c0bbfe08965a58bf5f931bc29395d0f2244790 /Master/texmf-dist/tex/latex/animate
parent5c627c8066bc3d073519704718fffb64af14609a (diff)
animate update (1sep09)
git-svn-id: svn://tug.org/texlive/trunk@15033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/animate')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate.sty10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate.sty b/Master/texmf-dist/tex/latex/animate/animate.sty
index aa13209b969..b82894f06fc 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{2009/08/17}
+\def\@anim@version{2009/08/31}
\ProvidesPackage{animate}
[\@anim@version\space PDF animations from files and inline graphics]
@@ -3004,8 +3004,10 @@
% console.show();%
% console.clear();%
\if@anim@useocg\else
- if(typeof(curdoc)=='undefined'){curdoc=this;}% ref to the Doc object
+ var curdoc=this;%
+ var a#1_intd;%
\fi
+ var a#1,a#1_int;%
if(typeof(a#1)=='undefined'){% initialize animation
a#1=new Object();%
%takes references to frame ocgs/Field objects belonging to the current
@@ -3019,7 +3021,7 @@
\if@anim@useocg
%get array of ocgs of current page
var ocg=this.getOCGs(this.pageNum);%
- for(var i=0;i<ocg.length;i++){%
+ for(var i in ocg){%
var ocgName=ocg[i].name.split('.');%
if(ocgName[0]==#1){%
\if@anim@controls
@@ -3049,7 +3051,7 @@
\if@anim@step\else
%get array of ocgs of current page
var ocg=this.getOCGs(this.pageNum);%
- for(var i=0;i<ocg.length;i++){%
+ for(var i in ocg){%
var ocgName=ocg[i].name.split('.');%
if(ocgName[0]==#1){%
a#1.btn[ocgName[1]]=ocg[i];%