X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b72093417bc56491451ccee26c93f3e5c73c97eb..044c816621892378582d969646276a569ac4eb06:/writing.plp diff --git a/writing.plp b/writing.plp index da267d0..eab0051 100644 --- a/writing.plp +++ b/writing.plp @@ -13,6 +13,7 @@ Html({ history phoenician latin sample test language multilingual '], stylesheet => [qw'light dark red'], + data => [qw'writing-phnx.inc.pl'], }); :> @@ -31,6 +32,9 @@ unless (exists $get{v}) { $glyphs->{digraph}--; } +my $scriptname = do 'writing-script.inc.pl'; +$_ = qq{$_} for $scriptname->{latn} || (); + for ( [phnx => 'Phoenician'], [brah => 'Brahmi'], @@ -43,7 +47,10 @@ for ( printf "

Table data not found: %s.

\n", $! || $@; next; } - $glyphs->print($title => \@table); + $glyphs->print($title => [map { + ref $_ eq 'ARRAY' ? @$_ : map { ".>$_" } + $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_ + } @table]); } :>