[latex3-commits] [git/LaTeX3-latex3-latex3] master: Enable selective use of epstopdf (3772693)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat May 11 12:34:26 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/377269390769744e25c158a97d3307a76ddeea82

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

commit 377269390769744e25c158a97d3307a76ddeea82
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat May 11 11:27:39 2019 +0100

    Enable selective use of epstopdf


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

377269390769744e25c158a97d3307a76ddeea82
 l3kernel/l3drivers-graphics.dtx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3drivers-graphics.dtx b/l3kernel/l3drivers-graphics.dtx
index e32ed0f..d783d0a 100644
--- a/l3kernel/l3drivers-graphics.dtx
+++ b/l3kernel/l3drivers-graphics.dtx
@@ -253,8 +253,11 @@
      }
     \cs_new_protected:Npn \@@_graphics_getbb_eps:nn #1#2
       {
-        \sys_shell_now:n
-          { repstopdf ~ #2 ~ #1 }
+        \file_timestamp_compare:nNnT {#2} > {#1}
+          {
+            \sys_shell_now:n
+              { repstopdf ~ #2 ~ #1 }
+          }
         \driver_graphics_getbb_pdf:n {#1}
       }
     \cs_new_protected:Npn \driver_graphics_include_eps:n #1





More information about the latex3-commits mailing list