csv2latex


Version: 0.15
Category:
Scripts
C/C++
Requirements:
Seller:
Price:
-
System:
Rating:
4.4
License:

Description - csv2latex



csv2latex converts a well formed csv file (as done by OOo Calc, Gnumeric or Excel) to a LaTeX document. it is written in C and Flush the document to the standard output. The number of columns is automatically detected.Exampleslet`s say we have to convert a table.csv to a document.tex file. This GeneRally do the trick:~$ csv2latex table.csv > document.texHowever... we can specify the format of the csv file, and some output disposition:~$ csv2latex --separator c --block d --lines 40 --position l table.csv > document.texthis previous command 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.another example:~$ csv2latex --separator s --block q --lines 20 --position c table.csv > document.texthis one takes a csv file which separator is a semi-colon, 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.texSource codeSource code is available in this archive directory of csv2latex and compiles on Unix and probably any POSIX systems. If you don`t have the make utility to get the binary, just use your C compiler:~$ cc -o csv2latex csv2latex.cand move csv2latex to your binaries directory (usually ~/bin/ or /usr/local/bin/).The manpage source is written in SGML docbook. To get the manpage, use the docbook-to-man script provided by your distro as is:$ docbook-to-man csv2latex.sgml > csv2latex.1 && gzip csv2latex.1then install the man page into your man1 directory (usually /usr/local/share/man/man1) and update the man database Cache (using updatedb as root).



More in C/C++-csv2latex

Latex Document Csv2latex Csv2latex Latex Document With