csv2pdf

Perl extension for the automatic generation of LaTeX tables

Install

All systems
curl cmd.cat/csv2pdf.sh
Debian Debian
apt-get install liblatex-table-perl
Ubuntu
apt-get install liblatex-table-perl
image/svg+xml Kali Linux
apt-get install liblatex-table-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install liblatex-table-perl
Raspbian
apt-get install liblatex-table-perl

liblatex-table-perl

Perl extension for the automatic generation of LaTeX tables

LaTeX::Table is a Perl extension for the automatic generation of LaTeX tables LaTeX makes professional typesetting easy. Unfortunately, this is not entirely true for tables and the standard LaTeX table macros have a rather limited functionality. LaTeX::Table supports many CTAN packages and hides the complexity of using them behind an easy and intuitive API. This module supports multipage tables via the xtab and the longtable package. For publication quality tables it utilizes the booktabs package. It also supports the tabularx and tabulary packages for nicer fixed-width tables. Furthermore, it supports the colortbl package for colored tables optimized for presentations. The powerful new ctable package is supported and especially recommended when footnotes are needed. LaTeX::Table ships with some predefined, good looking themes. This module ships with two small utilities. The first, csv2pdf is a CSV to PDF converter. It is only about 100 lines of code short and only meant as an example application, but it is already very powerful. It requires Getopt::Long, Text::CSV, LaTeX::Encode and LaTeX::Driver. The second utility is ltpretty. It takes a lazy formatted LaTeX table from STDIN (typically piped from Vim or emacs) and outputs a completely formatted table. This makes this module not only useful for automatically generated reports, but also saves a lot of typing work in creating custom tables.