This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: how to represent key sequence "Ctrl Alt Fn"??
- From: Adam DiCarlo <adam at onshored dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>
- Cc: docbook mailing list <docbook at lists dot oasis-open dot org>
- Date: Sun, 15 Dec 2002 21:43:03 -0600
- Subject: Re: DOCBOOK: how to represent key sequence "Ctrl Alt Fn"??
- Organization: onShore Development, Inc
- References: <Pine.LNX.4.44.0212142047560.23148-100000@dell>
"Robert P. J. Day" <rpjday@mindspring.com> 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.
> and, on a slightly related note, any pointers to
> publicly-available sets of common, useful entity definitions for
> writing computer-related documents?
Hmm, like what? You might wanna see what the freeBSD folks are doing.
Sniff around in http://www.FreeBSD.org/cgi/cvsweb.cgi/doc/share/sgml/
I think?
--
...Adam Di Carlo..<adam@onshore-devel.com>...<URL:http://www.onshored.com/>