[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev, master: adapt to next ctan upload, change version (8448c26)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sat Sep 14 16:17:50 CEST 2019
Repository : https://github.com/latex3/luaotfload
On branches: dev,master
Link : https://github.com/latex3/luaotfload/commit/8448c26b31e6ab43cf41a87402352cae65574127
>---------------------------------------------------------------
commit 8448c26b31e6ab43cf41a87402352cae65574127
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Sep 14 16:17:50 2019 +0200
adapt to next ctan upload, change version
>---------------------------------------------------------------
8448c26b31e6ab43cf41a87402352cae65574127
build.lua | 67 ++++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 36 insertions(+), 31 deletions(-)
diff --git a/build.lua b/build.lua
index 111b9ef..4fd6351 100644
--- a/build.lua
+++ b/build.lua
@@ -1,7 +1,8 @@
-packageversion= "3.002-dev"
-packagedate = "2019-08-11"
-packagedesc = "ignorable"
+packageversion= "3.00"
+packagedate = "2019-09-13"
+fontloaderdate= "2019-08-11"
+packagedesc = "ctan"
checkformat = "latex"
module = "luaotfload"
@@ -155,12 +156,6 @@ typesetdemofiles =
---------------------
-if options["target"] == "check" or options["target"] == "save" then
- print("check/save")
- installfiles ={}
- sourcefiles ={}
- unpackfiles ={}
-else
sourcefiles =
{
"luaotfload.sty",
@@ -178,7 +173,7 @@ else
"**/fontloader-*.lua",
"**/fontloader-*.tex",
}
-end
+
tdslocations=
{
"source/luatex/luaotfload/fontloader-reference-load-order.lua",
@@ -206,26 +201,36 @@ tagfiles = {
"testfiles/aaaaa-luakern.tlg"
}
-function typeset_demo_tasks()
- local errorlevel = 0
- errorlevel = run (docfiledir,"rst2man luaotfload.conf.rst luaotfload.conf.5")
- if errorlevel ~= 0 then
- return errorlevel
- end
- errorlevel = run (docfiledir,"rst2man luaotfload-tool.rst luaotfload-tool.1")
- if errorlevel ~= 0 then
- return errorlevel
- end
- errorlevel= run (typesetdir,"rst2xetex luaotfload.conf.rst luaotfload-conf.tex")
- if errorlevel ~= 0 then
- return errorlevel
- end
- errorlevel=run (typesetdir,"rst2xetex luaotfload-tool.rst luaotfload-tool.tex")
- if errorlevel ~= 0 then
- return errorlevel
- end
- return 0
-end
+ -- windows/UF
+ function typeset_demo_tasks()
+ local errorlevel = 0
+ local pyextension
+ if os.type == "windows" then
+ pyextension = ".py"
+ else
+ pyextension = ""
+ end
+ local rst2man = "rst2man" .. pyextension
+ local rst2xetex = "rst2xetex" .. pyextension
+ errorlevel = run (docfiledir, rst2man .." luaotfload.conf.rst luaotfload.conf.5")
+ if errorlevel ~= 0 then
+ return errorlevel
+ end
+ errorlevel = run (docfiledir, rst2man .." luaotfload-tool.rst luaotfload-tool.1")
+ if errorlevel ~= 0 then
+ return errorlevel
+ end
+ errorlevel= run (typesetdir, rst2xetex .. " luaotfload.conf.rst luaotfload-conf.tex")
+ if errorlevel ~= 0 then
+ return errorlevel
+ end
+ errorlevel=run (typesetdir, rst2xetex .. " luaotfload-tool.rst luaotfload-tool.tex")
+ if errorlevel ~= 0 then
+ return errorlevel
+ end
+ return 0
+ end
+
local function lpeggsub(pattern)
return lpeg.Cs(lpeg.P{pattern + (1 * (lpeg.V(1) + -1))}^0)
@@ -247,7 +252,7 @@ local imgpackagedatepat = lpeg.Cg( -- Date: YYYY--MM--DD
* lpeg.Cc(string.gsub(packagedate, '-', '--')))
local xxxpackagedatepat = lpeg.Cg( -- Date: YYYYxxxMMxxxDD
lpegrep(digit, 4) * lpegrep('xxx' * digit * digit, 2)
- * lpeg.Cc(string.gsub(packagedate, '-', 'xxx')))
+ * lpeg.Cc(string.gsub(fontloaderdate, '-', 'xxx')))
local packageversionpat = lpeg.Cg( -- Version: M.mmmm-dev
digit * '.' * digit^1 * lpeg.P'-dev'^-1
* lpeg.Cc(packageversion))
More information about the latex3-commits
mailing list