vimperator: prefer primary zoom keys on normal mode
[sheet.git] / writing.plp
index 69fffe2f491ee7243385ee6354a86a2807af7aa2..2f08da63a3cd18d486fd7ccd97cc24eb24c85251 100644 (file)
@@ -2,7 +2,7 @@
 
 Html({
        title => 'writing system inheritance sheet',
-       version => 'v1.1',
+       version => '1.2',
        description => [
                "Character comparison,",
                "tracking letters as they evolve from Phoenician to modern scripts.",
@@ -36,7 +36,7 @@ unless (exists $get{v}) {
 }
 
 my $scriptname = do 'writing-script.inc.pl';
-$_ = qq{<a href="/latin">$_</a>} for $scriptname->{latn} || ();
+$_ = showlink($_, "/latin") for $scriptname->{latn} || ();
 
 for (
        [phnx => 'Phoenician'],
@@ -45,7 +45,7 @@ for (
        my ($source, $title) = @$_;
        my @table = do "writing-$source.inc.pl";
        if ($! or $@) {
-               print "<h2>$title</h2>\n";
+               say "<h2>$title</h2>";
                printf "<p>Table data not found: <em>%s</em>.</p>\n", $@ || $!;
                next;
        }
@@ -56,18 +56,7 @@ for (
        } @table]);
 }
 
-:></div>
+say "</div>\n";
 
-<hr>
-
-<div class="legend">
-       <table class="glyphs"><tr>
-       <td class="X l5">unicode 1.1
-       <td class="X l4">20th century
-       <td class="X l3">in 6.0 (2010)
-       <td class="X l2">recent assignments
-       <td class="X l1">proposed
-       <td class="ex">irregular
-       </table>
-</div>
+say for '<hr/>', $glyphs->legend;