[latex3-commits] [git/LaTeX3-latex3-latex2e] LaTeX2020: Pass jobname correctly to typesetting (9eca945f)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Oct 13 22:40:01 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : LaTeX2020
Link : https://github.com/latex3/latex2e/commit/9eca945f3f9b0b71ca891854130b144c9625424a
>---------------------------------------------------------------
commit 9eca945f3f9b0b71ca891854130b144c9625424a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Oct 13 20:47:28 2019 +0100
Pass jobname correctly to typesetting
This shows up as expl3 needs to use \jobname in
the \everyjob hook.
Probably an adjustment to l3build is appropriate.
>---------------------------------------------------------------
9eca945f3f9b0b71ca891854130b144c9625424a
build-config.lua | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/build-config.lua b/build-config.lua
index 5d15d4e9..a088c8d6 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -43,15 +43,12 @@ typesetsuppfiles = typesetsuppfiles or
{"color.cfg", "graphics.cfg", "ltxdoc.cfg", "ltxguide.cfg"}
-- Ensure the local format file is used
-typesetexe = 'pdftex -interaction=nonstopmode "&pdflatex"'
-typesetopts = ""
-
--- Force finding the format file
function tex(file,dir)
local dir = dir or "."
- return runcmd(typesetexe .. " " .. typesetopts .. " \"" .. typesetcmds
- .. "\\input " .. file .. "\"",
- dir,{"TEXINPUTS","TEXFORMATS"})
+ return runcmd(
+ 'pdftex -fmt=pdflatex -interaction=nonstopmode -jobname="' ..
+ string.match(file,"^[^.]*") .. '" "\\input ' .. file .. '"',
+ dir,{"TEXINPUTS","TEXFORMATS","LUAINPUTS"})
end
-- Build TDS-style zips
More information about the latex3-commits
mailing list