X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c795df707c547786ce244da6915d9409f2a65179..8ed454fdd94aae38d04fcd96cab15ef3b86b9cc5:/unicode.plp diff --git a/unicode.plp b/unicode.plp index e22ce5f..f506fb5 100644 --- a/unicode.plp +++ b/unicode.plp @@ -16,8 +16,11 @@ Html({ :>

Common Unicode

-

i^k in Vim. -Also see the complete digraphs table.

+

+Glyphs are followed by +digraph or code point, +i^k or i^vu respectively in Vim. +

@@ -25,19 +28,14 @@ Also see the complete digraphs table.

use Shiar_Sheet::FormatChar; my $glyphs = Shiar_Sheet::FormatChar->new; -sub print_glyph_tables { - while (@_) { - printf '

%s

'."\n\n", shift; - while (ref $_[0] and $_ = shift) { - print $glyphs->table($_); - } - print '
'; - } +if (exists $get{q}) { + $glyphs->{unicode}--; + $glyphs->{digraph}--; } our $verbose = exists $get{v}; -print_glyph_tables( +$glyphs->print( 'Popular', [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}], [qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}], @@ -53,8 +51,8 @@ print_glyph_tables( .>Türkçe ç ğ ı İ ö ş ü .>Esperanto ĉ ĝ ĥ ĵ ŝ ŭ }] : (), - [qw{. ¿ … 〃 ‐ – . ‽ · ※ ‒ — }], [qw{. α β}], + [qw{. ¿ … 〃 ‐ – . ‽ · ※ ‒ — }], 'Symbols', [qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ฿ ₫ ₭ ₦ ₱ ₮ ₩ ₪}],