X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ca7123f5e6439a6726d2c603d5f51bc390916d8f..5f257afb85ce61ae765dffad95ce755acb760234:/digits.plp diff --git a/digits.plp b/digits.plp index f688d05..cfaa6ed 100644 --- a/digits.plp +++ b/digits.plp @@ -2,46 +2,50 @@ Html({ title => 'digit characters sheet', - version => 'v1.0', + version => '1.0', description => [ - "Character comparison,", - "tracking letters as they evolve from Phoenician to modern scripts.", - "Good Unicode test sample.", + "Unicode glyphs of numbers 0 to 10 in various scripts.", ], - keywords => [qw' - script glyph unicode writing comparison character alphabet letter - history phoenician latin sample test language multilingual - '], - stylesheet => [qw'light dark red'], + keywords => [qw( + numeral numerical digit number counting decimal + script glyph unicode writing comparison list character + history sample test language multilingual + )], + stylesheet => [qw( light dark circus mono red )], data => [qw'writing-digits.inc.pl'], }); :> -

Writing systems

+

Numerals

-

Also see comparison of writing systems.

+

Digits and numbers counting up to ten +in various writing systems.

-
+
<: -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}--; $glyphs->{anno} = []; - $glyphs->{style} = 0; + $glyphs->{style} = 'univer'; } my $scriptname = do 'writing-script.inc.pl'; $_ = qq{$_} for $scriptname->{latn} || (); my @table = do "writing-digits.inc.pl"; -die "Table data not found: $_.\n" for $! || $@ || (); +die "Table data not found: $_\n" for $@ || $! || (); -$glyphs->print([map { - ref $_ eq 'ARRAY' ? @{$_} : map { ".>$_" } - $scriptname->{"digits_$_"} || $scriptname->{$_} || $_ -} @table]); +say $glyphs->tabletag; +for my $row (pairs @table) { + my ($id, $cols) = @{$row}; + my $title = $scriptname->{"digits_$id"} || $scriptname->{$id} || $id; + print $glyphs->row([ ".>$title", @{$cols} ]); +} +say ''; :>