[latex3-commits] [git/LaTeX3-latex3-l3build] main: Fix epoch setting with `dvitopdf()` (fca19ab)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Feb 20 17:52:25 CET 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/fca19abddea48a9f985ca155aacb8f860d449235

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

commit fca19abddea48a9f985ca155aacb8f860d449235
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Mon Feb 20 21:32:38 2023 +0800

    Fix epoch setting with `dvitopdf()`


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

fca19abddea48a9f985ca155aacb8f860d449235
 CHANGELOG.md            | 3 +++
 l3build-check.lua       | 2 +-
 l3build-typesetting.lua | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index eda72d0..aaf0fdf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+- Restore epoch settings for `dvitopdf()`
+
 ## [2023-02-20]
 
 ### Changed
diff --git a/l3build-check.lua b/l3build-check.lua
index b77a7e2..8c3afa4 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -791,7 +791,7 @@ function runtest(name, engine, hide, ext, test_type, breakout)
         .. (checksearch and os_pathsep or "")
         .. os_concat ..
       -- ensure epoch settings
-        set_epoch_cmd(epoch, forcecheckepoch) ..  
+      set_epoch_cmd(epoch, forcecheckepoch) ..
       -- Ensure lines are of a known length
       os_setenv .. " max_print_line=" .. maxprintline
         .. os_concat ..
diff --git a/l3build-typesetting.lua b/l3build-typesetting.lua
index 7f5327b..1c77b9b 100644
--- a/l3build-typesetting.lua
+++ b/l3build-typesetting.lua
@@ -57,6 +57,7 @@ end
 
 function dvitopdf(name, dir, engine, hide)
   runcmd(
+    set_epoch_cmd(epoch, forcecheckepoch) ..
     "dvips " .. name .. dviext
       .. (hide and (" > " .. os_null) or "")
       .. os_concat ..





More information about the latex3-commits mailing list.