[NTG-context] Converting a CSV file to a Lua table and Lua file
otared at gmail.com
Sat Jul 4 14:02:34 CEST 2020
I have a bash script which converts a CSV file into a Lua table, which is then used in ConTeXt.
It works fine, but I wonder whether there is a code within LuaMetaTeX for doing this directly there (writing a new file which contains the Lua table). This would be more efficient and neater.
Thus a CSV file « example.csv » containing the lines:
would be converted and wriiten into a lua file « example.lua » containing the lines:
Thanks in advance for any help: Otared K.
More information about the ntg-context