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