Next in thread → Next in month →

Re: DOCBOOK: how to represent key sequence "Ctrl Alt Fn"??

From
Robert P. J. Day <>
Date
2002-12-16T12:40:21+00:00
ID
Pine.LNX.4.44.0212160717270.15175-100000@dell
Thread
Re: DOCBOOK: how to represent key sequence "Ctrl Alt Fn"??
On Sun, 15 Dec 2002, Adam DiCarlo wrote:

> "Robert P. J. Day" <> writes:
> 
> >   but what if i wanted to similarly represent "Ctrl Alt Fn", where
> > the "n" part was replaceable?  is there any way to add parameters
> > to regular entity definitions?
> 
> Not really.  An entity can use another entity, but a reference to an
> entity cannot include a parameter.  You could have a Perl or shell
> script that kicked out &ctrl.alt.f1; &ctrl.alt.f2; ... entities, or
> you could attack it on the style side.  Could create a custom tag
> which takes and arg (functionnum) and then handle display in the DSSSL
> or XSL.

or, since i only ever expect to use n = 1..7, i could just hardcode
all seven possibilites and be done with it -- that sounds like the
easiest weasel way out of this. :-)


rday
Next in thread → Next in month →