[latex3-commits] [latex2e-public] r1491 - More stuff for pagebox support

noreply at latex-project.org noreply at latex-project.org
Thu Jun 1 22:10:13 CEST 2017


Author: joseph
Date: 2017-06-01 22:10:12 +0200 (Thu, 01 Jun 2017)
New Revision: 1491

Modified:
   trunk/required/graphics/graphics.dtx
Log:
More stuff for pagebox support

We need to be sure that \Gin at pagebox is defined and that the
inital global value is "cropbox".


Modified: trunk/required/graphics/graphics.dtx
===================================================================
--- trunk/required/graphics/graphics.dtx	2017-06-01 15:33:29 UTC (rev 1490)
+++ trunk/required/graphics/graphics.dtx	2017-06-01 20:10:12 UTC (rev 1491)
@@ -1214,6 +1214,15 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\Gin at pagebox}
+% \changes{v1.2a}{2017/06/01}
+%     {New macro}
+% In the standard interface always points to the |cropbox|.
+%    \begin{macrocode}
+\def\Gin at pagebox{cropbox}
+%    \end{macrocode}
+% \end{macro
+%
 % \begin{macro}{\ifGin at interpolate}
 % \changes{v1.2a}{2017/06/01}
 %     {New macro}
@@ -1313,6 +1322,9 @@
 %    \begin{macrocode}
 \def\Gread at generic#1#2{%
   \edef\Gread at attr@hash{%
+    \ifx\Gin at pagebox\@empty\else
+      :\Gin at pagebox
+    \fi
     \ifx\Gin at page\@empty\else
       :P\Gin at page
     \fi



More information about the latex3-commits mailing list