From 747dfc2fd42b7dbdc60bb83a91392d4960b1f48e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 28 Nov 2019 03:01:37 +0000 Subject: CTAN sync 201911280301 --- macros/latex/contrib/l3build/CHANGELOG.md | 13 ++++++++++++- macros/latex/contrib/l3build/README.md | 2 +- macros/latex/contrib/l3build/l3build-install.lua | 16 +++++++++++----- macros/latex/contrib/l3build/l3build-stdmain.lua | 4 ++-- macros/latex/contrib/l3build/l3build.1 | 2 +- macros/latex/contrib/l3build/l3build.dtx | 8 ++++---- macros/latex/contrib/l3build/l3build.lua | 2 +- macros/latex/contrib/l3build/l3build.pdf | Bin 704268 -> 704370 bytes 8 files changed, 32 insertions(+), 15 deletions(-) (limited to 'macros/latex/contrib/l3build') diff --git a/macros/latex/contrib/l3build/CHANGELOG.md b/macros/latex/contrib/l3build/CHANGELOG.md index b74e628687..e353de0bed 100644 --- a/macros/latex/contrib/l3build/CHANGELOG.md +++ b/macros/latex/contrib/l3build/CHANGELOG.md @@ -7,6 +7,16 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] +## [2019-11-27] + +### Changed + +- `\ASSERTSTR` no longer needs e-TeX + +### Fixed + +- Installation of files using the `--full` switch + ## [2019-11-01] ### Added @@ -388,7 +398,8 @@ this project uses date-based 'snapshot' version identifiers. - Rationalise short option names: removed `-d`, `-E`, `-r` - Target `cmdcheck`: specific to LaTeX3 kernel work -[Unreleased]: https://github.com/latex3/l3build/compare/2019-11-01...HEAD +[Unreleased]: https://github.com/latex3/l3build/compare/2019-11-27...HEAD +[2019-11-27]: https://github.com/latex3/l3build/compare/2019-11-01...2019-11-27 [2019-11-01]: https://github.com/latex3/l3build/compare/2019-10-02...2019-11-01 [2019-10-02]: https://github.com/latex3/l3build/compare/2019-09-30...2019-10-02 [2019-09-30]: https://github.com/latex3/l3build/compare/2019-09-29...2019-09-30 diff --git a/macros/latex/contrib/l3build/README.md b/macros/latex/contrib/l3build/README.md index d781a521d0..c2331b6ebe 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 LaTeX3 ================================================= -Release 2019-11-01 +Release 2019-11-27 Overview -------- diff --git a/macros/latex/contrib/l3build/l3build-install.lua b/macros/latex/contrib/l3build/l3build-install.lua index 77338b67a0..1007d2ed1b 100644 --- a/macros/latex/contrib/l3build/l3build-install.lua +++ b/macros/latex/contrib/l3build/l3build-install.lua @@ -105,6 +105,10 @@ function uninstall() end function install_files(target,full,dry_run) + + -- Needed so paths are only cleaned out once + local cleanpaths = { } + local function install_files(source,dir,files,subdir) subdir = subdir or moduledir -- For material associated with secondary tools (BibTeX, MakeIndex) @@ -155,8 +159,12 @@ function install_files(target,full,dry_run) if next(filenames) then if not dry_run then for _,path in pairs(paths) do - errorlevel = cleandir(target .. "/" .. path) - if errorlevel ~= 0 then return errorlevel end + local dir = target .. "/" .. path + if not cleanpaths[dir] then + errorlevel = cleandir(dir) + if errorlevel ~= 0 then return errorlevel end + end + cleanpaths[dir] = true end end for _,file in ipairs(filenames) do @@ -164,9 +172,7 @@ function install_files(target,full,dry_run) print("- " .. file) else local path,file = splitpath(file) - local installpath = target .. "/" .. path - mkdir(installpath) - errorlevel = cp(file,sourcepaths[file],installpath) + errorlevel = cp(file,sourcepaths[file],target .. "/" .. path) if errorlevel ~= 0 then return errorlevel end end end diff --git a/macros/latex/contrib/l3build/l3build-stdmain.lua b/macros/latex/contrib/l3build/l3build-stdmain.lua index 668b2d02d0..9123349ee0 100644 --- a/macros/latex/contrib/l3build/l3build-stdmain.lua +++ b/macros/latex/contrib/l3build/l3build-stdmain.lua @@ -93,7 +93,7 @@ target_list = }, install = { - desc = "Installs files into the local textmf tree", + desc = "Installs files into the local texmf tree", func = install }, manifest = @@ -129,7 +129,7 @@ target_list = }, uninstall = { - desc = "Uninstalls files from the local textmf tree", + desc = "Uninstalls files from the local texmf tree", func = uninstall }, unpack= diff --git a/macros/latex/contrib/l3build/l3build.1 b/macros/latex/contrib/l3build/l3build.1 index aa583fe599..4b669b2927 100644 --- a/macros/latex/contrib/l3build/l3build.1 +++ b/macros/latex/contrib/l3build/l3build.1 @@ -1,4 +1,4 @@ -.TH l3build 1 "2019-11-01" +.TH l3build 1 "2019-11-27" .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 2f55c5173d..2c98aa4799 100644 --- a/macros/latex/contrib/l3build/l3build.dtx +++ b/macros/latex/contrib/l3build/l3build.dtx @@ -231,7 +231,7 @@ % }^^A % } % -% \date{Released 2019-11-01} +% \date{Released 2019-11-27} % % \maketitle % \tableofcontents @@ -930,7 +930,7 @@ % \cs{SHOWFILE} (\eTeX{} only) Shows the content of the file given as an % argument. % \item -% \cs{ASSERT} and \cs{ASSERTSTR} (\eTeX{} only) Asserts if the full expansion +% \cs{ASSERT} and \cs{ASSERTSTR} Asserts if the full expansion % of the two required arguments are the same: the \cs{ASSERT} function is % token-based, the \cs{ASSERTSTR} works on a string basis. % \end{itemize} @@ -2306,8 +2306,8 @@ \begingroup \edef\@tempa{#1}% \edef\@tempb{#2}% - \edef\@tempa{\detokenize\expandafter{\@tempa}}% - \edef\@tempb{\detokenize\expandafter{\@tempb}}% + \edef\@tempa{\meaning\@tempa}% + \edef\@tempb{\meaning\@tempb}% \ifx\@tempa\@tempb \TYPE{PASSED}% \else diff --git a/macros/latex/contrib/l3build/l3build.lua b/macros/latex/contrib/l3build/l3build.lua index 48f3ab99d4..ebfe0cef55 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 = "2019-11-01" +release_date = "2019-11-27" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") diff --git a/macros/latex/contrib/l3build/l3build.pdf b/macros/latex/contrib/l3build/l3build.pdf index 27c6e3c918..25e5fb6a4f 100644 Binary files a/macros/latex/contrib/l3build/l3build.pdf and b/macros/latex/contrib/l3build/l3build.pdf differ -- cgit v1.2.3