csv2latex converts a well formed csv file (as done by OpenOffice.org) to a LaTeX document
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
~$ 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
~$ 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.
tags document tex table csv csv document csv file block delimiter latex document and where per table table and where the each cell the text lines per
Download csv2latex 0.9
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing