X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b72093417bc56491451ccee26c93f3e5c73c97eb..4a28039ff22d6402f923488c0681f640b6fa14a6:/writing.plp diff --git a/writing.plp b/writing.plp index da267d0..2f08da6 100644 --- a/writing.plp +++ b/writing.plp @@ -2,7 +2,7 @@ Html({ title => 'writing system inheritance sheet', - version => 'v1.0', + version => '1.2', description => [ "Character comparison,", "tracking letters as they evolve from Phoenician to modern scripts.", @@ -12,13 +12,16 @@ Html({ script glyph unicode writing comparison character alphabet letter history phoenician latin sample test language multilingual '], - stylesheet => [qw'light dark red'], + stylesheet => [qw'light circus dark red mono'], + data => [qw'writing-phnx.inc.pl'], }); :>

Writing systems

-

Also see charsets +

+Comparison of Unicode letters in related alphabets. +Also see charsets and common chars.

@@ -28,25 +31,32 @@ use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; unless (exists $get{v}) { $glyphs->{unicode}--; - $glyphs->{digraph}--; + $glyphs->{anno} = []; + $glyphs->{style} = 'univer'; } +my $scriptname = do 'writing-script.inc.pl'; +$_ = showlink($_, "/latin") for $scriptname->{latn} || (); + for ( [phnx => 'Phoenician'], [brah => 'Brahmi'], - [digits => 'Digits'], ) { my ($source, $title) = @$_; my @table = do "writing-$source.inc.pl"; if ($! or $@) { - print "

$title

\n"; - printf "

Table data not found: %s.

\n", $! || $@; + say "

$title

"; + printf "

Table data not found: %s.

\n", $@ || $!; next; } - $glyphs->print($title => \@table); + $glyphs->print($title => [map { + my $lead = s/^(-)// && $1; + ref $_ eq 'ARRAY' ? @$_ : map { ".>$lead$_" } + $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_ + } @table]); } -:>
+say "\n"; -
+say for '
', $glyphs->legend;