summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/graphics-def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-09 22:36:08 +0000
committerKarl Berry <karl@freefriends.org>2018-01-09 22:36:08 +0000
commit6d2c96f65869539479daf9e8670b5ca5f66c3fd0 (patch)
treed191e063b2528656e235ed44eba05ae9b1662126 /Master/texmf-dist/tex/latex/graphics-def
parent49689c509b0d9266f362a8ff6ed8fe17edb4d380 (diff)
graphics-def (9jan18)
git-svn-id: svn://tug.org/texlive/trunk@46267 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def')
-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