T-F-S / csvsimple

A LaTeX package for lightweight CSV file processing.
http://www.ctan.org/pkg/csvsimple
LaTeX Project Public License v1.3c
24 stars 5 forks source link

Make a luatex variant of csvsimple to convert standard CSV quotes to braced groups #4

Open lemzwerg opened 5 years ago

lemzwerg commented 5 years ago

Having the separate csvsorter Java program just to convert standard CSV quotes to braced groups is overkill IMHO. In particular, this program is not part of TeXLive. It would be thus nice if a special luatex version of csvsimple could be provided that does this conversion in lua.

It would be nice also if the manual could give examples for perl or awk (and probably sed) that demonstrates how to convert "..." to {...}; such a script could then be also added to TeXLive.

T-F-S commented 5 years ago

Well, I don't use (or speak) luatex so far. Also, I don't have perl, awk, sed, ... installed on my MS Windows system.

But, the package provides an option preprocessor to add any external program for conversion or sorting as alternative to csvsorter.

lemzwerg commented 5 years ago

Doesn't perl come with TeXLive? Anyway, the suggestion is to help users by providing ready-to-run scripts (or documentation) so they don't need to find proper regular expressions or something similar by themselves.

T-F-S commented 5 years ago

The reason why I developed csvsorter as external tool was that I was not able to find a free command line tool for CSV sorting on Windows. Some years later I published this tool here and it still satisfies all my needs.

So, I welcome all third-party scripts which could serve as may-be-better alternative, but I'm not going to write such things myself...

ondohotola commented 1 year ago

QSV can do that