<div>
<:
-use Shiar_Sheet::FormatChar;
+use List::Util qw( pairs );
+use Shiar_Sheet::FormatChar 1.08;
my $glyphs = Shiar_Sheet::FormatChar->new;
unless (exists $get{v}) {
$glyphs->{unicode}--;
my @table = do "writing-digits.inc.pl";
die "Table data not found: $_\n" for $@ || $! || ();
-print $glyphs->table([map {
- ref $_ eq 'ARRAY' ? @{$_} : map { ".>$_" }
- $scriptname->{"digits_$_"} || $scriptname->{$_} || $_
-} @table]);
+say $glyphs->tabletag;
+for my $row (pairs @table) {
+ my ($id, $info) = @{$row};
+ my $title = $info->{title} // $scriptname->{$id} || $id;
+ print $glyphs->row([ ".>$title", @{$info->{list}} ]);
+}
+say '</table>';
:></div>