File Coverage

blib/lib/CLI/LaTeX/Table.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package CLI::LaTeX::Table;
2              
3 1     1   55257 use 5.006;
  1         3  
4 1     1   5 use strict;
  1         2  
  1         16  
5 1     1   4 use warnings;
  1         2  
  1         60  
6              
7             =head1 NAME
8              
9             CLI::LaTeX::Table - provides a quick command tool that transforms almost any table to LaTeX snippet.
10              
11             It rovides a quick tool to transform into suitable LaTeX snippets
12             from (almost) any tables from Excel, SQL outputs used as a LaTeX table. Note that
13             it also has functions to transform lengthy SQL sentences into suitable LaTeX snippets
14             usable inside the footnote and the caption of a table.
15              
16             Given the TSV formatted table
17             such as copied region of an Excel worksheet or SQL output, you can
18             easily get the LaTeX commands to produce same table even if it contains
19             any alphabetical, numeral, symbolic characters unless they are ASCII or
20             UTF-8. You can save a lot of time to draw tables by utilizing many
21             option swithes for magnifying, rotating partly or totally, treating well
22             on large numbers, hankaku-kana and so on.
23              
24             PROVIDED COMMAND LINE INTERFACE programs :
25            
26             1. latextable -- snippet generator from worksheet/scripts into LaTeX table/table-caption/text.
27             2. transpose -- flips a matrix over its diagonal. Input is copied from Excel/SQL output and so on.
28             3. saikoro -- random number/matrix generators of (various) uniform distributions.
29             4. csel -- an command line interface to handle TSV/CSV files easier than cut/AWK commands.
30             5. csv2tsv -- TSV formatter for regular CSV format files by Text::CSV_XS module.
31             6. matrixpack -- transforms a TSV into different shaped matrix.
32              
33             All programs provides help-manual that is availble such as by "latextable --help".
34             If you want to see only "switch options", do "latextable --help opt(ions)".
35             If you want to see Japanese or English manual as you wish, do "latextable --help en" or "--help ja".
36              
37             Please try :
38              
39             # saikoro
40             # saikoro -g 12x5
41             # saikoro -g 12x5 -s123
42             # saikoro -g 12x5 -s123 | csel -d 3
43             # saikoro -g 12x5 -s123 | transpose
44             # saikoro -g 12x5 -s123 | latextable
45             # saikoro -g 12x5 -s123 | latextable -Cmn
46             # latextable # After opening some Excel or SQL ouput files, and copy and paste it.
47              
48             =head1 VERSION
49              
50             Version 0.57
51              
52             =cut
53              
54             our $VERSION = '0.57';
55              
56              
57             =head1 LICENSE AND COPYRIGHT
58              
59             Copyright 2018 "Toshiyuki Shimono".
60              
61             This program is free software: you can redistribute it and/or modify
62             it under the terms of the GNU General Public License as published by
63             the Free Software Foundation, either version 3 of the License, or
64             (at your option) any later version.
65              
66             This program is distributed in the hope that it will be useful,
67             but WITHOUT ANY WARRANTY; without even the implied warranty of
68             MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69             GNU General Public License for more details.
70              
71             You should have received a copy of the GNU General Public License
72             along with this program. If not, see L.
73              
74              
75             =cut
76              
77             1; # End of CLI::LaTeX::Table