[latex3-commits] [git/LaTeX3-latex3-l3build] gh210: NFC: Adjust whitespace (b9c813a)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Nov 23 09:08:33 CET 2021
Repository : https://github.com/latex3/l3build
On branch : gh210
Link : https://github.com/latex3/l3build/commit/b9c813ad34169709d9a9f1cffe98cab040e18c09
>---------------------------------------------------------------
commit b9c813ad34169709d9a9f1cffe98cab040e18c09
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon Nov 22 22:49:10 2021 +0100
NFC: Adjust whitespace
>---------------------------------------------------------------
b9c813ad34169709d9a9f1cffe98cab040e18c09
l3build-typesetting.lua | 42 +++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/l3build-typesetting.lua b/l3build-typesetting.lua
index f980578..1d44a2b 100644
--- a/l3build-typesetting.lua
+++ b/l3build-typesetting.lua
@@ -211,32 +211,32 @@ function doc(files)
local done = {}
for _,typesetfiles in ipairs({typesetdemofiles,typesetfiles}) do
for _,glob in pairs(typesetfiles) do
- for _,p in ipairs(tree(typesetdir,glob)) do
- local path,srcname = splitpath(p.cwd)
- local name = jobname(srcname)
- if not done[name] then
- local typeset = true
- -- Allow for command line selection of files
- if files and next(files) then
- typeset = false
- for _,file in pairs(files) do
- if name == file then
- typeset = true
- break
- end
+ for _,p in ipairs(tree(typesetdir,glob)) do
+ local path,srcname = splitpath(p.cwd)
+ local name = jobname(srcname)
+ if not done[name] then
+ local typeset = true
+ -- Allow for command line selection of files
+ if files and next(files) then
+ typeset = false
+ for _,file in pairs(files) do
+ if name == file then
+ typeset = true
+ break
end
end
- -- Now know if we should typeset this source
- if typeset then
- errorlevel = typesetpdf(srcname,path)
- if errorlevel ~= 0 then
- return errorlevel
- else
- done[name] = true
- end
+ end
+ -- Now know if we should typeset this source
+ if typeset then
+ errorlevel = typesetpdf(srcname,path)
+ if errorlevel ~= 0 then
+ return errorlevel
+ else
+ done[name] = true
end
end
end
+ end
end
end
return 0
More information about the latex3-commits
mailing list.