[latex3-commits] [git/LaTeX3-latex3-luaotfload] docutils-test-dev: Auto detect if .py is necessary (5922680)

Marcel Fabian Krüger tex at 2krueger.de
Sat Sep 14 02:37:27 CEST 2019


Repository : https://github.com/latex3/luaotfload
On branch  : docutils-test-dev
Link       : https://github.com/latex3/luaotfload/commit/59226805facc44c30a55c6b580388bfc301f713f

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

commit 59226805facc44c30a55c6b580388bfc301f713f
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Sep 14 02:37:27 2019 +0200

    Auto detect if .py is necessary
    
    Does this work on windows?


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

59226805facc44c30a55c6b580388bfc301f713f
 build.lua | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.lua b/build.lua
index 111b9ef..aec1540 100644
--- a/build.lua
+++ b/build.lua
@@ -208,19 +208,19 @@ tagfiles = {
 
 function typeset_demo_tasks()
  local errorlevel = 0
- errorlevel = run (docfiledir,"rst2man luaotfload.conf.rst luaotfload.conf.5")
+ errorlevel = run (docfiledir,'"$(command -v rst2man || command -v rst2man.py)" luaotfload.conf.rst luaotfload.conf.5')
  if errorlevel ~= 0 then
         return errorlevel
  end
- errorlevel = run (docfiledir,"rst2man luaotfload-tool.rst luaotfload-tool.1")
+ errorlevel = run (docfiledir,'"$(command -v rst2man || command -v rst2man.py)" luaotfload-tool.rst luaotfload-tool.1')
  if errorlevel ~= 0 then
         return errorlevel
  end
- errorlevel= run (typesetdir,"rst2xetex luaotfload.conf.rst luaotfload-conf.tex")
+ errorlevel= run (typesetdir,'"$(command -v rst2xetex || command -v rst2xetex.py)" luaotfload.conf.rst luaotfload-conf.tex')
  if errorlevel ~= 0 then
         return errorlevel
  end
- errorlevel=run (typesetdir,"rst2xetex luaotfload-tool.rst luaotfload-tool.tex")
+ errorlevel=run (typesetdir,'"$(command -v rst2xetex || command -v rst2xetex.py)" luaotfload-tool.rst luaotfload-tool.tex')
  if errorlevel ~= 0 then
         return errorlevel
  end





More information about the latex3-commits mailing list