summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-09-06 03:01:07 +0000
committerNorbert Preining <norbert@preining.info>2023-09-06 03:01:07 +0000
commit30e902c79d7838a9ec84133dec2415eb48968762 (patch)
tree98f80627e917fc91308cdd784a43e58ce7e187f4 /macros/latex/contrib/l3build/l3build.lua
parent42959ab19eab5531850a6067d53d13f777ec160b (diff)
CTAN sync 202309060301
Diffstat (limited to 'macros/latex/contrib/l3build/l3build.lua')
-rwxr-xr-xmacros/latex/contrib/l3build/l3build.lua13
1 files changed, 12 insertions, 1 deletions
diff --git a/macros/latex/contrib/l3build/l3build.lua b/macros/latex/contrib/l3build/l3build.lua
index ffabdcc4b0..66f50e9641 100755
--- a/macros/latex/contrib/l3build/l3build.lua
+++ b/macros/latex/contrib/l3build/l3build.lua
@@ -25,7 +25,7 @@ for those people who are interested.
--]]
-- Version information
-release_date = "2023-07-20"
+release_date = "2023-09-05"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
@@ -117,6 +117,17 @@ if options["epoch"] then
forcedocepoch = true
end
epoch = normalise_epoch(epoch)
+-- LuaTeX needs the `-utc` option
+if next(specialformats) and next(specialformats.latex)
+ and next (specialformats.latex.luatex) then
+ local options = specialformats.latex.luatex.options
+ specialformats.latex.luatex.options = (options and (options .. " ") or "") .. "-utc"
+end
+if next(specialformats) and next(specialformats["latex-dev"])
+ and next (specialformats["latex-dev"].luatex) then
+ local options = specialformats["latex-dev"].luatex.options
+ specialformats["latex-dev"].luatex.options = (options and (options .. " ") or "") .. "-utc"
+end
--
-- Deal with multiple configs for tests