texlive[48761] Master/texmf-dist: context-handlecsv (25sep18)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 25 22:32:13 CEST 2018
Revision: 48761
http://tug.org/svn/texlive?view=revision&revision=48761
Author: karl
Date: 2018-09-25 22:32:13 +0200 (Tue, 25 Sep 2018)
Log Message:
-----------
context-handlecsv (25sep18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/context/third/handlecsv/VERSION
trunk/Master/texmf-dist/doc/context/third/handlecsv/handlecsv.epub
trunk/Master/texmf-dist/doc/context/third/handlecsv/handlecsv.pdf
trunk/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua
Modified: trunk/Master/texmf-dist/doc/context/third/handlecsv/VERSION
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/handlecsv/VERSION 2018-09-25 20:26:54 UTC (rev 48760)
+++ trunk/Master/texmf-dist/doc/context/third/handlecsv/VERSION 2018-09-25 20:32:13 UTC (rev 48761)
@@ -1 +1 @@
-2018.04.07
+2018.09.24
Modified: trunk/Master/texmf-dist/doc/context/third/handlecsv/handlecsv.epub
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/context/third/handlecsv/handlecsv.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua
===================================================================
--- trunk/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua 2018-09-25 20:26:54 UTC (rev 48760)
+++ trunk/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua 2018-09-25 20:32:13 UTC (rev 48761)
@@ -1,6 +1,6 @@
-- %D \module
-- %D [ file=t-handlecsv.lua,
--- %D version=2018.02.26,
+-- %D version=2018.09.24,
-- %D title=HandleCSV module,
-- %D subtitle=CSV file handling,
-- %D author=Jaroslav Hajtmar,
@@ -796,7 +796,9 @@
function thirddata.handlecsv.linepointer()
local csvfile=thirddata.handlecsv.getcurrentcsvfilename()
- return thirddata.handlecsv.gCurrentLinePointer[csvfile]
+ -- return thirddata.handlecsv.gCurrentLinePointer[csvfile] -- cause problem with decimal point for higher versions of Lua
+ -- return math.tointeger(thirddata.handlecsv.gCurrentLinePointer[csvfile]) -- cause incompatibility for lower version of Lua
+ return math.floor(tonumber(thirddata.handlecsv.gCurrentLinePointer[csvfile])) -- compatible with lower and higher versions of Lua
end
More information about the tex-live-commits
mailing list