Skip to content

Latest commit

 

History

History

csvreader

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

To get the PDF:

Run sp on the command line inside this directory.


A generic and flexible CSV typesetter

This example shows how to use the Lua pre-processor (filter). It converts any CSV file into an XML file suitable as an input for the speedata Publisher. The data.xml file gets generated by the csv2xml.lua script. Note that the Lua API is subject to change.

Image of the result

The “fake data” CSV file is taken from https://www.briandunning.com/sample-data/ and serves as a demonstration.