csv2latex 0.16

A file format converter that converts a well formed CSV file to the LaTeX document format.
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

last updated on:
September 18th, 2009, 14:26 GMT
price:
FREE!
developed by:
Benoit Rouits
license type:
GPL (GNU General Public License) 
category:
ROOT \ Text Editing&Processing \ Others

FREE!

In a hurry? Add it to your Download Basket!

user rating 1

UNRATED
5.0/5
 

0/5

What's New in This Release:
  • This version introduces the optional use of longtabulars in the LaTeX output.
  • Several bugs have been fixed.
read full changelog

Add your review!

SUBMIT