X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/d41fb64d4655e00ef12972ae3eda386e53446594..b4b5d4038ca4202826c657a746cbaf5e9a079741:/latin.plp diff --git a/latin.plp b/latin.plp index 89afb61..8c2bef5 100644 --- a/latin.plp +++ b/latin.plp @@ -2,39 +2,66 @@ Html({ title => 'latin alphabet cheat sheet', - version => 'v1.0', + version => '1.3', description => [ ], keywords => [qw' latin roman alphabet script letter unicode font glyph abc - writing comparison character sample test language + code encoding spelling symbol writing comparison character + secret cursive fraktur blind braille morse deaf asl hand + barcode bar color semaphore flag '], stylesheet => [qw'light dark red'], + data => ['writing-latn.inc.pl'], }); :> + +

Latin alphabet

-

Also see other alphabets +

Variant encodings of the common ASCII (latin, roman, +or 'mercan) letters A–Z. +Also see related alphabets and common chars.

-
+
<: -use Shiar_Sheet::FormatChar; -my $glyphs = Shiar_Sheet::FormatChar->new; -unless (exists $get{v}) { - $glyphs->{unicode}--; - $glyphs->{digraph}--; -} +use List::Util qw( pairs ); -my @t = (qw{ - .>Latin a b c d e f g h i j k l m n o p q r s t u v w x y z - .>Braille ⠁ ⠃ ⠉ ⠙ ⠑ ⠋ ⠛ ⠓ ⠊ ⠚ ⠅ ⠇ ⠍ ⠝ ⠕ ⠏ ⠟ ⠗ ⠎ ⠞ ⠥ ⠧ ⠺ ⠭ ⠽ ⠵ - .>Morse ‧‑ ‑‧‧‧ ‑‧‑‧ ‑‧‧ ‧ ‧‧‐‧ ‐‐‧ ‧‧‧‧ ‧‧ ‧‐‐‐ ‐‧‐ ‧‐‧‧ ‐‐ - ‐‧ ‐‐‐ ‧‐‐‧ ‐‐‧‐ ‧‐‧ ‧‧‧ ‐ ‧‧‐ ‧‧‧‐ ‧‐‐ ‐‧‧‐ ‐‧‐‐ ‐‐‧‧ -}); -print $glyphs->table(exists $get{uc} ? [map {s/\s.//; uc} @t] : \@t); +my @table = do 'writing-latn.inc.pl'; +if ($! or $@) { + Alert("Table data not found", $@ || $!); +} +else { + say ''; + for my $row (pairs @table) { + my ($title, $cells) = @{$row}; + printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; + say '
', $title; + print /^$_\n" for @{$cells}; + } + say "
\n"; +} -print "
\n"; +:>