CSV2PDF(1p)
π CSV2PDF β ok bestie, let's talk π
User Contributed Perl Documentation Β· CSV2PDF(1p) Β· yes the manual page is literally named after the program, iconic behavior, we love a self-titled era β¨
πΈ NAME πΈ
csv2pdf β a simple but yet powerful LaTeX::Table example application. no cap. it's little but it's doing the most π
π SYNOPSIS π
csv2pdf [OPTIONS] --in in.csv [--out out.pdf]
that's it. that's the whole vibe. feed it a CSV, get a PDF out the other side, main character energy fr fr π¦
β¨ OPTIONS β¨
okay so here's every single flag, no skips, we're being thorough because we love you:
--sep_charβ the separator character. default is a comma','. yes, the humble comma, the people's separator π--latex_encodeβ useLaTeX::Encode. let it handle the encoding, she's got this π--landscapeβ output the PDF in landscape orientation. turn that page sideways, she's wide now π--themeβ the table theme. seeLaTeX::Table. default isMeyrin. theme it up bestie, dress the table for the occasion π--coldefβ the column definition, e.g.'llp{5cm}'. if you don't set it, it gets guessed byLaTeX::Table. let her guess, she's usually right π--titleβ if set, then it uses the specified string as title. give your table a name, she deserves one π--headerβ instead of the first line, use the specified string as header. like:
--header "Header A, Header B, Header C"
the separator character must be the same as in the file. if unset, then the first line is used as header. so either you tell it the header, or line one gets promoted to header, no in-between β¨
--outputlatexβ prints the LaTeX code to STDOUT. peek behind the curtain, the LaTeX is right there π--manβ display manpage. hi, you're here, you found it π₯°--versionβ print version number of this software. gotta know which era we're in β
π¦ DESCRIPTION π¦
converts a CSV file to PDF. requires LaTeX. that's not optional, that's a whole dependency, you need the LaTeX or nothing happens, periodt π₯
π EXAMPLE π
csv2pdf --landscape --theme Redmond --in examples/imdbtop40.dat
landscape, Redmond theme, IMDB top 40 data β she's serving a wide, themed, movie-ranked table and honestly? obsessed π (note the double space between --landscape and --theme, we're keeping it, that's canon)
π CONFIGURATION AND ENVIRONMENT π
csv2pdf does not support configuration files or environment variables.
that's it. that's the section. no dotfiles, no env vars, no hidden settings, she simply does not have a secret life π§
π DEPENDENCIES π
- LaTeX.
autodie,Carp,Cwd,File::Basename,Getopt::Long,LaTeX::Driver,LaTeX::Encode,LaTeX::Table,Pod::Usage,Template,Text::CSV
the whole squad. she does not travel light π
π BUGS AND LIMITATIONS π
No bugs have been reported.
π flawless. unbothered. untouchable.
Please report any bugs or feature requests to bug-latex-table@rt.cpan.org, or through the web interface at <http://rt.cpan.org>.
fr fr tell them, they want to know, they're not gonna be mad π«Ά
π LICENSE AND COPYRIGHT π
Copyright (c) 2006-2010, <limaone@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
same terms as Perl itself, which means yes, go ahead, the licensing is generous and we love that for us π
π₯ DISCLAIMER OF WARRANTY π₯
okay bestie this part is in ALL CAPS on purpose and it is not a joke, so read it, it's the legal version of "no promises":
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
read it again if you skimmed it, it matters, no warranty means no warranty π«
and that's the whole page bestie π this one shipped as part of perl v5.34.0, dated 2022-06-15, and it goes out under the CSV2PDF(1p) manual name. slay, go convert some CSVs, ily πβ¨π¦
π¦ where this page comes from
- debian bookworm: liblatex-table-perl 1.0.6-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: liblatex-table-perl 1.0.6-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liblatex-table-perl 1.0.6-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms