This program follows the usual GNU command line syntax, with long options starting with two dashes (`-').
A summary of options is included below.
-h--help
Show summary of options.
-v--version
Show version of program.
-n--nohead
Do not output the LaTeX document header. This is useful when the output is to be included as a
separate file into the master document.
-t--longtable
uses the 'longtable' package instead of the 'tabular' one. This is useful when the input is
long, with --lines0 option. This option uses the extra `longtable' LaTeX package. If you
also use --nohead option, do not forget to add the following line into the header of your
master document: "\usepackage{longtable}".
-x--noescape
Do not escape TeX control characters from the input. This is useful when the input contains
already TeX code.
-g--guess
Try to guess the csv format. This is useful when the input is not strictly a comma separated
set of printable data. For example, a line like %Foo, Bar%:%Wizz: Hey% may be parsed as "Foo,
Bar" then "Wizz: Hey".
-sc|s|t|p|l--separatorc|s|t|p|l
Set the given separator as cell separator of the csv format. `c' means a comma (default). `s'
means a semicolon. `t' means a tab. `p' means a space. `l' means a colon.
-bq|d|n--blockq|d|n
Set the given block delimiter that embraces the printable data of the csv format. `q' means a
simple quote. `d' means a double quote. `n' means no quoting at all (default).
-l#--lines#
Force to output multiple tabulars, each having a limited number of lines. The given argument
must be a POSITIVE INTEGER VALUE. This is useful when the number of input rows is too big to
fit into a single papersheet. A good average for a4 paper is about 40 lines (default). 0 means
infinity (actually about 2 Giga lines).
-pl|c|r--positionl|c|r
Set the text position in all cells at once. This simply uses one of the three basic cell
formatting options of the LaTeX tabular environment. `l' means left-aligned (default). `c'
means centered. `r' means right-aligned.
-c0-1--colorrows0-1
Alternate white/gray rows on the LaTeX output, having the given graylevel. The given argument
must be a REAL NUMBER BETWEEN 0 AND 1. 0 means black while 1 means white. A nice looking
value is 0.75 when printed on white paper. This option uses the extra `colortbl' LaTeX
package. If you also use --nohead option, do not forget to add the following line into the
header of your master document: "\usepackage{colortbl}".
-r1|2|3|4--reduce1|2|3|4
Reduce the size of the tabular and the font in the LaTeX output, given a reduction level. The
given argument must be one of 1, 2, 3 or 4. The more the level is high, the more the tabular
will appear small. This is useful to shrink the table width when the printable data is made of
very long text. This option uses the extra `relsize' LaTeX package. If you also use --nohead
option, do not forget to add the following line into the header of your master document:
"\usepackage{relsize}".
-z--nohlines
Do not output horizontal lines in the table(s).
-y--novlines
Do not output vertical lines in the table(s).
-e--repeatheader
Repeat the first row of the first table in every table. This is useful when the output is very
long and separated in multiple tables.
-f#--font#
Set the font size to be inserted on the header and use it to compute lines per table. The
given argument must be an integer in points unit. If used in conjunction with --lines set to
0, then the lines per tabular is computed based on LaTeX \textheight defaulting to 592 pt. If
the --longtable is used, then the computation is not done. If you also use --nohead option,
you should use the same font size according to your own LaTeX document for best result.
-a--landscape
Set landscape mode in the LaTeX document header. If used in conjunction with --lines set to 0
and --font size, then the \textheight used to compute lines per tabular defaults to (592 /
1.414) pt. If you also use --nohead option, you should set your own LaTeX document to
landscape mode for best result.