diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def/luatex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/graphics-def/luatex.def | 32 |
1 files changed, 17 insertions, 15 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 |