This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] lispy output funcsynopsis & methodsynopsis
- From: Sam Steingold <sds at gnu dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 15 Jun 2004 15:39:42 -0400
- Subject: [docbook-apps] lispy output funcsynopsis & methodsynopsis
- Cancel-lock: sha1:VAq8xTovfWOmQa5b4Qn9WYchr2Q=
- Organization: disorganization
- Reply-to: sds at gnu dot org
Does anyone have any idea how to express Lisp function prototypes in
DocBook?
E.g.:
<funcsynopsis>
<name>gf1</name>
<lambdalist>
<replaceable>x</replaceable>
<replaceable>y</replaceable>
&optional; <replaceable>v</replaceable>
&key <replaceable>k</replaceable>
</lambdalist></funcsynopsis>
rendered as (something like)
gf1
x y &optional v &key k
Or
<funcsynopsis>
<name>gf1</name>
<lambdalist>
(class1 <replaceable>x</replaceable>)
(class2 <replaceable>y</replaceable>)
&optional; <replaceable>v</replaceable>
&key <replaceable>k</replaceable>
</lambdalist></funcsynopsis>
(for methods).
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Vegetarians eat Vegetables, Humanitarians are scary.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.