[tex4ht-commits] [SCM] tex4ht updated: r737 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Wed Jun 10 23:08:23 CEST 2020
Author: michal_h21
Date: 2020-06-11 00:08:22 +0300 (Thu, 11 Jun 2020)
New Revision: 737
Modified:
trunk/lit/ChangeLog
trunk/lit/checklog.lua
Log:
pass the log file name to log parsing function
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2020-06-07 21:28:15 UTC (rev 736)
+++ trunk/lit/ChangeLog 2020-06-10 21:08:22 UTC (rev 737)
@@ -1,3 +1,7 @@
+2020-06-10 Michal Hoftich <michal.h21 at gmail.com>
+
+ * checklog.lua: pass checked log file name to the log parser function.
+
2020-06-07 Karl Berry <karl at freefriends.org>
* Makefile (tex4ht_fonts_modern_derived): evidently lm-htf.tex
Modified: trunk/lit/checklog.lua
===================================================================
--- trunk/lit/checklog.lua 2020-06-07 21:28:15 UTC (rev 736)
+++ trunk/lit/checklog.lua 2020-06-10 21:08:22 UTC (rev 737)
@@ -9,7 +9,7 @@
-- the following library is part of make4ht
local error_logparser = require("make4ht-errorlogparser")
-local function parse_log(content)
+local function parse_log(input_file, content)
-- log parsing can be expensive on time, don't do it if we don't have
-- any error message in the log file
if content:match("\n!") then
@@ -39,7 +39,7 @@
local f = io.open(input_file, "r")
content = f:read("*all")
f:close()
- parse_log(content)
+ parse_log(input_file, content)
end
else
-- read from STDIN
More information about the tex4ht-commits
mailing list.