From: Mischa POSLAWSKY Date: Wed, 17 May 2017 13:20:15 +0000 (+0200) Subject: latin: chromacons description in header title X-Git-Tag: v1.11~67 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/f213c32b75192ca0f7ffe6ad8ee410d130c00fa5 latin: chromacons description in header title Visible outside of source code as it's not a common standard. --- diff --git a/latin.plp b/latin.plp index f9e4718..6af6647 100644 --- a/latin.plp +++ b/latin.plp @@ -78,7 +78,9 @@ else { my ($id, $info) = @{$row}; printf '', $id; - say '', $info->{name} // ucfirst $id; + my $th = 'th'; + $th .= sprintf ' title="%s"', $_ for $info->{title} || (); + say "<$th>", $info->{name} // ucfirst $id; my $colspan = 1; my $col = 0; diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index 9cd97c9..4c10d46 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -630,9 +630,9 @@ nyctographs => { ], }, chromacons => { + title => 'Colour Alphabet by Paul Green-Armytage (2010)', # style => '.sample { word-break: break-all }', list => [ - # Colour Alphabet by Paul Green-Armytage (2010) map { sprintf('%s', !!$_ && sprintf(' style="background:#%s" title="%s"', split /:/),