X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f7ced5dbac0054134afbf8c174ffc5542ef9dbdc..c8f09cc7b705242e8ece81e1c4555bceaf95e97d:/keyboard/altgr/index.inc.plp diff --git a/keyboard/altgr/index.inc.plp b/keyboard/altgr/index.inc.plp index 36b50c3..5491df8 100644 --- a/keyboard/altgr/index.inc.plp +++ b/keyboard/altgr/index.inc.plp @@ -1,12 +1,14 @@ <: # included from keyboard.plp use 5.014; use warnings; +use utf8; -my @incs = glob 'keyboard/altgr/*.eng.inc.pl'; +my $dirbase = 'keyboard/altgr'; +my $indexfile = "$dirbase/index"; Html({ title => "altgr keyboard cheat sheets", - version => '1.0', + version => '1.3', description => [ "Overview of alternate keyboard modes,", "offering extended Unicode characters if a modifier key", @@ -15,13 +17,92 @@ Html({ keywords => [qw' sheet cheat reference overview keyboard altgr option '], + image => "$dirbase/thumb/ibm-m.jpg", stylesheet => [qw( light dark circus mono red )], - data => ['keyboard/altgr/index.inc.plp', @incs], + data => ["$dirbase/index.inc.plp", "$indexfile.inc.pl"], raw => <<'.', . @@ -30,20 +111,84 @@ img { :>

Extended keyboards

-

Representative images of available 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); +my @incs; +push @incs, @{ $idx->{$_} } for @{ $idx->{default} }; + +my @sample = split /(?VERSION(3.00); +use List::Util qw( uniq max sum ); + +my %caticon = ( + legacy => qq{\N{TOP HAT}}, + windows => qq{\x{1FA9F}}, # \N{WINDOW} + macos => qq{\N{RED APPLE}}, + xorg => qq{\N{PENGUIN}}, +); -