X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/7c6662e77e3c64d1210daa5b444a340fc57b2884..85b2e04d887f4d328d8991b4834a52fba3187426:/digits.plp diff --git a/digits.plp b/digits.plp index 6666b8f..a6a684e 100644 --- a/digits.plp +++ b/digits.plp @@ -38,24 +38,23 @@ unless (exists $get{v}) { } my $scriptname = do 'writing-script.inc.pl'; -$_ = qq{$_} for $scriptname->{latn} || (); +$_ = showlink($_, "/latin") for $scriptname->{latn} || (); -my %table = do "writing-digits.inc.pl"; +my $table = do "writing-digits.inc.pl"; die "Table data not found: $_\n" for $@ || $! || (); sub printtable { say '
', $glyphs->tabletag; for my $id (@_) { - my $info = $table{$id}; + my $info = $table->{$id}; my $title = $info->{title} // $scriptname->{$id} || $id; print $glyphs->row([ ".>$title", @{$info->{list}} ]); } say '
'; } -printtable(@{ $table{$_} }) for @{ $table{default} }; +printtable(@{ $table->{$_} }) for @{ $table->{default} }; -:> - -
+say "\n"; +say for '
', $glyphs->legend;