X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/9bac941bab9e3f034f43e86f36aafb11b0350cdb..c5df9b21d316da6e6a82feff54be042f503f381d:/writing.plp diff --git a/writing.plp b/writing.plp index 5308df7..9f49a0e 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'], }); :> @@ -28,7 +29,8 @@ use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; unless (exists $get{v}) { $glyphs->{unicode}--; - $glyphs->{digraph}--; + $glyphs->{anno} = []; + $glyphs->{style} = 0; } my $scriptname = do 'writing-script.inc.pl'; @@ -37,7 +39,6 @@ $_ = qq{$_} for $scriptname->{latn} || (); for ( [phnx => 'Phoenician'], [brah => 'Brahmi'], - [digits => 'Digits'], ) { my ($source, $title) = @$_; my @table = do "writing-$source.inc.pl"; @@ -47,7 +48,8 @@ for ( next; } $glyphs->print($title => [map { - ref $_ eq 'ARRAY' ? @$_ : map { ".>$_" } + my $lead = s/^(-)// && $1; + ref $_ eq 'ARRAY' ? @$_ : map { ".>$lead$_" } $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_ } @table]); }