Skip to content

Commit

Permalink
NFC: Adjust whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zauguin authored and josephwright committed Nov 23, 2021
1 parent ff20ff2 commit 05ded41
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions l3build-typesetting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05ded41

Please sign in to comment.