/[csv2latex]/www/index.html
ViewVC logotype

Contents of /www/index.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (show annotations)
Tue Jul 3 01:34:43 2018 UTC (11 months, 2 weeks ago) by ben
File MIME type: text/html
File size: 2627 byte(s)
archive 0.21 tarball
1 <html>
2 <head>
3 <title>CSV2LaTeX: a csv to LaTeX file converter</title>
4 <link type="text/css" rel="stylesheet" href="/ben.css"/>
5 </head>
6 <body>
7 <h1>CSV2LaTeX, a csv to LaTeX file converter</h1>
8 <p>
9 csv2latex converts a well formed csv file (as done by OOo Calc, gnumeric
10 or Excel) to a LaTeX document. it is written in C and flush the document
11 to the standard output. The number of columns is automatically
12 detected.
13 </p>
14 <h2>Examples</h2>
15 <p>
16 let's say we have to convert a table.csv to a
17 document.tex file. This generally do the trick:
18 </p>
19 <pre>
20 ~$ csv2latex table.csv &gt; document.tex
21 </pre>
22 <p>However... we can specify the format of the csv file, and some output disposition:</p>
23 <pre>~$ csv2latex --separator c --block d --lines 40 --position l table.csv &gt; document.tex
24 </pre>
25 <p>this previous command takes a csv file which separator is a comma, block delimiter is a
26 double-quote, and produces a LaTeX document with 40 lines per table and
27 where the text is flushed left in each cell. 40 lines is a good average
28 for A4 paper.</p>
29 <p>another example:</p>
30 <pre>
31 ~$ csv2latex --separator s --block q --lines 20 --position c table.csv &gt; document.tex
32 </pre>
33 <p>this one takes a csv file which separator is a semi-colon, block delimiter is a
34 simple quote and produces a LaTeX document with 20 lines per table and
35 where the text is centered in each cell.</p>
36 <p> If you have tricky block delimiter such as $ and separators like tabs,
37 let the program guess:</p>
38 <pre>
39 ~$ csv2latex --guess table.csv &gt; document.tex
40 </pre>
41
42 <h2>Source code</h2>
43 <p>
44 The latest source is in a SVN repository, freely browseable at the
45 <a href="https://svn.gtmp.org/svn/csv2latex/">csv2latex subversion browser</a>
46 and freely checkoutable with: <pre>$ svn co svn://svn.gtmp.org/csv2latex </pre>
47 The stable version is available here as:
48 <a href="http://brouits.free.fr/csv2latex/csv2latex-0.21.tar.gz">csv2latex-0.21.tar.gz</a><br />
49
50 <h2>Binary package</h2>
51 <h3>Debian package (source + binary)</h3>
52 <p>
53 The official Debian package of csv2latex came into debian thanks to Rafael Laboissiere.
54 </p>
55 <h2>if you like this software...</h2>
56 <p>
57 Feel free to report any successful or painful stories using csv2latex.
58 To help the maintenance of csv2latex, you can send patches or feature requests
59 to me. Packaging for your favourite distro would also be very nice.
60 This software is licenced under the <a
61 href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt">GNU General Public Licence version 2</a>.
62 </p>
63
64 <hr width="99%">
65 <p>Any question on csv2latex? contact me by <a
66 href="mailto:brouits@free.fr">email</a>.</p>
67 </body>
68 </html>

  ViewVC Help
Powered by ViewVC 1.1.26