summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-09 13:09:04 +0000
committerKarl Berry <karl@freefriends.org>2007-05-09 13:09:04 +0000
commit3d7b3ecb1f57f808ccef32c0d7769c728d1a0189 (patch)
tree9abfb091d6152c7e05aaee15a0701c67f7968382 /Master/texmf-dist/tex
parent6e231c54c7febc7aeb9a3d26ea85eb4b0051d8a5 (diff)
animate update (5may07)
git-svn-id: svn://tug.org/texlive/trunk@4265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/animate/animate-noocg.sty12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/animate/animate-noocg.sty b/Master/texmf-dist/tex/latex/animate/animate-noocg.sty
index af6dc456726..75068023b31 100644
--- a/Master/texmf-dist/tex/latex/animate/animate-noocg.sty
+++ b/Master/texmf-dist/tex/latex/animate/animate-noocg.sty
@@ -10,10 +10,10 @@
% Supports LaTeX->dvips->ps2pdf or pdfLaTeX workflows.
-% Based on the work by Jan Holecek and Petr Sojka.
+% Non-OCG version, based on the work by Jan Holecek and Petr Sojka.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{animate-noocg}[2007/05/04]
+\ProvidesPackage{animate-noocg}[2007/05/05]
\RequirePackage{keyval}
\RequirePackage{ifthen}
\RequirePackage{ifpdf}
@@ -66,7 +66,13 @@
%creating and using global definitions
\def\@anim@newkey#1#2{{\expandafter\xdef\csname#1\endcsname{#2}}}
-\def\@anim@getkeyval#1{\csname#1\endcsname}
+\def\@anim@getkeyval#1{%
+ \expandafter\ifx\csname#1\endcsname\relax%
+ undefined%
+ \else%
+ \csname#1\endcsname%
+ \fi%
+}%
%missing package error message
\def\@anim@missing#1{%