This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] lispy output funcsynopsis & methodsynopsis


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>
&amp;optional; <replaceable>v</replaceable>
&amp;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>)
&amp;optional; <replaceable>v</replaceable>
&amp;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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]