X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/8ed454fdd94aae38d04fcd96cab15ef3b86b9cc5..0c4ca53d0803c3d9db0a06b57f650e65c3327467:/unicode.plp diff --git a/unicode.plp b/unicode.plp index f506fb5..8d226dc 100644 --- a/unicode.plp +++ b/unicode.plp @@ -10,7 +10,8 @@ Html({ keywords => [qw' unicode glyph char character reference common ipa symbol sign mark table digraph '], - stylesheet => [qw'light dark red'], + stylesheet => [qw'light dark mono circus red'], + data => [qw'digraphs.inc.pl'], }); :> @@ -28,8 +29,12 @@ i^k or i^vu respectively in Vim. use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; +if (exists $get{di}) { + $glyphs->{digraph} = defined $get{di} ? ! !$get{di} : 1; + $glyphs->{unicode} = 1; +} if (exists $get{q}) { - $glyphs->{unicode}--; + $glyphs->{unicode} = -1; $glyphs->{digraph}--; } @@ -206,11 +211,13 @@ $verbose ? (
-
ascii - digraph - proposed - other unicode - discouraged + ascii + <:= $glyphs->{digraph} ? 'digraph' : 'latin1' :> + <:= $glyphs->{digraph} ? 'proposed' : 'BMP' :> + other unicode + discouraged
+ +