[latex3-commits] [git/LaTeX3-latex3-l3build] master: Correct treatment of texmfdir when typesetting (9f5ebab)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Sep 28 20:12:19 CEST 2019


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

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

commit 9f5ebab48bca0ecb261d8c16a22be8e566ca2782
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Sep 28 19:12:19 2019 +0100

    Correct treatment of texmfdir when typesetting


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

9f5ebab48bca0ecb261d8c16a22be8e566ca2782
 CHANGELOG.md            | 4 ++++
 l3build-typesetting.lua | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 09a8b1a..d1567f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Fixed
+
+- Typesetting when using an isolated system (use of texmfdir)
+
 ## [2019-09-25]
 
 ### Added
diff --git a/l3build-typesetting.lua b/l3build-typesetting.lua
index 8e5b17b..7c06403 100644
--- a/l3build-typesetting.lua
+++ b/l3build-typesetting.lua
@@ -67,8 +67,7 @@ function runcmd(cmd,dir,vars)
   if texmfdir and texmfdir ~= "" then
     localtexmf = os_pathsep .. abspath(texmfdir) .. "//"
   end
-  local envpaths = "." .. os_pathsep
-    .. localtexmf
+  local envpaths = "." .. localtexmf .. os_pathsep
     .. abspath(localdir) .. os_pathsep
     .. dir .. (typesetsearch and os_pathsep or "")
   -- Deal with spaces in paths





More information about the latex3-commits mailing list