[tex4ht-commits] [SCM] tex4ht updated: r501 - trunk/web

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Jan 22 00:04:55 CET 2019


Author: michal_h21
Date: 2019-01-22 01:04:55 +0200 (Tue, 22 Jan 2019)
New Revision: 501

Modified:
   trunk/web/changelog-parse.lua
Log:
Make the number of parsed entries configurable

Modified: trunk/web/changelog-parse.lua
===================================================================
--- trunk/web/changelog-parse.lua	2019-01-21 22:50:11 UTC (rev 500)
+++ trunk/web/changelog-parse.lua	2019-01-21 23:04:55 UTC (rev 501)
@@ -51,7 +51,7 @@
 -- initialize variables
 local pos = 0
 local entry, entries = nil, {}
-local news_entries = 5 -- number of printed changelog entries
+local news_entries = tonumber(arg[1]) or 2 -- number of printed changelog entries
 
 
 -- parse changelog



More information about the tex4ht-commits mailing list