OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]