Mode:

Compact lists

Showing:

Documentation
Parameters
Used by
References
Overriding
Imported from
Source
Stylesheet tei-param.xsl
Documentation

Description

TEI stylesheet customization module, common for all output formats.

This software is dual-licensed: 1. Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-sa/3.0/ 2. http://www.opensource.org/licenses/BSD-2-Clause All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Author: See AUTHORS

Id: $Id: tei-param.xsl 12078 2013-05-05 12:51:58Z rahtz $

Copyright: 2013, TEI Consortium

Imported from
Stylesheet version 2.0
Template autoMakeHead
Documentation

Description

[common] How to make a heading for section if there is no <head>
Namespace No namespace
Used by
Template
Parameters
QName Namespace
display No namespace
Import precedence 0
Source
<xsl:template name="autoMakeHead">
  <xsl:param name="display"/>
  <xsl:choose>
    <xsl:when test="tei:head and $display='full'">
      <xsl:apply-templates select="tei:head" mode="makeheading"/>
    </xsl:when>
    <xsl:when test="tei:head">
      <xsl:apply-templates select="tei:head" mode="plain"/>
    </xsl:when>
    <xsl:when test="tei:front/tei:head">
      <xsl:apply-templates select="tei:front/tei:head" mode="plain"/>
    </xsl:when>
    <xsl:when test="@n">
      <xsl:value-of select="@n"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:text></xsl:text>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location ../common2/tei-param.xsl
Template headingNumberSuffix
Documentation

Description

Punctuation to insert after a section number
Namespace No namespace
Used by
Template
References
Parameter
Import precedence 0
Source
<xsl:template name="headingNumberSuffix">
  <xsl:text>.</xsl:text>
  <xsl:value-of select="$numberSpacer"/>
</xsl:template>
Stylesheet location ../common2/tei-param.xsl
Template numberBackDiv
Documentation

Description

[common] How to number sections in back matter
Namespace No namespace
Used by
Template
References
Parameter
Import precedence 0
Source
<xsl:template name="numberBackDiv">
  <xsl:if test="not($numberBackHeadings='')">
    <xsl:number count="tei:div|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6" format="A.1.1.1.1.1" level="multiple"/>
  </xsl:if>
</xsl:template>
Stylesheet location ../common2/tei-param.xsl
Template numberBodyDiv
Documentation

Description

[common] How to number sections in main matter
Namespace No namespace
Used by
Template
References
Parameter
Import precedence 0
Source
<xsl:template name="numberBodyDiv">
  <xsl:if test="$numberHeadings='true'">
    <xsl:number count="tei:div|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6" level="multiple"/>
  </xsl:if>
</xsl:template>
Stylesheet location ../common2/tei-param.xsl
Template numberFrontDiv
Documentation

Description

[common] How to number sections in front matter
Namespace No namespace
Used by
Template
References
Parameter
Parameters
QName Namespace
minimal No namespace
Import precedence 0
Source
<xsl:template name="numberFrontDiv">
  <xsl:param name="minimal"/>
  <xsl:number count="tei:div|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6" level="multiple"/>
  <xsl:if test="$minimal='false'">
    <xsl:value-of select="$numberSpacer"/>
  </xsl:if>
</xsl:template>
Stylesheet location ../common2/tei-param.xsl
Template sectionHeadHook
Documentation

Description

[common] Hook where actions can be inserted when making a heading
Namespace No namespace
Used by
Import precedence 0
Source
<xsl:template name="sectionHeadHook"/>
Stylesheet location ../common2/tei-param.xsl
Template attDefHook
Documentation

Description

[common] Hook where actions can be inserted when processing an attDef Used in Guidelines output to create an anchor/link pilcrow.

Description

 Addition by Martin Holmes 2012-07-15 for ticket http://purl.org/tei/fr/3511134     
Namespace No namespace
Parameters
QName Namespace
attName No namespace
Import precedence 0
Source
<xsl:template name="attDefHook">
  <xsl:param name="attName"/>
