This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] is there any way to code genus & species names in docbook XML
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- To: Gisbert Amm <gia at webde-ag dot de>
- Cc: "'raju at iccind dot stpn dot soft dot net'" <raju at iccind dot stpn dot soft dot net>,docbook at lists dot oasis-open dot org
- Date: Fri, 23 May 2003 11:23:35 +0200
- Subject: Re: [docbook] is there any way to code genus & species names in docbook XML
- References: <74ADFA8C453ED611A71E00508BBBA135D9EC23@exchange1.cinetic.de>
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