X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c544fb231402a1111fbc42dd7bae87aed6b0f4dc..0b57d5121c74fe18615499055e2f079c81c89001:/latin.plp diff --git a/latin.plp b/latin.plp index bbd256b..46e985f 100644 --- a/latin.plp +++ b/latin.plp @@ -17,83 +17,17 @@ Html({ :> @@ -127,6 +61,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'; @@ -134,12 +77,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++;