git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termcol: define mirc palette (included in more)
[sheet.git]
/
writing-latn.inc.pl
diff --git
a/writing-latn.inc.pl
b/writing-latn.inc.pl
index 85c292e855cdeccb7c19697a2055217c802caf72..1666c6b8ecf89bc57a5687de172e34d07ff219cc 100644
(file)
--- a/
writing-latn.inc.pl
+++ b/
writing-latn.inc.pl
@@
-3,9
+3,9
@@
use utf8;
sub disptap {
return map {
m/\A(-?)(\d)(\d)/;
sub disptap {
return map {
m/\A(-?)(\d)(\d)/;
- sprintf('<
small style="line-height:2ex">%s</small>
',
- #TODO: prepend $1
-
join "<br>\n", '•' x $2, '•
' x $3,
+ sprintf('<
td style="line-height:1ex"%s>%s<br>%s</td>
',
+ ' class=ex' x !!$1,
+
'·' x $2, '·
' x $3,
);
} @_;
}
);
} @_;
}
@@
-37,7
+37,7
@@
my %C = qw(red #EC1C24 blue #3953A3 yellow #F9EC31 black #231F20);
})],
'Tap simplified' => [disptap(qw{
11 12 13 14 21 22 23 24 31 -31 -13 32 33
})],
'Tap simplified' => [disptap(qw{
11 12 13 14 21 22 23 24 31 -31 -13 32 33
- 34 41 42 -13 43 44 15 51 52 53
-
25 -31 54
+ 34 41 42 -13 43 44 15 51 52 53 25 -31 54
})],
'Maritime flags' => [
# International Code of Signals, SVG fills
})],
'Maritime flags' => [
# International Code of Signals, SVG fills
@@
-238,7
+238,7
@@
my %C = qw(red #EC1C24 blue #3953A3 yellow #F9EC31 black #231F20);
s/(?:h|m[^0]).*?h\K/-/;
m/h/ or s/v/l3,/g;
m/v/ or s/h([^h]*)/l$1,3/g;
s/(?:h|m[^0]).*?h\K/-/;
m/h/ or s/v/l3,/g;
m/v/ or s/h([^h]*)/l$1,3/g;
- my $dot = s/\.// && qq(<circle cx="3" cy="3" r="1">);
+ my $dot = s/\.// && qq(<circle cx="3" cy="3" r="1"
fill="currentColor"
>);
qq(<path stroke="currentColor" stroke-linecap="square" fill="none" d="$_"/>$dot)
}
qw(
qq(<path stroke="currentColor" stroke-linecap="square" fill="none" d="$_"/>$dot)
}
qw(