</xsl:template>
Stylesheet location ../common2/tei-param.xsl
Parameter outputTarget
Documentation

Description

Type of output being generated
Namespace No namespace
Used by
Source
<xsl:param name="outputTarget">html</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter class_toc
Documentation

Description

CSS class for TOC entries
Namespace No namespace
Used by
Template
Source
<xsl:param name="class_toc">toc</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter graphicsPrefix
Documentation

Description

Directory specification to put before names of graphics files, unless they start with "./"
Namespace No namespace
Used by
Template
Source
<xsl:param name="graphicsPrefix"/>
Stylesheet location ../common2/tei-param.xsl
Parameter graphicsSuffix
Documentation

Description

Default file suffix for graphics files, if not directly specified
Namespace No namespace
Used by
Template
Source
<xsl:param name="graphicsSuffix">.png</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter standardScale
Documentation

Description

Scaling of imported graphics
Namespace No namespace
Used by
Source
<xsl:param name="standardScale">1</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter autoHead
Documentation

Description

Whether to construct a heading for <div> elements with no <head> - by default, not.
Namespace No namespace
Used by
Source
<xsl:param name="autoHead">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberSpacer
Documentation

Description

Character to put after number of section header
Namespace No namespace
Used by
Source
<xsl:param name="numberSpacer">
  <xsl:text> </xsl:text>
</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter department
Documentation

Description

Name of department within institution
Namespace No namespace
Used by
Template
Source
<xsl:param name="department"/>
Stylesheet location ../common2/tei-param.xsl
Parameter homeLabel
Documentation

Description

Name of link to home page of application
Namespace No namespace
Used by
Source
<xsl:param name="homeLabel">Home</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter homeURL
Documentation

Description

Project Home
Namespace No namespace
Used by
Source
<xsl:param name="homeURL">http://www.tei-c.org/</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter homeWords
Documentation

Description

Project
Namespace No namespace
Used by
Template
Source
<xsl:param name="homeWords">TEI</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter institution
Documentation

Description

Institution
Namespace No namespace
Used by
Template
Source
<xsl:param name="institution">A TEI Project</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter parentURL
Documentation

Description

Institution link
Namespace No namespace
Used by
Templates
Source
<xsl:param name="parentURL">http://www.tei-c.org/</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter parentWords
Documentation

Description

Name of overall institution
Namespace No namespace
Used by
Templates
Source
<xsl:param name="parentWords">Parent Institution</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter searchURL
Documentation

Description

Link to search application
Namespace No namespace
Used by
Template
Source
<xsl:param name="searchURL">http://www.google.com</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter teixslHome
Documentation

Description

The home page for these stylesheets
Namespace No namespace
Used by
Template
Source
<xsl:param name="teixslHome">http://www.tei-c.org/Stylesheets/</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter teiP4Compat
Documentation

Description

Process elements according to assumptions of TEI P4
Namespace No namespace
Used by
Template
Source
<xsl:param name="teiP4Compat">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter headInXref
Documentation

Description

[common] Whether cross-reference to a figure or table includes its caption
Namespace No namespace
Used by
Source
<xsl:param name="headInXref">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberBackFigures
Documentation

Description

Automatically number figures in back matter
Namespace No namespace
Used by
Source
<xsl:param name="numberBackFigures">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberBackHeadings
Documentation

Description

How to construct heading numbering in back matter
Namespace No namespace
Used by
Templates
Source
<xsl:param name="numberBackHeadings">A.1</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberBackTables
Documentation

Description

Automatically number tables in back matter
Namespace No namespace
Source
<xsl:param name="numberBackTables">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberFigures
Documentation

Description

Automatically number figures
Namespace No namespace
Used by
Source
<xsl:param name="numberFigures">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberFrontFigures
Documentation

Description

Automatically number figures in front matter
Namespace No namespace
Used by
Source
<xsl:param name="numberFrontFigures">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberFrontHeadings
Documentation

