csv2latex 0.9 review

Download
by rbytes.net on

csv2latex converts a well formed csv file (as done by OpenOffice.org) to a LaTeX document

License: GPL (GNU General Public License)
File size: 2K
Developer: Benoit Rouits
0 stars award from rbytes.net

csv2latex converts a well formed csv file (as done by OpenOffice.org) to a LaTeX document. csv2latex project is written in C and flush the document to the standard output. The number of columns is automatically detected.

let's say we have to convert a table.csv to a document.tex
This generally do the trick:

~$ csv2latex table.csv > document.tex

However...

~$ csv2latex --separator c --block d --lines 40 --position l table.csv > document.tex

takes a csv file which separator is a comma, block delimiter is a double-quote, and produces a LaTeX document with 40 lines per table and where the text is flushed left in each cell. 40 lines is a good average for A4 paper.

~$ csv2latex --separator s --block q --lines 20 --position c table.csv > document.tex

takes a csv file which separator is a semi-column, block delimiter is a simple quote and produces a LaTeX document with 20 lines per table and where the text is centered in each cell.
If you have tricky block delimiter such as $ and separators like tabs, let the
program guess:

~$ csv2latex --guess table.csv > document.tex

What's New in This Release:
??? An option to force the tool to recognise [tab] as a separator using the "--separator t" option was added.

csv2latex 0.9 keywords