X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/d41fb64d4655e00ef12972ae3eda386e53446594..a8ce474d15b7d6013a60760eed50e5fa16983d24:/latin.plp diff --git a/latin.plp b/latin.plp index 89afb61..6de3fa5 100644 --- a/latin.plp +++ b/latin.plp @@ -2,39 +2,91 @@ 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; + my $colspan = 1; + for (@{$cells}) { + if ($_ eq '>') { + $colspan++; + next; + } + print "\t 1) { + print " colspan=$colspan"; + $colspan = 1; + } + print ' class=', $_ ? 'ex' : 'u-invalid' if s/^-//; + print '>'; + say; + } + } + say "
\n"; +} -print "
\n"; +:>