[latex3-commits] [git/LaTeX3-latex3-latex2e] textcomp: try with shortened log (3b846993)
Frank Mittelbach
frank.mittelbach at latex-project.org
Wed Nov 6 12:16:58 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : textcomp
Link : https://github.com/latex3/latex2e/commit/3b84699323f463dd612fa655588533862f72d6d7
>---------------------------------------------------------------
commit 3b84699323f463dd612fa655588533862f72d6d7
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Nov 6 12:16:58 2019 +0100
try with shortened log
>---------------------------------------------------------------
3b84699323f463dd612fa655588533862f72d6d7
build-config.lua | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/build-config.lua b/build-config.lua
index a088c8d6..254c6d16 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -225,3 +225,28 @@ function checkinit_hook()
end
function docinit_hook() return fmt({"pdftex"},typesetdir) end
+
+-- Somewhat shorten the log
+local function shorttex(file,dir)
+ local dir = dir or "."
+ return runcmd('pdftex -interaction=batchmode "&pdflatex" "' .. typesetcmds
+ .. "\\input " .. file .. "\"",
+ dir,{"TEXINPUTS","TEXFORMATS"})
+end
+
+function typeset(file,dir)
+ dir = dir or "."
+ local name = jobname(file)
+ local errorlevel = tex(file,dir)
+ if errorlevel ~= 0 then
+ return errorlevel
+ end
+ for i = 2,typesetruns - 1 do
+ errorlevel =
+ makeindex(name,dir,".glo",".gls",".glg",glossarystyle) +
+ makeindex(name,dir,".idx",".ind",".ilg",indexstyle) +
+ shorttex(file,dir)
+ if errorlevel ~= 0 then return errorlevel end
+ end
+ return tex(file,dir)
+end
More information about the latex3-commits
mailing list