summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/luatex.def32
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/pdftex.def32
2 files changed, 34 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/luatex.def b/Master/texmf-dist/tex/latex/graphics-def/luatex.def
index 173e9bcafb9..c8287ee95f9 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/luatex.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/luatex.def
@@ -18,7 +18,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{luatex.def}
- [2018/01/01 v1.0k Graphics/color driver for luatex]
+ [2018/01/08 v1.0l Graphics/color driver for luatex]
\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
@@ -125,20 +125,22 @@
\def\no@page@color{%
\global\GPT@pagecolorfalse
}
-\def\KV@Gin@bbllx{%
- \PackageError{pdftex.def}{%
- Options `bblly', `bblly', `bburx' and `bbury'\MessageBreak
- are not supported by luatex driver:\MessageBreak
- use `viewport' instead%
- }\@ehc
-}
-\let\KV@Gin@bblly\KV@Gin@bbllx
-\let\KV@Gin@bburx\KV@Gin@bbllx
-\let\KV@Gin@bbury\KV@Gin@bbllx
-\def\KV@Gin@bb{%
- \PackageInfo{luatex.def}
- {Option `bb' equivalent to `viewport` for pdftex driver}%
- \KV@Gin@viewport
+\AtBeginDocument{%
+ \def\KV@Gin@bbllx{%
+ \PackageError{luatex.def}{%
+ Options `bblly', `bblly', `bburx' and `bbury'\MessageBreak
+ are not supported by luatex driver:\MessageBreak
+ use `viewport' instead%
+ }\@ehc
+ }%
+ \let\KV@Gin@bblly\KV@Gin@bbllx
+ \let\KV@Gin@bburx\KV@Gin@bbllx
+ \let\KV@Gin@bbury\KV@Gin@bbllx
+ \def\KV@Gin@bb{%
+ \PackageInfo{luatex.def}%
+ {Option `bb' equivalent to `viewport' for luatex driver}%
+ \KV@Gin@viewport
+ }%
}
\def\Gread@pdftex#1{%
% Use low level test here not \IfFileExists to match \Gread@pdftex in
diff --git a/Master/texmf-dist/tex/latex/graphics-def/pdftex.def b/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
index 1d4d96f7e8e..3d064430f07 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
@@ -18,7 +18,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{pdftex.def}
- [2018/01/01 v1.0k Graphics/color driver for pdftex]
+ [2018/01/08 v1.0l Graphics/color driver for pdftex]
\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
@@ -139,20 +139,22 @@ E \else
\def\no@page@color{%
\global\GPT@pagecolorfalse
}
-\def\KV@Gin@bbllx{%
- \PackageError{pdftex.def}{%
- Options `bblly', `bblly', `bburx' and `bbury'\MessageBreak
- are not supported by pdftex driver:\MessageBreak
- use `viewport' instead%
- }\@ehc
-}
-\let\KV@Gin@bblly\KV@Gin@bbllx
-\let\KV@Gin@bburx\KV@Gin@bbllx
-\let\KV@Gin@bbury\KV@Gin@bbllx
-\def\KV@Gin@bb{%
- \PackageInfo{pdftex.def}
- {Option `bb' equivalent to `viewport` with pdftex driver}%
- \KV@Gin@viewport
+\AtBeginDocument{%
+ \def\KV@Gin@bbllx{%
+ \PackageError{pdftex.def}{%
+ Options `bblly', `bblly', `bburx' and `bbury'\MessageBreak
+ are not supported by pdftex driver:\MessageBreak
+ use `viewport' instead%
+ }\@ehc
+ }%
+ \let\KV@Gin@bblly\KV@Gin@bbllx
+ \let\KV@Gin@bburx\KV@Gin@bbllx
+ \let\KV@Gin@bbury\KV@Gin@bbllx
+ \def\KV@Gin@bb{%
+ \PackageInfo{pdftex.def}%
+ {Option `bb' equivalent to `viewport' with pdftex driver}%
+ \KV@Gin@viewport
+ }%
}
\def\Gread@pdftex#1{%
\expandafter\ifx\expandafter\relax\pdffilesize{#1}\relax