git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
digraphs: indicate direction order
[sheet.git]
/
digraphs.plp
diff --git
a/digraphs.plp
b/digraphs.plp
index 81944b2e50c63d8186f81c3abbc8bb734b933c0d..cec6406e3caf6a96178ef829ce525869a6f944a0 100644
(file)
--- a/
digraphs.plp
+++ b/
digraphs.plp
@@
-2,6
+2,7
@@
use utf8;
use strict;
use warnings;
use utf8;
use strict;
use warnings;
+no warnings 'qw'; # to quote or not to quote, that is the question
use open IO => ':utf8';
our $VERSION = '1.0';
use open IO => ':utf8';
our $VERSION = '1.0';
@@
-24,6
+25,9
@@
$header{content_type} = 'text/html; charset=utf-8';
<p>i^k in <a href="/">Vim</a>.
Also see <a href="/unicode">common digraphs</a>.</p>
<p>i^k in <a href="/">Vim</a>.
Also see <a href="/unicode">common digraphs</a>.</p>
+<p style="font-size:72%">Unofficial <span class="Xz">proposals</span>
+are available as <a href="/digraphs.vim">ex commands</a>.</p>
+
<:
my $di = do 'digraphs.inc.pl';
<:
my $di = do 'digraphs.inc.pl';
@@
-43,11
+47,11
@@
my @chars = (
);
my @chars2 = (['_'], @chars); # trailing character (extended set)
);
my @chars2 = (['_'], @chars); # trailing character (extended set)
-print '<table><col>';
+print '<table
class="glyphs dimap"
><col>';
print qq'<colgroup span="$_">' for map {scalar @$_} @chars2;
print "</colgroup><col>\n";
for my $section (qw{thead tfoot}) {
print qq'<colgroup span="$_">' for map {scalar @$_} @chars2;
print "</colgroup><col>\n";
for my $section (qw{thead tfoot}) {
- print "<$section><tr><th>
";
+ print "<$section><tr><th>
↳
";
print '<th>', quote($_) for map {@$_} @chars2;
print "<th> \n";
}
print '<th>', quote($_) for map {@$_} @chars2;
print "<th> \n";
}
@@
-84,7
+88,7
@@
for my $c1group (@chars) {
print "</table>\n";
:>
<div id="legend">
print "</table>\n";
:>
<div id="legend">
- <table><tr>
+ <table
class="glyphs"
><tr>
<td class="X Cc">control
<td class="X Zs"><span>spacing</span>
<td class="X Mn">modifier
<td class="X Cc">control
<td class="X Zs"><span>spacing</span>
<td class="X Mn">modifier
@@
-105,7
+109,7
@@
print "</table>\n";
<td class="X Bopomofo">chinese
</table>
<td class="X Bopomofo">chinese
</table>
- <table><tr>
+ <table
class="glyphs"
><tr>
<td class="X">unicode
<td class="X Xl">latin1
<td class="X Xa">ascii
<td class="X">unicode
<td class="X Xl">latin1
<td class="X Xa">ascii