From b582de0e9fbaac52dd1c00e7f6b4a8397095c40e Mon Sep 17 00:00:00 2001 From: "Clea F. Rees" Date: Sat, 9 Nov 2024 05:18:14 +0000 Subject: [PATCH] print slightly more info from fontinst.lua; +ly1enc.def -> supp files --- checksuppfiles-add.lst | 1 + fontinst.lua | 18 +++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/checksuppfiles-add.lst b/checksuppfiles-add.lst index 11fd9d6..7c25f41 100644 --- a/checksuppfiles-add.lst +++ b/checksuppfiles-add.lst @@ -2,6 +2,7 @@ article.cls etoolbox.sty fontenc.sty fonttable.sty +ly1enc.def ly1enc.dfu ly1lmr.fd ly1lmss.fd diff --git a/fontinst.lua b/fontinst.lua index 474d0d6..6b39cdf 100644 --- a/fontinst.lua +++ b/fontinst.lua @@ -1,4 +1,4 @@ --- $Id: fontinst.lua 10593 2024-11-09 03:44:06Z cfrees $ +-- $Id: fontinst.lua 10595 2024-11-09 05:16:38Z cfrees $ ------------------------------------------------- ------------------------------------------------- -- copy non-public things from l3build @@ -662,29 +662,33 @@ function checkinit_hook () gwall("Copying ",i,errorlevel) end end - if #checksuppfiles_add == 0 then - checksuppfiles_add = { "svn-prov.sty", "fonttable.sty", "etoolbox.sty" } - end if #checksuppfiles_sys == 0 then - -- if checksuppfiles_sys == nil then print("Assuming some basic files should be available during testing.\n") if fileexists(adds) then + print("Adding files from " ... adds .. " to file list.\n") for line in io.lines(adds) do table.insert(checksuppfiles_sys,line) end end + print("Adding files from /tex/latex/l3build to file list.\n") local path = kpse.var_value("TEXMFDIST") .. "/tex/latex/l3build" checksuppfiles_sys = lsrdir(path,checksuppfiles_sys) + print("Adding files from /tex/latex/l3backend to file list.\n") path = kpse.var_value("TEXMFDIST") .. "/tex/latex/l3backend" checksuppfiles_sys = lsrdir(path,checksuppfiles_sys) + print("Adding files from /tex/latex/lm to file list.\n") path = kpse.var_value("TEXMFDIST") .. "/tex/latex/lm" -- checksuppfiles_sys = lsrdir(path,checksuppfiles_sys) -- path = kpse.var_value("TEXMFDIST") .. "/fonts" checksuppfiles_sys = lsrdir(path,checksuppfiles_sys) - for _,i in ipairs(checksuppfiles_add) do - table.insert(checksuppfiles_sys,i) + if #checksuppfiles_add ~= 0 then + for _,i in ipairs(checksuppfiles_add) do + print("Adding " .. i .. " to file list.\n") + table.insert(checksuppfiles_sys,i) + end end end + print("Copying system files to " .. testdir .. ".\n") for _,j in ipairs(checksuppfiles_sys) do local jpath = kpse.find_file(j) local jdir = dirname(jpath)