summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-09-08 03:02:30 +0000
committerNorbert Preining <norbert@preining.info>2023-09-08 03:02:30 +0000
commit608e422a8e775ac4d1c23c80b4170776701680d5 (patch)
treed1e69057c0dc339fb0f890882f5fef9fe3b3a66f /macros/latex/contrib/l3build
parent96f1d7a9e9fe6e682cbd19d1bf2b7797891160b6 (diff)
CTAN sync 202309080302
Diffstat (limited to 'macros/latex/contrib/l3build')
-rw-r--r--macros/latex/contrib/l3build/CHANGELOG.md9
-rw-r--r--macros/latex/contrib/l3build/README.md2
-rw-r--r--macros/latex/contrib/l3build/l3build-check.lua3
-rw-r--r--macros/latex/contrib/l3build/l3build.12
-rw-r--r--macros/latex/contrib/l3build/l3build.dtx3
-rwxr-xr-xmacros/latex/contrib/l3build/l3build.lua25
-rw-r--r--macros/latex/contrib/l3build/l3build.pdfbin744734 -> 744608 bytes
7 files changed, 30 insertions, 14 deletions
diff --git a/macros/latex/contrib/l3build/CHANGELOG.md b/macros/latex/contrib/l3build/CHANGELOG.md
index e23a7764f9..7c6c7f83c4 100644
--- a/macros/latex/contrib/l3build/CHANGELOG.md
+++ b/macros/latex/contrib/l3build/CHANGELOG.md
@@ -7,6 +7,12 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+## [2023-09-07]
+
+### Changed
+- Refine `-utc` support
+- Apply `checkopts` in addition to engine-specific options
+
## [2023-09-05]
### Changed
@@ -691,7 +697,8 @@ this project uses date-based 'snapshot' version identifiers.
- Rationalise short option names: removed `-d`, `-E`, `-r`
- Target `cmdcheck`: specific to LaTeX kernel work
-[Unreleased]: https://github.com/latex3/l3build/compare/2023-09-05...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2023-09-07...HEAD
+[2023-09-07]: https://github.com/latex3/l3build/compare/2023-09-05...2023-09-07
[2023-09-05]: https://github.com/latex3/l3build/compare/2023-07-20...2023-09-05
[2023-07-20]: https://github.com/latex3/l3build/compare/2023-07-17...2023-07-20
[2023-07-17]: https://github.com/latex3/l3build/compare/2023-03-27...2023-07-17
diff --git a/macros/latex/contrib/l3build/README.md b/macros/latex/contrib/l3build/README.md
index 779c91cad9..825c32f55b 100644
--- a/macros/latex/contrib/l3build/README.md
+++ b/macros/latex/contrib/l3build/README.md
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX
=================================================
-Release 2023-09-05
+Release 2023-09-07
Overview
--------
diff --git a/macros/latex/contrib/l3build/l3build-check.lua b/macros/latex/contrib/l3build/l3build-check.lua
index 3f1f5d5542..3e26de429b 100644
--- a/macros/latex/contrib/l3build/l3build-check.lua
+++ b/macros/latex/contrib/l3build/l3build-check.lua
@@ -753,7 +753,8 @@ function runtest(name, engine, hide, ext, test_type, breakout)
if engine_info then
binary = engine_info.binary or binary
format = engine_info.format or format
- checkopts = engine_info.options or checkopts
+ checkopts = (engine_info.options
+ and (checkopts .. " " .. engine_info.options)) or checkopts
tokens = engine_info.tokens and (' "' .. engine_info.tokens .. '" ')
or tokens
end
diff --git a/macros/latex/contrib/l3build/l3build.1 b/macros/latex/contrib/l3build/l3build.1
index 941958d57f..87dbac2ce3 100644
--- a/macros/latex/contrib/l3build/l3build.1
+++ b/macros/latex/contrib/l3build/l3build.1
@@ -1,4 +1,4 @@
-.TH l3build 1 "2023-09-05"
+.TH l3build 1 "2023-09-07"
.SH NAME
l3build \- Checking and building packages
.SH SYNOPSIS
diff --git a/macros/latex/contrib/l3build/l3build.dtx b/macros/latex/contrib/l3build/l3build.dtx
index 0ca5366d81..d8778fcce7 100644
--- a/macros/latex/contrib/l3build/l3build.dtx
+++ b/macros/latex/contrib/l3build/l3build.dtx
@@ -251,7 +251,7 @@
% }^^A
% }
%
-% \date{Released 2023-09-05}
+% \date{Released 2023-09-07}
%
% \maketitle
% \tableofcontents
@@ -437,6 +437,7 @@
% To perform the check, the engine typesets each test up to \var{checkruns} times.
% More detail on this in the documentation on |save|.
% Options passed to the binary are defined in the variable \var{checkopts}.
+% These are applied in addition to any
%
% By default, |texmf| trees are searched for input files when checking. This can be disabled by setting \var{checksearch} to |false|: isolation provides confidence that the tests cannot accidentally be running with incorrect files installed in the main distribution or |hometexmf|.
%
diff --git a/macros/latex/contrib/l3build/l3build.lua b/macros/latex/contrib/l3build/l3build.lua
index 66f50e9641..1ac608c971 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-09-05"
+release_date = "2023-09-07"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
@@ -118,15 +118,22 @@ if options["epoch"] then
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"
+if forcecheckepoch then
+ 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
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"
+if forcedocepoch then
+ if match(typesetexe,"luatex") or match(typesetexe,"lualatex") then
+ typesetopts = typsetopts .. " -utc"
+ end
end
--
diff --git a/macros/latex/contrib/l3build/l3build.pdf b/macros/latex/contrib/l3build/l3build.pdf
index ac44c0e0ce..e713477fca 100644
--- a/macros/latex/contrib/l3build/l3build.pdf
+++ b/macros/latex/contrib/l3build/l3build.pdf
Binary files differ