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


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

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




To unsubscribe from this list, send a post to docbook-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]