summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty b/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty
index 4d4a4d7d4fc..80cf713ad9c 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/pdfcol.sty
@@ -126,8 +126,6 @@
\TMP@EnsureCode{47}{12}% /
\TMP@EnsureCode{61}{12}% =
\TMP@EnsureCode{96}{12}% `
-\newif\ifpdfcolAvailable
-\pdfcolAvailabletrue
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
\def\PDFCOL@RequirePackage#1[#2]{\input #1.sty\relax}%
@@ -136,7 +134,10 @@
\RequirePackage{#1}[{#2}]%
}%
\fi
-\newif\ifPDFCOL@luacolor
+\PDFCOL@RequirePackage{ltxcmds}[2010/03/01]
+\ltx@newif\ifpdfcolAvailable
+\pdfcolAvailabletrue
+\ltx@newif\ifPDFCOL@luacolor
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ver@luacolor.sty\endcsname\relax
\PDFCOL@luacolorfalse