texlive[41466] Master/texmf-dist/tex/lualatex/luatex-def/luatex.def:

commits+preining at tug.org commits+preining at tug.org
Fri Jun 17 12:13:04 CEST 2016


Revision: 41466
          http://tug.org/svn/texlive?view=revision&revision=41466
Author:   preining
Date:     2016-06-17 12:13:04 +0200 (Fri, 17 Jun 2016)
Log Message:
-----------
luatex-def (17Jun)

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/lualatex/luatex-def/luatex.def

Modified: trunk/Master/texmf-dist/tex/lualatex/luatex-def/luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luatex-def/luatex.def	2016-06-17 10:00:58 UTC (rev 41465)
+++ trunk/Master/texmf-dist/tex/lualatex/luatex-def/luatex.def	2016-06-17 10:13:04 UTC (rev 41466)
@@ -1,4 +1,4 @@
-\ProvidesFile{luatex.def}[2016/06/04 v0.01d Graphics/Color for luaTeX]
+\ProvidesFile{luatex.def}[2016/06/17 v0.01e Graphics/Color for luaTeX]
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%
 %% LaTeX Colour and Graphics support for luatex
@@ -60,6 +60,7 @@
 % 2016/01/23 Version 0.01b Moved to latex3 github, documentation changes
 % 2016/05/21 Version 0.01c fix for graphics/4472
 % 2016/06/24 Version 0.01d support the (no)setpagesize option.
+% 2016/06/17 Version 0.01e guards for contributed packages and plain TeX
 %
 % Prefix of internal commands for this file `pdftex.def':
 % \GPT@ (Graphics bundle PdfTex driver, even though this is for luatex)
@@ -107,9 +108,13 @@
   }\@ehc
   \outputmode=1 %
 \fi
-
+\@ifundefined{ifGin at setpagesize}
+  {\expandafter\let\csname ifGin at setpagesize\expandafter\endcsname
+                    \csname iftrue\endcsname}
+  {}
 \ifGin at setpagesize
-  \AtBeginDocument{%
+\ifx\paperwidth\@undefined\else
+\AtBeginDocument{%
 \ltx at IfUndefined{stockwidth}{%
   \ltx at IfUndefined{paperwidth}{%
   }{%
@@ -130,6 +135,7 @@
 }%
 }
 \fi
+\fi
 
 % Colour Support. The following models may be used.
 %   * cmyk   supported directly.



More information about the tex-live-commits mailing list