[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] keycap vs keysym
Thomas Schraitle wrote:
> Hi Dave,
>
> On Montag, 24. September 2007, Dave Pawson wrote:
>> What is the difference please, semantically?
>
> According to the TDG:
>
> keycap — The text printed on a key on a keyboard
> keysym — The symbolic name of a key on a keyboard
>
> The TDG gives you an example:
> Or in other words, roughly spoken: Use keycap if your reader has to press
> a key. Use keysym if you "develop" a program and talk about a symbolic
> name of a key.
>
>
>> Context, texinfo has @key{PAGEUP} (a label on a key)
>> but it also has @key{PRIOR} which my keyboard doesn't have.
>>
>> Which is the more general docbook 4.5 markup please?
>
> I am not sure, but maybe this is an option:
>
> <keycap function="other" otherfunction="...">PRIOR</keycap>
>
> Invent your meaning for the otherfunction attribute.
Emacs is very heavy on key bindings.
M-C-F1 is press ALT, control and F1.
How might that be marked up?
M-x revert-buffer is another command.
It seems a mix between user input and key|sym|cap
There is no 'M' key (stands for META).
regards
--
Dave Pawson
XSLT, XSL-FO and Docbook FAQ
http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]