From: Mischa POSLAWSKY Date: Sun, 2 Apr 2017 14:05:53 +0000 (+0200) Subject: latin: common styling for tap code rows X-Git-Tag: v1.10~264 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/3f98ee0c26bb3099a68aeed05740104551f27b84 latin: common styling for tap code rows --- diff --git a/latin.plp b/latin.plp index 8c2bef5..6d23534 100644 --- a/latin.plp +++ b/latin.plp @@ -22,6 +22,10 @@ Html({ src: url("/suetterlin.ttf"); } #sütterlin td { font-family: Suetterlin } + #tap-code td, + #tap-simplified td { + line-height: 1ex; + } svg path:not([fill]) { stroke: currentColor; @@ -58,7 +62,7 @@ else { my ($title, $cells) = @{$row}; printf '', (lc $title) =~ s/<[^>]+>//gr =~ s/\s+/-/gr; say '', $title; - print /^$_\n" for @{$cells}; + say "\t", '' x !/^\n"; } diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index 018a632..0ce54d3 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -3,7 +3,7 @@ use utf8; sub disptap { return map { m/\A(-?)(\d)(\d)/; - sprintf('%s
%s', + sprintf('%s
%s', ' class=ex' x !!$1, '·' x $2, '·' x $3, );