X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/463f4330186e284e0515831551b41425df03ad1f..eff3015acfc6046ed92b5c669e42c39f99f86c0a:/writing-latn.inc.pl diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index 2885e98..a185266 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -1,15 +1,17 @@ use utf8; sub disptap { - map { + return map { m/\A(-?)(\d)(\d)/; - $1 . '\\' # escape dot - . ('.̇' x ($2 < $3 ? $2 : $3)) # min($2,$3) without losing captures - . ('.' x ($3 - $2)) - . (' ̇' x ($2 - $3)) - } @_ + sprintf('%s ', + #TODO: prepend $1 + join "
\n", '•' x $2, '•' x $3, + ); + } @_; } +my %C = qw(red #EC1C24 blue #3953A3 yellow #F9EC31 black #231F20); + ( latn => [qw{ 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 }], latfsuet => [qw{ 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 }], @@ -35,4 +37,100 @@ tap => [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 })], +ics => [ + map { ''.$_.'' } + split /\n\n/, qq{ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + }, +], );