X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/1cc65ff9013724deedf93a001094c54992dea9eb..440357a3333f32304e21957542e50eb33eaddf21:/unicode.plp?ds=inline
diff --git a/unicode.plp b/unicode.plp
index e28bb06..b55e771 100644
--- a/unicode.plp
+++ b/unicode.plp
@@ -14,8 +14,8 @@ $header{content_type} = 'text/html; charset=utf-8';
-digraph cheat sheet
+digraph cheat sheet
<:
my %styles = map {$_ => $_} qw(dark circus mono red terse);
our $style = exists $get{style} && $styles{$get{style}} || 'light';
@@ -36,7 +36,7 @@ Also see the complete digraphs table.
<:
my $diinfo = do 'digraphs.inc.pl';
my %di = map { $diinfo->{$_}->[0] => $_ } grep { ref $diinfo->{$_} }
- keys %$diinfo;
+ sort { length $a <=> length $b } keys %$diinfo;
sub quote {
local $_ = shift;
@@ -147,6 +147,8 @@ sub print_glyph_tables {
}
}
+our $verbose = exists $get{v};
+
print_glyph_tables(
'Popular',
[qw{. « » . ⹠⺠. â â . â â . â â . â â}],
@@ -154,6 +156,7 @@ print_glyph_tables(
[qw{. â â . â â . ⺠⹠. â â . â â . â ⺠}],
[qw{. Ã¥ ä ö ü à . Ã
æ ø ű ſ}],
[qw{. ¿ ç ñ é ê è}],
+ [qw{. α β}], [qw{. ×}],
'Signs',
[qw{. ¤ ¢ ⥠⬠£ ⨠$ Â¥ . â« â ⦠Ⱡ⧠⮠⩠âª}],
@@ -169,8 +172,10 @@ print_glyph_tables(
[qw{. ⩠⬠⬠. ⧠⡠⨠. ⬠⬠⪠}],
[qw{. ⤠Ⲡ⥠. â â ⶠ. ⣠⼠⢠}],
[qw{. ⸠Ⳡ⹠. â â â· . ⺠⽠⿠}],
+$verbose ? (
[qw{. î© î§ îª . î¥ - î¦ . î« î¨ î¬ }],
[qw{. î± î¯ î² . î - î® . î³ î° î´ }],
+) : (),
'Line drawing',
[qw{. â ⦠â â . â ⬠⣠â . â â© â - }],
@@ -231,14 +236,7 @@ print_glyph_tables(
.>Open a ɶ - - É É
}],
- 'Alphabetics',
- [qw{
- .>Latin a Ä« ı Ä Ã´ ɳ Šṡ Å¡ Ä Ã° Æ·
- .>Cyrillic а Ñ Ð¹ Ñ Ñ Ð½ Ñ Ñ Ñ Ñ Ñ Ð¯
- .>Greek α ί Ï Î· Ï Ï Ï Ï Ï Î¸ ξ Ω
- .>Hebrew × ×² × ×¢ × × × ×¡ ש × ×¦ ×¥
- }],
-
+$verbose ? (
'Japanese',
[qw{
- A I U E O _
@@ -283,6 +281,7 @@ print_glyph_tables(
.>P ã ã ã ã ã
.>V 㷠㸠㴠㹠ãº
}],
+) : (),
);
:>