[latex3-commits] [git/LaTeX3-latex3-luaotfload] v3.15-20200831: add format test to um preamble (c7a126d)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Sep 1 12:05:02 CEST 2020


Repository : https://github.com/latex3/luaotfload
On branch  : v3.15-20200831
Link       : https://github.com/latex3/luaotfload/commit/c7a126deb2596f9e7b6f4668fc308ff0022e14fc

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

commit c7a126deb2596f9e7b6f4668fc308ff0022e14fc
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Sep 1 12:05:02 2020 +0200

    add format test to um preamble


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

c7a126deb2596f9e7b6f4668fc308ff0022e14fc
 testfiles-onlydev/support/umtest-preamble.tex      | 9 +++++++--
 testfiles-onlyrelease/support/umtest-preamble.tex  | 9 +++++++--
 testfiles-unicode-math/support/umtest-preamble.tex | 9 +++++++--
 3 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/testfiles-onlydev/support/umtest-preamble.tex b/testfiles-onlydev/support/umtest-preamble.tex
index 5ea8df9..6265ab8 100644
--- a/testfiles-onlydev/support/umtest-preamble.tex
+++ b/testfiles-onlydev/support/umtest-preamble.tex
@@ -3,8 +3,13 @@
 
 \input{regression-test.tex}
 \documentclass{article}
-\IfFileExists{filehook-ltx.sty}{
-\usepackage{filehook-ltx}}{}
+\makeatletter
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\makeatother
+\IfFormatAtLeastTF{2020/10/01}
+ { 
+   \IfFileExists{filehook-ltx.sty}{
+     \usepackage{filehook-ltx}}{}}{}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \usepackage[enable-debug]{expl3}
diff --git a/testfiles-onlyrelease/support/umtest-preamble.tex b/testfiles-onlyrelease/support/umtest-preamble.tex
index 5ea8df9..6265ab8 100644
--- a/testfiles-onlyrelease/support/umtest-preamble.tex
+++ b/testfiles-onlyrelease/support/umtest-preamble.tex
@@ -3,8 +3,13 @@
 
 \input{regression-test.tex}
 \documentclass{article}
-\IfFileExists{filehook-ltx.sty}{
-\usepackage{filehook-ltx}}{}
+\makeatletter
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\makeatother
+\IfFormatAtLeastTF{2020/10/01}
+ { 
+   \IfFileExists{filehook-ltx.sty}{
+     \usepackage{filehook-ltx}}{}}{}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \usepackage[enable-debug]{expl3}
diff --git a/testfiles-unicode-math/support/umtest-preamble.tex b/testfiles-unicode-math/support/umtest-preamble.tex
index 5ea8df9..6265ab8 100644
--- a/testfiles-unicode-math/support/umtest-preamble.tex
+++ b/testfiles-unicode-math/support/umtest-preamble.tex
@@ -3,8 +3,13 @@
 
 \input{regression-test.tex}
 \documentclass{article}
-\IfFileExists{filehook-ltx.sty}{
-\usepackage{filehook-ltx}}{}
+\makeatletter
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\makeatother
+\IfFormatAtLeastTF{2020/10/01}
+ { 
+   \IfFileExists{filehook-ltx.sty}{
+     \usepackage{filehook-ltx}}{}}{}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \usepackage[enable-debug]{expl3}





More information about the latex3-commits mailing list.