Summary: A module describing the use of bibtexml with cnxml, as well as as introduction to the glossary tag.
glossary, and have chosen to use an xml language
called bibteXML for references. The two are described below. I
have also included the glossary and bibteXML file examples in
the source of this document. Scroll to the bottom of the page to
see how these examples would be rendered.
"BibteXML is a bibliography DTD for XML that expresses the content model of BibTeX, the bibliographic system for use with LaTeX. It provides conversion tools for tagging your bibliographic data in XML, or export it to HTML or native BibTeX syntax, saving typing time." [source]In plain language, this means that bibtexml is an XML version of the popular and widely accepted latex extension bibtex. One can markup references in their document using semantic tags such as
author and
editor. More info will be provided below.
glossary tag will contain a list of definitions
that will be included at the end of a module. One can link
to these definitions using the term tag (see
Example 2).
namemetadata(optional)contentnamemetadata(optional)contentglossary
<glossary>
<definition id='quardef'>
<term>quarter</term>
<meaning><name>Meaning Name</name>One fourth of something.</meaning>
<example id='def'>
<para id='par'>
"He cut the pie into quarters and gave all four people a
piece."
</para>
</example>
<meaning>25 cents, a quarter of a dollar.</meaning>
<example id='def2'>
<para id='par2'>
"The drink cost a quarter."
</para>
</example>
<example id='def3'>
<para id='par3'>
"She picked up a roll of quarters so that she could do
laundry."
</para>
</example>
</definition>
</glossary>
term
tag. By putting the src attribute in the term
tag, one can link to a definition. Simply set the value of
the src attribute to the id of the
definition in the glossary, and that term will automatically
become a link to the definition in the glossary. Shown below
is an example of the term tag being used to link to the
definition in the definition
example:
<term src='#quardef'>quarter</term>
namemetadata(optional)contentnamemetadata(optional)contentglossaryfilefile tag is the root tag of the bibteXML
language. Inside of the file tag one will add other tags that
correspond to the different type of bibliographical
references. An example of a bibliography is given below:
<bib:file>
<bib:entry id="esbensen">
<bib:book>
<bib:author>Kim Esbensen; Tonje Midtgaard; Suzanne Schonkopf</bib:author>
<bib:title>Multivariate Analysis in Practice</bib:title>
<bib:publisher>Camo AS</bib:publisher>
<bib:year>1994</bib:year>
<bib:address>Trondheim</bib:address>
</bib:book>
</bib:entry>
<bib:entry id="martens.nes">
<bib:book>
<bib:author>Harald Martens; Tormod Nas</bib:author>
<bib:title>Multivariate Calibration</bib:title>
<bib:publisher>John Wiley & Sons Ltd.</bib:publisher>
<bib:year>1989</bib:year>
<bib:address>Chichester</bib:address>
</bib:book>
</bib:entry>
</bib:file>
bib:.cite tag. By putting
the src attribute in the cite tag, one can link
to a bibliographic entry. Simply set the value of the
src attribute to the id of the
bib:entry, and that reference will automatically
become a link to the bibliographic entry. Shown below
is an example of the cite tag being used to link to the
bibliography in Example 3:
<cite src='#esbensen'>Multivariate Analysis in Practice</cite>
file tag is the root tag of the bibteXML
language. It denotes the beginning of the bibliography.
entry tag denotes the beginning of an
individual bibliographical reference.
entry must contain
one of the following containers:
entry
(article, book, booklet, etc.) are containers for metadata
on that specific type of entry.
metadata tags. For
more information on exactly which children a specific
container may possess, please see the BibteXMLHomepage.
entry can contain metadata
tags. These metadata tags are now listed.
Comments, questions, feedback, criticisms?