[latex3-commits] [git/LaTeX3-latex3-l3build] gh210: NFC: Adjust whitespace (e5a7896)

Marcel Fabian Krüger tex at 2krueger.de
Mon Nov 22 22:54:43 CET 2021


Repository : https://github.com/latex3/l3build
On branch  : gh210
Link       : https://github.com/latex3/l3build/commit/e5a7896b1dfa86f5d4f4bb8e895de019343e312b

>---------------------------------------------------------------

commit e5a7896b1dfa86f5d4f4bb8e895de019343e312b
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Nov 22 22:49:10 2021 +0100

    NFC: Adjust whitespace


>---------------------------------------------------------------

e5a7896b1dfa86f5d4f4bb8e895de019343e312b
 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.