writing: .ex styling for obsolete alphabets
[sheet.git] / writing.plp
index d6269e84d760c2ff60ee24ea7003266842d5f239..9f49a0ec371729071f23a10673f488cec3b1b61a 100644 (file)
@@ -39,7 +39,6 @@ $_ = qq{<a href="/latin">$_</a>} for $scriptname->{latn} || ();
 for (
        [phnx => 'Phoenician'],
        [brah => 'Brahmi'],
-       [digits => 'Digits'],
 ) {
        my ($source, $title) = @$_;
        my @table = do "writing-$source.inc.pl";
@@ -49,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]);
 }