X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ecafe82fb6cb293e9cf45a6a2f6474858f429221..a3f9b6de6bde0cd3f32faee7e4c982f6e7d42aaf:/latin.plp diff --git a/latin.plp b/latin.plp index b63114c..687e082 100644 --- a/latin.plp +++ b/latin.plp @@ -17,35 +17,6 @@ Html({ :> @@ -123,6 +59,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, $cells) = @{$row}; - printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; - say '', $id; + say '
# ASCII − 64'; @@ -130,12 +75,14 @@ else { say '
', $title; + my ($id, $info) = @{$row}; + + printf '
', $info->{title} // ucfirst $id; + my $colspan = 1; my $col = 0; - for (@{$cells}) { + for (@{ $info->{list} }) { $col++; if ($_ eq '>') { $colspan++;