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] is there any way to code genus & species names in docbook XML


Gisbert Amm wrote:

> [...] you could simply use some
> non-semantic inline markup like <emphasis></emphasis> to get the genus
> and species names italic.

I *no way* can or should you rely on getting italic text for emphasized text. You simply can not express this wish in DocBook. Luckily. DocBook is a doument markup language, not a layout, presentation, design, style, or graphics language.

I also don't think he wants to emphasize the words he mentioned.

Sure you can state that all emphasized text should be rendered in italicized glyphs, but you do that in something like XSL (XSLT generating XSLFO), or in CSSheets styling (X)HTML documents generated from the DocBook sources.

Original poster:
  "I want to code some genus & species names in italic format."

Perhaps try

DBX:
<phrase role="genusname">...
<phrase role="speciesname">...

(X)HTML:
<span class="phrase role-genusname">...
<span class="phrase role-speciesname">...
CSS:
.role-genusname,
.role-speciesname,
{font-style: italic}

Tobi

--
http://www.pinkjuice.com/


--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-help@lists.oasis-open.org


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