This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] Highlighting code in an example...
- From: Dave Pawson <dpawson at nildram dot co dot uk>
- To: Bob Lee <crazybob at crazybob dot org>, docbook at lists dot oasis-open dot org
- Date: Sat, 03 Jan 2004 09:13:44 +0000
- Subject: Re: [docbook] Highlighting code in an example...
- References: <3FF5A717.8000401@crazybob.org>
At 17:15 02/01/2004, Bob Lee wrote:
How can I highlight portions of code in an example (i.e. bold, etc.)?
<example id="pages.ex1">
<title>....</title>
<programlisting>
<fo:simple-page-master
master-name="only"
page-height="29.7cm"
page-width="21cm"
margin-top="2.5cm" <co id="ex11"/>
margin-bottom="2.5cm"
margin-left="2.5cm"
margin-right="2.5cm">
<fo:region-body
region-name="xsl-region-body" <emphasis role="bold">
margin-top="2.4cm" margin-bottom="2.4cm"</emphasis>
...
</programlisting>
<calloutlist>
<callout arearefs="ex11">
<para>Page margin, 2.5cm</para>
</callout>
</calloutlist>
</example>
HTH DaveP
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.