This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Comments in proceduresteps
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Kenneth Johansson" <ke-joh at sectra dot se>, "DOCBOOK" <docbook at lists dot oasis-open dot org>
- Date: Mon, 1 Mar 2004 09:20:23 -0800
- Subject: Re: [docbook] Comments in proceduresteps
- References: <OF6369C676.8A2195DF-ONC1256E4A.0050C5EE@sectra.se>
You could add a role="comment" to your special paragraph
in your step. In HTML output, you could just turn on the
'para.propagates.style' parameter which will add class="comment" to your
output, and then use CSS to style it.
For FO output, you can copy the match="para" template from block.xsl
to your customization, and change the match to:
match="step/para[@role='comment']"
and then add properties to the paragraph's fo:block to indent and add grey.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Kenneth Johansson" <ke-joh@sectra.se>
To: "DOCBOOK" <docbook@lists.oasis-open.org>
Sent: Monday, March 01, 2004 6:45 AM
Subject: [docbook] Comments in proceduresteps
Hi,
In our current documentation we have procedures and the ability to set
comments to the action to be performed. The comments are indented and
displayed in grey to distinguish them from the action. Is there an element
in DocBook that can do the same or should I just make an extra paragraph in
the "step" and stop using the gray? How do you do it?
Thanks,
/Kenneth
--------------------------------------------------------
Kenneth Johansson Technical Documentation Manager
Sectra Imtec AB
Teknikringen 20 E-mail: ke-joh AT sectra DOT se
SE-583 30 Linköping Phone: +46 13 23 52 00
SWEDEN Web: http://www.sectra.se
To unsubscribe from this list, send a post to
docbook-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.