X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b4b5d4038ca4202826c657a746cbaf5e9a079741..a8ce474d15b7d6013a60760eed50e5fa16983d24:/latin.plp diff --git a/latin.plp b/latin.plp index 8c2bef5..6de3fa5 100644 --- a/latin.plp +++ b/latin.plp @@ -22,6 +22,17 @@ Html({ src: url("/suetterlin.ttf"); } #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; @@ -58,7 +69,21 @@ else { my ($title, $cells) = @{$row}; printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; say '', $title; - print /^$_\n" for @{$cells}; + 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"; }