From 4abba3d913a7f4857425e6813470cf2918008a33 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 25 Sep 2018 20:32:13 +0000 Subject: context-handlecsv (25sep18) git-svn-id: svn://tug.org/texlive/trunk@48761 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/context/third/handlecsv') diff --git a/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua b/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua index 9d6e265d2e4..c34dc26d975 100644 --- a/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua +++ b/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.lua @@ -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 @@ end 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 -- cgit v1.2.3