[latex3-commits] [latex2e-public] r1501 - Store bbox data for reuse

noreply at latex-project.org noreply at latex-project.org
Tue Jun 13 13:09:03 CEST 2017


Author: joseph
Date: 2017-06-13 13:09:03 +0200 (Tue, 13 Jun 2017)
New Revision: 1501

Modified:
   trunk/required/graphics/graphics.dtx
Log:
Store bbox data for reuse


Modified: trunk/required/graphics/graphics.dtx
===================================================================
--- trunk/required/graphics/graphics.dtx	2017-06-11 09:34:41 UTC (rev 1500)
+++ trunk/required/graphics/graphics.dtx	2017-06-13 11:09:03 UTC (rev 1501)
@@ -19,7 +19,7 @@
 %<driver> \ProvidesFile{graphics.drv}
 % \fi
 %         \ProvidesFile{graphics.dtx}
-          [2017/06/01 v1.2a  Standard LaTeX Graphics (DPC,SPQR)]
+          [2017/06/13 v1.2b  Standard LaTeX Graphics (DPC,SPQR)]
 %
 % \iffalse
 %<*driver>
@@ -1380,8 +1380,12 @@
 %     {Wording of error message improved}
 % \changes{v1.0}{1996/05/29}
 %     {Use \cs{@gtempa} not \cs{g at tempa} /2090}
+% \changes{v1.2b}{2017/06/13}
+%     {Stored bounding box data for reuse}
 %    \begin{macrocode}
-  \ifGin at bbox\else
+  \ifGin at bbox
+    \expandafter\xdef\csname #1 bbox\Gread at attr@hash\endcsname{\@gtempa}%
+  \else
     \@latex at error
       {Cannot determine size of graphic in #1 (no BoundingBox)}%
       \@ehc



More information about the latex3-commits mailing list