[latex3-commits] [git/LaTeX3-latex3-latex3] master: Check \(pdf)filemoddate is available (49c9c878b)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 20 21:51:47 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/49c9c878bf32da7bbcf50e696e63fd68eff66cf1

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

commit 49c9c878bf32da7bbcf50e696e63fd68eff66cf1
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 20 20:51:47 2019 +0100

    Check \(pdf)filemoddate is available
    
    Eventually, of course, this will go! Roll on TL'19 as the
    minimum engine age.


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

49c9c878bf32da7bbcf50e696e63fd68eff66cf1
 l3kernel/l3candidates.dtx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index c33eec9d2..c70d44073 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -1709,6 +1709,17 @@
       }
   }
   { \cs_new_eq:NN \@@_timestamp:n \tex_filemoddate:D }
+\cs_if_exist:NF \tex_filemoddate:D
+  {
+    \prg_set_conditional:Npnn \file_compare_timestamp:nNn #1#2#3
+      { p , T , F , TF }
+      {
+        \__kernel_msg_expandable_error:nnn
+          { kernel } { primitive-not-available }
+          { \(pdf)filemoddate }
+        \prg_return_false:
+      }
+  }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}





More information about the latex3-commits mailing list