diff options
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r-- | Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv-extra.lua | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/third/handlecsv/t-handlecsv.tex | 29 |
2 files changed, 30 insertions, 1 deletions
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] |