[latex3-commits] [git/LaTeX3-latex3-l3build] master: Internal correct for typesetpdf() function (d447132)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jun 24 20:41:40 CEST 2019


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/d4471328b91a96fbbe89d051f99f0487892b3366

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

commit d4471328b91a96fbbe89d051f99f0487892b3366
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jun 24 19:39:45 2019 +0100

    Internal correct for typesetpdf() function


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

d4471328b91a96fbbe89d051f99f0487892b3366
 l3build-typesetting.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3build-typesetting.lua b/l3build-typesetting.lua
index 6ce80cd..3eb6452 100644
--- a/l3build-typesetting.lua
+++ b/l3build-typesetting.lua
@@ -1,6 +1,6 @@
 --[[
 
-File l3build-typesetting.lua Copyright (C) 2018 The LaTeX3 Project
+File l3build-typesetting.lua Copyright (C) 2018,2019 The LaTeX3 Project
 
 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -153,7 +153,7 @@ function typesetpdf(file, dir)
   local errorlevel = typeset(file, dir)
   if errorlevel == 0 then
     name = name .. ".pdf"
-    os.remove(jobname(name))
+    rm(docfiledir,name)
     cp(name, typesetdir, docfiledir)
   else
     print(" ! Compilation failed")





More information about the latex3-commits mailing list