git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatchar: annotation options, print method
[sheet.git]
/
unicode.plp
diff --git
a/unicode.plp
b/unicode.plp
index c22d19edf42804321735663862ba06c811ee4e31..f506fb59165df582096e3fbced9d105457adf9a6 100644
(file)
--- a/
unicode.plp
+++ b/
unicode.plp
@@
-28,19
+28,14
@@
i^k or i^vu respectively in <a href="/vi">Vim</a>.
use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
-sub print_glyph_tables {
- while (@_) {
- printf '<div class="section"><h2>%s</h2>'."\n\n", shift;
- while (ref $_[0] and $_ = shift) {
- print $glyphs->table($_);
- }
- print '</div>';
- }
+if (exists $get{q}) {
+ $glyphs->{unicode}--;
+ $glyphs->{digraph}--;
}
our $verbose = exists $get{v};
}
our $verbose = exists $get{v};
-
print_glyph_tables
(
+
$glyphs->print
(
'Popular',
[qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}],
[qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}],
'Popular',
[qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}],
[qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}],
@@
-56,8
+51,8
@@
print_glyph_tables(
.>Türkçe ç ğ ı İ ö ş ü
.>Esperanto ĉ ĝ ĥ ĵ ŝ ŭ
}] : (),
.>Türkçe ç ğ ı İ ö ş ü
.>Esperanto ĉ ĝ ĥ ĵ ŝ ŭ
}] : (),
- [qw{. ¿ … 〃 ‐ – . ‽ · ※ ‒ — }],
[qw{. α β}],
[qw{. α β}],
+ [qw{. ¿ … 〃 ‐ – . ‽ · ※ ‒ — }],
'Symbols',
[qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ฿ ₫ ₭ ₦ ₱ ₮ ₩ ₪}],
'Symbols',
[qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ฿ ₫ ₭ ₦ ₱ ₮ ₩ ₪}],