Suggestions
Search:
 
Next:
latex.language.option
Previous:
latex.book.preamblestart
Up:
Variables and Templates used in LaTeX Preamble Generation
Reference Section

Name

document.xml.language — Select localisation language

Synopsis

<xsl:param name="document.xml.language">
		<xsl:call-template name="l10n.language">
			<xsl:with-param name="target" select="(/set|/book|/article)[1]"/>
			<!-- now, induce the use of $target rather than the current node: -->
			<xsl:with-param name="xref-context" select="true()"/>
		</xsl:call-template>
	</xsl:param>

A. Description

Chooses the “gentext” language for the document.

B. Pertinent Variables

There are no configuration variables for this template.

D. DocBook Compliance and LaTeX Notes

Selects the root set [2.0.9], book [2.0.9] or article [2.0.9] element and reads its lang or xml:lang attribute.

G. Uses

Documented templates that use this parameter: