From 6d2c96f65869539479daf9e8670b5ca5f66c3fd0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 9 Jan 2018 22:36:08 +0000 Subject: graphics-def (9jan18) git-svn-id: svn://tug.org/texlive/trunk@46267 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/graphics-def/luatex.def | 32 ++++++++++++---------- .../texmf-dist/tex/latex/graphics-def/pdftex.def | 32 ++++++++++++---------- 2 files changed, 34 insertions(+), 30 deletions(-) (limited to 'Master/texmf-dist/tex/latex/graphics-def') 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 -- cgit v1.2.3