[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Re: [docbook] How do I tell keycap+ from keycap keypad+
Hi, Saturday 15 January 2011 > On 01/14/2011 07:30 PM, Krzysztof Żelechowski wrote: > > Not necessarily. A technical question: How do I markup <keycap > > > > >+</keycap > so that it can be rendered on a gray background when > > > > keypad is required, but not when any '+' wins? > > <keycap role="keypad">+</keycap> > > Then customize the stylesheets such that @role='keypad' gets a gray > background. You can also use the following notation, although a bit more verbose: <keycap function="other" otherfunction="keypad">+</keycap> There are other values in @function available, but no value which is similar to "keypad". Maybe file a feature request to add this to the DocBook schema. Tom
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]