diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/animate/animate-noocg.sty | 12 |
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{% |