This is the mail archive of the
mailing list for the DocBook project.
Re: [docbook] is there any way to code genus & species names in docbook XML
- From: Jeff Biss <jeff at marco-inc dot com>
- To: raju at iccind dot stpn dot soft dot net
- Cc: Gisbert Amm <gia at webde-ag dot de>, docbook at lists dot oasis-open dot org
- Date: Fri, 23 May 2003 08:44:31 -0500
- Subject: Re: [docbook] is there any way to code genus & species names in docbook XML
- References: <004201c32119$5c417ac0$7e02a8c0@iccidomain>
I would suggest that you not change the DTD to accomplish what you want,
which is italicized Genus and Species names. The Italization is not accomplished
in the DTD it is accomplished through the appropriate stylesheet. You could
use something like:
<emphasis id=genus> genus</emphasis>
The stylesheet would then render all emphasis elements with ids of genus
or species as italic. This looks like it would work because the Definitive
Reference states that the common attributes are available in the <emphasis>
Raju Sharma wrote:
Thanks for the providing me the solution.
I tried to customize the DTD, but it is giving an error "DTD error - text
is not well-formed after entity resolution (please verify all entities)"
during the declaration of the genusSpecies element (marked with
==>). Please look at the below DTD declaration and let me know
what could be the error.
<!ENTITY % local.para.class
==><!ELEMENT genus - - ((%smallcptr.char.mix;)+)>
pecies - - ((%smallcptr.char.mix;)+)>
Since DocBook is all about technological (computer related) items there's
no special markup for biological terms as you need it.
If you do not have other requirements, you could simply use some non-semantic
inline markup like <emphasis></emphasis> to get the genus
and species names italic.
I want to code some genus & species names in italic format. Is there
any coding available in docbook for the same?
If not then how can I add these names in my XML?
in advance for all your kind help.