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 d ocbook XML
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- To: docbook at lists dot oasis-open dot org
- Cc: Jeff Beal <jeff dot beal at ansys dot com>
- Date: Fri, 23 May 2003 16:15:12 +0200
- Subject: Re: [docbook] is there any way to code genus & species names in d ocbook XML
- References: <E08C8F26F6901D42B1201763D125853801A5CC41@ntdevexc.win.ansys.com>
Jeff Beal wrote:
You may also want to use <foreignphrase role="genus">...</foreignphrase> and
<foreignphrase role="species">...</foreignphrase>. As most genus and
species names are in Latin, and your document isn't, this is semantically
more accurate than the <emphasis/> tag (which is a subject Tobias rather
vehementally addressed) and the DocBook XSL stylesheets provided from
docbook.sourceforge.net already render this as you want it to be rendered,
unlike Tobias' suggestion to use <phrase/>.
"phrase" was just one possible choice. If the words are foreign (TDG:
"âForeignâ in this context means that it is a language other than the
primary language of the document and is not intended to be pejorative in
any way."), then yes, "foreignphrase" seems most appropriate.
As for the styling:
If you talk about HTML:
All presentational code is deprecated.
If you talk about XSLFO:
If the docbook.sourceforge.net stylesheets style "foreignphrase"
italicized than that's great (since that's what he wanted), but the fact
remains that this styling preference can not be expressed in DocBook.
The choice and use of DocBook markup should not be driven by default
styles of a specific stylesheet. You can not rely on getting italic text
for "foreignphrase". You simply and luckily can not express this wish in
DocBook.
If you think phrase role="genusname" is most appropriate, and don't get
italicized styling, then you change the stylesheet (XSLT producing
XSLFO, or CSS, not XSLT producing (X)HTML), *not the DocBook document*.
If you think "foreignphrase" is most appropriate, and are happy about
getting italicized rendering, but change your mind later and want those
names to be bold instead, then again you change stylesheets not the
document.
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