bibliography

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: processing instruction('bibtex bibliography')
Previous: latex.preamble.essential.biblio Up: Bibliographies biblio.mod.xsl

Reference Section

## Name

bibliography — Process `bibliography` [2.0.9] elements

## Synopsis

    <xsl:template match="bibliography">
    <xsl:param name="makechapter" select="local-name(..)='book' or local-name(..)='part'"/>
    <xsl:variable name="keyword">
    			<xsl:choose>
    				<xsl:when test="$makechapter">
    					<xsl:text>bibliography-chapter</xsl:text>
    				</xsl:when>
    				<xsl:otherwise>
    					<xsl:text>bibliography-section</xsl:text>
    				</xsl:otherwise>
    			</xsl:choose>
    		</xsl:variable>
    <xsl:variable name="environment">
    			<xsl:choose>
    				<xsl:when test="$makechapter">thebibliography</xsl:when>
    				<xsl:otherwise>docbooktolatexbibliography</xsl:otherwise>
    			</xsl:choose>
    		</xsl:variable>
    <xsl:variable name="title">
    			<xsl:apply-templates select="title|subtitle"/>
    		</xsl:variable>
      ...
    </xsl:template>

## A. Description

This is a complex template that can format bibliographies as chapter-level or section-level components.

## B. Pertinent Variables

- latex.biblio.output
- latex.bibwidelabel

## C. Template Parameters

makechapter

  Whether to make a chapter-level bibliography or not. This is normally determined by examining whether the `bibliography` [2.0.9] element occurs as a child of a `book` [2.0.9] or `part` [2.0.9]. If so, the bibliography will be formatted as an unnumbered chapter. If not, the bibliography will be formatted as an unnumbered section. This effect does not hold for BibTeX bibliographies, which will be formatted by the LaTeX `\bibliography` command.

## D. DocBook Compliance and LaTeX Notes

This template probably contains many bugs.

This template requires LaTeX commands that are part of the “essential preamble”.

## E. Samples and Tests

`test_article.pdf` from `test_article/article.xml`, `test_biblio.pdf` from `test_biblio/test.xml`, `test_bind_Bv9ARM-book.pdf` from `test_bind/Bv9ARM-book.xml`, `test_book.pdf` from `test_book/test.xml`, `test_cited.pdf` from `test_cited/test.xml`, `test_ieeebiblio.pdf` from `test_ieeebiblio/test.xml`

## F. Further Reading

- The DB2LaTeX mapping system latex.mapping.xsl: this template will use the `bibliography-chapter` and `bibliography-section` mappings.
- Citations citation.mod.xsl

Prev | Up | Next
latex.preamble.essential.biblio | Home | processing-instruction('bibtex-bibliography')