This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Underlined key accelerators
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Frans Englich" <frans dot englich at telia dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 9 Aug 2004 19:48:53 -0700
- Subject: Re: [docbook-apps] Underlined key accelerators
- References: <200408100235.38243.frans.englich@telia.com>
You want accel. See the example for that element in the Definitive Guide.
In HTML output, it has a <span class="accel"> so you can write a CSS rule to
add the underline. I don't think it underlines by default in print, though.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Frans Englich" <frans.englich@telia.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, August 09, 2004 7:35 PM
Subject: [docbook-apps] Underlined key accelerators
>
> Hello all,
>
> I'm writing user interface documentation, which mentions GUI items which
have
> key accelerators. For example, "Cancel" buttons often have the "C"
> underlined, and when "alt+C" is pressed, the button is activated.
>
> How do I mark an underline in docbook? Note, this is not representation or
> formatting, but the actual content(AFAICT).
>
>
> Cheers,
>
>
> Frans
>
>
>