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 library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Author: See AUTHORS

Id: $Id: tei-param.xsl 9408 2011-09-27 20:09:13Z rahtz $

Copyright: 2011, 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 header
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:when test="@type">
      <xsl:text>[</xsl:text>
      <xsl:value-of select="@type"/>
      <xsl:text>]</xsl:text>
    </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 header
References
Parameter numberSpacer
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 header
References
Parameter numberBackHeadings
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 header
References
Parameter numberHeadings
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 header
References
Parameter numberSpacer
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
Import precedence 0
Source
<xsl:template name="sectionHeadHook"/>
Stylesheet location ../common2/tei-param.xsl
Parameter outputTarget
Documentation

Description

Type of output being generated
Namespace No namespace
Used by
Template header
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 header
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
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
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

Construct a heading for <div> elements with no <head>
Namespace No namespace
Used by
Template header
Source
<xsl:param name="autoHead"/>
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
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
Source
<xsl:param name="homeLabel">Home</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter homeURL
Documentation

Description

Project Home
Namespace No namespace
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
Source
<xsl:param name="homeWords">TEI</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter institution
Documentation

Description

Institution
Namespace No namespace
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
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
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
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
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 makeTEILink
Source
<xsl:param name="teiP4Compat">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter useHeaderFrontMatter
Documentation

Description

Title, author and date is taken from the <teiHeader> rather than looked for in the front matter
Namespace No namespace
Used by
Source
<xsl:param name="useHeaderFrontMatter">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter useFixedDate
Documentation

Description

Whether to attempt to work out a current date (set to true for test results which won't differ
Namespace No namespace
Used by
Source
<xsl:param name="useFixedDate">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberBackFigures
Documentation

Description

Automatically number figures in back matter
Namespace No namespace
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
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 numberBodyHeadings
Documentation

Description

How to construct heading numbering in main matter
Namespace No namespace
Source
<xsl:param name="numberBodyHeadings">1.1.1.1</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberFigures
Documentation

Description

Automatically number figures
Namespace No namespace
Used by
Template tei:figurexref
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
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
Templates header; tei:head
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
Used by
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 header
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 tei:tablexref
Source
<xsl:param name="numberTables">true</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter numberParagraphs
Documentation

Description

Use value of "n" attribute to number sections

Description

Automatically number paragraphs.
Namespace No namespace
Used by
Template tei:p
Source
<xsl:param name="numberParagraphs">false</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter prenumberedHeadings
Namespace No namespace
Used by
Template header
Source
<xsl:param name="prenumberedHeadings">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
Template mainDocument
Source
<xsl:param name="REQUEST"/>
Stylesheet location ../common2/tei-param.xsl
Parameter STDOUT
Documentation

Description

Write to standard output channel
Namespace No namespace
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
Overriding
Parameter pagebreakStyle
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
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
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
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 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
Used by
Template latexLayout
Source
<xsl:param name="parIndent">1em</xsl:param>
Stylesheet location ../common2/tei-param.xsl
Parameter parSkip
Documentation

Description

Default spacing between paragraphs
Namespace No namespace
Used by
Template latexLayout
Source
<xsl:param name="parSkip">0pt</xsl:param>
Stylesheet location ../common2/tei-param.xsl