Description

How to construct heading numbering in front matter
Namespace No namespace
Used by
Template
Source
<xsl:param name="numberFrontHeadings"/>
Stylesheet location ../common2/tei-param.xsl
Parameter numberFrontTables
Documentation

Description

Automatically number tables in front matter
Namespace No namespace
Source
<xsl:param name="numberFrontTables">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberHeadings
Documentation

Description

Automatically number sections
Namespace No namespace
Overriding
Parameter
Source
<xsl:param name="numberHeadings">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberHeadingsDepth
Documentation

Description

Depth to which sections should be numbered
Namespace No namespace
Used by
Template
Source
<xsl:param name="numberHeadingsDepth">9</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberTables
Documentation

Description

Automatically number tables
Namespace No namespace
Used by
Template
Source
<xsl:param name="numberTables">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter prenumberedHeadings
Documentation

Description

Use value of "n" attribute to number sections
Namespace No namespace
Used by
Template
Source
<xsl:param name="prenumberedHeadings">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberParagraphs
Documentation

Description

Automatically number paragraphs.
Namespace No namespace
Used by
Template
Source
<xsl:param name="numberParagraphs">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter REQUEST
Documentation

Description

The complete URL when the document is being delivered from a web server (normally set by Apache or Cocoon)
Namespace No namespace
Used by
Templates
Variable
Source
<xsl:param name="REQUEST"/>
Stylesheet location ../common2/tei-param.xsl
Parameter STDOUT
Documentation

Description

Write to standard output channel
Namespace No namespace
Overriding
Parameter
Source
<xsl:param name="STDOUT">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter pagebreakStyle
Documentation

Description

Display of <pb> element. Choices are "visible", "active" and "none".
Namespace No namespace
Used by
Template
Source
<xsl:param name="pagebreakStyle">visible</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter displayMode
Documentation

Description

How to display Relax NG schema fragments (rnc or rng)
Namespace No namespace
Source
<xsl:param name="displayMode">rnc</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter minimalCrossRef
Documentation

Description

Provide minimal context for a link
Namespace No namespace
Used by
Source
<xsl:param name="minimalCrossRef">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter postQuote
Documentation

Description

Character to insert at end of quote.
Namespace No namespace
Used by
Templates
Source
<xsl:param name="postQuote"></xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter preQuote
Documentation

Description

Character to insert at start of quote
Namespace No namespace
Used by
Templates
Source
<xsl:param name="preQuote"></xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter cellAlign
Documentation

Description

Default alignment of table cells
Namespace No namespace
Used by
Template
Source
<xsl:param name="cellAlign">left</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter tableAlign
Documentation

Description

Default alignment of tables
Namespace No namespace
Source
<xsl:param name="tableAlign">left</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter consecutiveFNs
Documentation

Description

Number footnotes consecutively
Namespace No namespace
Used by
Template
Source
<xsl:param name="consecutiveFNs">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter autoEndNotes
Documentation

Description

Make all notes into endnotes
Namespace No namespace
Used by
Source
<xsl:param name="autoEndNotes">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter oddWeaveLite
Documentation

Description

Whether to make simplified display of ODD
Namespace No namespace
Source
<xsl:param name="oddWeaveLite">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter parIndent
Documentation

Description

Paragraph indentation
Namespace No namespace
Source
<xsl:param name="parIndent">1em</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter biblioStyle
Documentation

Description

Style for formatted bibliography
Namespace No namespace
Used by
Template
Source
<xsl:param name="biblioStyle"/>
Stylesheet location ../common2/tei-param.xsl
Parameter parSkip
Documentation

Description

Default spacing between paragraphs
Namespace No namespace
Source
<xsl:param name="parSkip">0pt</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter langAttributeName
Namespace No namespace
Source
<xsl:param name="langAttributeName">xml:lang</xsl:param>
Stylesheet location ../common2/tei-param.xsl