summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-09 21:13:49 +0000
committerKarl Berry <karl@freefriends.org>2018-04-09 21:13:49 +0000
commit732efaaccd26ce1ce2dff31358af3539c8e9c95d (patch)
treed20873e78d2446bd428682b31e91d3493475ce13
parent09892371285b54a48432b38d74ac45a42e551533 (diff)
context-handlecsv (9apr18)
git-svn-id: svn://tug.org/texlive/trunk@47403 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/context/third/handlecsv/VERSION2
-rw-r--r--Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv-extra.lua2
-rw-r--r--Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.tex29
3 files changed, 31 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/context/third/handlecsv/VERSION b/Master/texmf-dist/doc/context/third/handlecsv/VERSION
index ca71517452f..5cb361ff89f 100644
--- a/Master/texmf-dist/doc/context/third/handlecsv/VERSION
+++ b/Master/texmf-dist/doc/context/third/handlecsv/VERSION
@@ -1 +1 @@
-2018.02.26
+2018.04.07
diff --git a/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv-extra.lua b/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv-extra.lua
index 6afcf07b068..f6860e60e8f 100644
--- a/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv-extra.lua
+++ b/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv-extra.lua
@@ -68,7 +68,7 @@ local string2print=[[%
\def\addleading#1#2#3{\ctxlua{context(thirddata.handlecsv.addleadingcharacters('#1','#2','#3'))}}
\def\addzeros#1#2{\ctxlua{context(thirddata.handlecsv.addleadingzeros('#1','#2'))}}
\def\zeroed#1{\ctxlua{context(thirddata.handlecsv.addzeros('#1'))}}
-\def\zeroedlineno{\ctxlua{context(string.rep( "0",(tostring(thirddata.handlecsv.numrows())):len() - (tostring(thirddata.handlecsv.linepointer())):len()) .. thirddata.handlecsv.linepointer())}}% from Pablo
+\def\zeroedlineno{\zeroed{\lineno}}% from Pablo (and simplified by him)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.tex b/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.tex
new file mode 100644
index 00000000000..b7f2a97db38
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.tex
@@ -0,0 +1,29 @@
+%D \module
+%D [ file=t-handlecsv.tex,
+%D version=2018.04.07,
+%D title=HandleCSV module,
+%D subtitle=CSV file handling,
+%D author=Jaroslav Hajtmar,
+%D date=\currentdate,
+%D copyright=Jaroslav Hajtmar,
+%D email=hajtmar@gyza.cz,
+%D license=GNU General Public License]
+%
+%C Copyright (C) 2018 Jaroslav Hajtmar
+%C
+%C This program is free software: you can redistribute it and/or modify
+%C it under the terms of the GNU General Public License as published by
+%C the Free Software Foundation, either version 3 of the License, or
+%C (at your option) any later version.
+%C
+%C This program is distributed in the hope that it will be useful,
+%C but WITHOUT ANY WARRANTY; without even the implied warranty of
+%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%C GNU General Public License for more details.
+%C
+%C You should have received a copy of the GNU General Public License
+%C along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+\usemodule[handlecsv.lua]
+\usemodule[handlecsv-extra.lua]
+\usemodule[handlecsv-tools.lua]