X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/98a8228ac6651509dfe58a871594b5cc22cee553..c8f09cc7b705242e8ece81e1c4555bceaf95e97d:/keyboard/altgr/index.inc.plp diff --git a/keyboard/altgr/index.inc.plp b/keyboard/altgr/index.inc.plp index fd36e60..5491df8 100644 --- a/keyboard/altgr/index.inc.plp +++ b/keyboard/altgr/index.inc.plp @@ -111,7 +111,9 @@ img { :>

Extended keyboards

-

Overview of available key layouts with AltGr or similar modifier keys.

+

Overview of available key layouts with AltGr or similar modifier keys. +Also see digraphs for compose key combinations. +

<: my $idx = Data($indexfile); @@ -157,7 +159,8 @@ for my $inc (@incs) { print '', "\n\t"; for my $mode ($table->{mode} ? sort keys %{ $table->{mode} } : '') { print ''; - printf "", m/^(\S*)/ for $mode && $table->{mode}{$mode} || (); + printf "", m/^(\S*)/ + for $mode && $table->{mode}{$mode} || (); for my $g (sort keys %{ $table->{inventory}{$mode} }) { printf ' %s', $g, $_/$most*100, $_, @@ -169,14 +172,19 @@ for my $inc (@incs) { say ''; } print "\t"; - print join ' ', map { $caticon{$_} // () } split m{/}, $table->{category} // ''; + print join ' ', map { $caticon{$_} // () } + split m{/}, $table->{category} // ''; say ''; if (my $keys = eval { my $keydata = Data("$dirbase/$inc.eng"); Shiar_Sheet::Keyboard->new($keydata) }) { - $keys->print_key('', $_, ($keys->{def}{''}{$_} // ['ni']) =~ s/ mode\S*//r) - for @sample; + for my $c (@sample) { + my $def = $keys->{def}{''}{$c} // []; + $def->[0] //= 'ni'; + $def->[0] =~ s/ mode\S*//; + $keys->print_key('', $c, $def); + } } say ''; }