From f213c32b75192ca0f7ffe6ad8ee410d130c00fa5 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 17 May 2017 15:20:15 +0200 Subject: [PATCH] latin: chromacons description in header title Visible outside of source code as it's not a common standard. --- latin.plp | 4 +++- writing-latn.inc.pl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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 /:/), -- 2.30.0