Next in thread → Next in month →

Re: [docbook] Highlighting code in an example...

From
Dave Pawson <>
Date
2004-01-03T09:05:00+00:00
ID
Thread
Re: [docbook] Highlighting code in an example...
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>


  &lt;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">

    &lt;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
Next in thread → Next in month →