processing-instruction('bibtex-bibliography')

- SourceForge
- Home Page
- Samples

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

Suggestions
Search:
Next: bibliodiv
Previous: bibliography Up: Bibliographies biblio.mod.xsl

Reference Section

## Name

processing-instruction('bibtex-bibliography') — Process `<?bibtex-bibliography?>` nodes

## Synopsis

    <xsl:template match="processing-instruction('bibtex-bibliography')">
    <xsl:param name="makechapter" select="local-name(..)='book' or local-name(..)='part'"/>
    <xsl:param name="filename">
    			<xsl:choose>
    				<xsl:when test="normalize-space(.)!=''">
    					<xsl:value-of select="."/>
    				</xsl:when>
    				<xsl:otherwise>
    					<xsl:value-of select="$latex.bibfiles"/>
    				</xsl:otherwise>
    			</xsl:choose>
    		</xsl:param>
    <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:template>

## A. Description

Output a BibTeX bibliography.

## B. Pertinent Variables

- latex.bibfiles

## C. Template Parameters

makechapter

  Choose which LaTeX mapping to use. This is normally determined by examining whether the PI occurs as a child of a `book` [2.0.9] or `part` [2.0.9]. Regardless of this parameter, the bibliography will be formatted as a chapter via the LaTeX `\bibliography` command.

filename

  The filename of the BibTeX citations source file. By default, this will be obtained from the content of the process instruction, if present, or otherwise from latex.bibfiles.

## D. DocBook Compliance and LaTeX Notes

This PI is not part of DocBook and is only supported by DB2LaTeX The formatting of the bibliography is performed by LaTeX and is not configurable by DB2LaTeX.

## F. Further Reading

- The DB2LaTeX mapping system latex.mapping.xsl: This template will use the `bibliography-chapter` or `bibliography-section` mapping.

Prev | Up | Next
bibliography | Home | bibliodiv