X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/5629239957347a7ee23955ca39ba1f021db6d2bc..a8ce474d15b7d6013a60760eed50e5fa16983d24:/latin.plp diff --git a/latin.plp b/latin.plp index 6f8e3e0..6de3fa5 100644 --- a/latin.plp +++ b/latin.plp @@ -21,12 +21,30 @@ Html({ font-family: Suetterlin; /* R. G. Arens */ src: url("/suetterlin.ttf"); } - .glyphs tr:first-child+tr+tr td { font-family: Suetterlin } + #sütterlin td { font-family: Suetterlin } + #tap-code td, + #tap-simplified td { + line-height: 1ex; + } + #old-roman-cursive { + stroke-linecap: round; + stroke-linejoin: round; + } + #code-39 { + white-space: nowrap; + } svg path:not([fill]) { stroke: currentColor; fill: none; } + + td { + vertical-align: top; + } + td > svg { + vertical-align: middle; + }

Latin alphabet

@@ -36,18 +54,39 @@ or 'mercan) letters A–Z. Also see related alphabets and common chars.

-
+
<: +use List::Util qw( pairs ); + my @table = do 'writing-latn.inc.pl'; if ($! or $@) { - printf "

Table data not found: %s.

\n", $@ || $!; + Alert("Table data not found", $@ || $!); } else { - print ''; - print ref $_ ne 'ARRAY' ? "
$_" : map {/^$_"} @$_ for @table; - print "
\n\n"; + 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"; +:>