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] | [Elist Home]


Subject: Re: DOCBOOK: Presentational markup in Docbook


> From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
> 
> In strict XHTML 1.1 I can use style attributes containing
> CSS rules to note that a particular element should be bold,
> italic, red, or some such. If necessary, I can add a span
> element to give me something to hang the CSS off of.
> 
> 
> Is there any equivalent in Docbook? That is, is there any
> way to say that I want these three words to be red? or that
> element to be bold? Or that this note should be in a sans
> serif font? Mostly I'm happy with Docbook's semantic
> markup, but occasionally it seems that something is
> missing.
> 
> XHTML lets me apply unique styles without messing up the
> semantic nature of my document. Does Docbook?

DocBook has no specific markup for styles, but you can fake
it with <phrase> and its role attribute.  For example:
<phrase role="red">my red text</phrase>.  Of course
you have to modify the stylesheet for <phrase> to respond
properly to the "red" role attribute.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC