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


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

[docbook-apps] Re: [docbook] Help with emphasis tag


[Moved to docbook-apps]

Hi Bart,

On Mon, Jun 07, 2004 at 07:17:40AM -0700, Bart Garst wrote:

> From the DocBook book I found:
> <emphasis role="bold">
>
> Unfortunately this didn't work. Can someone please help me out?

Are you trying to create HTML?  AFAICS, the default value for the HTML
'emphasis.propagates.style' is '1', in which case you should be able
to use markup like:

    <para>Some text <emphasis role="bold>with emphasis</emphasis></para>

and get:

    <p>Some text <span class="bold">with emphasis</span></p>

Then you can use CSS to render the emphasised text bold:

    span.bold {
        font-weight: bold;
    }

If you're generating FO, you would need to use a different approach.
Reply if that's what you're doing, and we can go through that.


-- 
Paul.

mailto:paulh@logicsquad.net

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]