[latex3-commits] [git/LaTeX3-latex3-graphics-def] master: added natwidth, natheight to error message bburx, https://github.com/latex3/latex2e/issues/21 (e5ac523)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Oct 25 22:18:20 CEST 2018


Repository : https://github.com/latex3/graphics-def
On branch  : master
Link       : https://github.com/latex3/graphics-def/commit/e5ac523c5b6bfab84079f03dfd93aac42b0886a3

>---------------------------------------------------------------

commit e5ac523c5b6bfab84079f03dfd93aac42b0886a3
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Oct 25 22:18:20 2018 +0200

    added natwidth, natheight to error message bburx, https://github.com/latex3/latex2e/issues/21


>---------------------------------------------------------------

e5ac523c5b6bfab84079f03dfd93aac42b0886a3
 luatex.def |    7 +++++--
 pdftex.def |    7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/luatex.def b/luatex.def
index c8287ee..84ed110 100644
--- a/luatex.def
+++ b/luatex.def
@@ -128,14 +128,17 @@
 \AtBeginDocument{%
   \def\KV at Gin@bbllx{%
     \PackageError{luatex.def}{%
-      Options `bblly', `bblly', `bburx' and `bbury'\MessageBreak
-      are not supported by luatex driver:\MessageBreak
+      Options `bblly', `bblly', `bburx', `bbury',\MessageBreak
+      `natheight' and `natwidth' are not\MessageBreak
+      supported by luatex driver:\MessageBreak
       use `viewport' instead%
     }\@ehc
   }%
   \let\KV at Gin@bblly\KV at Gin@bbllx
   \let\KV at Gin@bburx\KV at Gin@bbllx
   \let\KV at Gin@bbury\KV at Gin@bbllx
+  \let\KV at Gin@natwidth\KV at Gin@bbllx
+  \let\KV at Gin@natheight\KV at Gin@bbllx
   \def\KV at Gin@bb{%
     \PackageInfo{luatex.def}%
       {Option `bb' equivalent to `viewport' for luatex driver}%
diff --git a/pdftex.def b/pdftex.def
index 3d06443..0c9d2da 100644
--- a/pdftex.def
+++ b/pdftex.def
@@ -142,14 +142,17 @@ E     \else
 \AtBeginDocument{%
   \def\KV at Gin@bbllx{%
     \PackageError{pdftex.def}{%
-      Options `bblly', `bblly', `bburx' and `bbury'\MessageBreak
-      are not supported by pdftex driver:\MessageBreak
+      Options `bblly', `bblly', `bburx', `bbury',\MessageBreak
+      `natheight' and `natwidth' are not\MessageBreak
+      supported by pdftex driver:\MessageBreak
       use `viewport' instead%
     }\@ehc
   }%
   \let\KV at Gin@bblly\KV at Gin@bbllx
   \let\KV at Gin@bburx\KV at Gin@bbllx
   \let\KV at Gin@bbury\KV at Gin@bbllx
+  \let\KV at Gin@natwidth\KV at Gin@bbllx
+  \let\KV at Gin@natheight\KV at Gin@bbllx
   \def\KV at Gin@bb{%
     \PackageInfo{pdftex.def}%
       {Option `bb' equivalent to `viewport' with pdftex driver}%





More information about the latex3-commits mailing list