X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/cf5d941b1a839d049b4f322caebaff605cdd4efc..d22e7febda8720bc38069f7061adb43b98143c48:/latin.plp diff --git a/latin.plp b/latin.plp index 1dcd8c7..199a49c 100644 --- a/latin.plp +++ b/latin.plp @@ -2,7 +2,7 @@ Html({ title => 'latin alphabet cheat sheet', - version => '1.3', + version => '1.5', description => [ ], keywords => [qw' @@ -17,83 +17,9 @@ Html({ :> @@ -127,6 +57,15 @@ if ($! or $@) { Alert("Table data not found", $@ || $!); } else { + say '\n"; + my %VOWELCOLS = (map { ($_ => 1) } 0, 4, 8, 14, 20, 24); say ''; say ''; for my $row (pairs @table) { - my ($title, $info) = @{$row}; - printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; - say '', $id; + my $th = 'th'; + $th .= sprintf ' title="%s"', $_ for $info->{title} || (); + say "<$th>", $info->{name} // ucfirst $id; + my $colspan = 1; my $col = 0; for (@{ $info->{list} }) { @@ -172,5 +115,7 @@ else { :> - +
# ASCII − 64'; @@ -134,9 +73,13 @@ else { say '
', $title; + my ($id, $info) = @{$row}; + + printf '