TEI Stylesheet family - tei-param.xsl

## The Text Encoding Initiative

# TEI Consortium XSLT stylesheets

Home | Guidelines | Projects | Tutorials | Software | History | FAQs | P5 | Consortium | Activities | SIGs | Join in/Contact | Members area
Stylesheet home page Summary Stylesheet List Template List

# tei-param.xsl

TEI stylesheet customization module for LaTeX output.
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
CVS Id:
tei-param.xsl 4801 2008-09-13 10:05:32Z rahtz
Copyright:
2008, TEI Consortium

## Parameters Summary

string baseURL - source
URL root where referenced documents are located
string classParameters - source
Optional parameters for documentclass
integer everyHowManyLines - source
When numbering poetry, how often to put in a line number
string latexGeometryOptions - source
Options to pass to the geometry package to set margins etc
string latexLogo - source
Logo graphics file
float pagebreakStyle - source
When processing a "pb" element, decide what to generate: "active" generates a page break; "visible" genrates a bracketed number (with scissors), and "bracketsonly" generates a bracketed number (without scissors)
boolean realFigures - source
Use real name of graphics files rather than pointers
boolean reencode - source
Whether or not to load LaTeX packages which attempt to process the UTF-8 characters
string resetVerseLineNumbering - source
When numbering poetry, when to restart the sequence; this must be the name of a TEI element
float tableMaxWidth - source
When making a table, what width must be constrained to fit, as a proportion of the page width
string userpackage - source
The name of a LaTeX style package which should be loaded
boolean verseNumbering - source
Whether to number lines of poetry

## Named Templates Summary

beginDocumentHook - source
[latex] Hook where LaTeX commands can be inserted after the beginning of the document
latexBabel - source
LaTeX babel setup
latexBegin - source
LaTeX setup at start of document
latexEnd - source
LaTeX setup at end of document
latexLayout - source
LaTeX layout preamble
latexPackages - source
LaTeX package setup
latexPreambleHook - source
[latex] Hook where LaTeX commands can be inserted in the preamble before the beginning of the document
latexSetup - source
LaTeX setup
printTitleAndLogo - source
[latex] Title banner

## Parameters Detail

string baseURL - source
URL root where referenced documents are located
Default:
string classParameters - source
Optional parameters for documentclass
Default: 11pt
integer everyHowManyLines - source
When numbering poetry, how often to put in a line number
Default: 5
string latexGeometryOptions - source
Options to pass to the geometry package to set margins etc
Default: twoside,a4paper,lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in
string latexLogo - source
Logo graphics file
Default:
float pagebreakStyle - source
When processing a "pb" element, decide what to generate: "active" generates a page break; "visible" genrates a bracketed number (with scissors), and "bracketsonly" generates a bracketed number (without scissors)
Default:
boolean realFigures - source
Use real name of graphics files rather than pointers
Default: true
boolean reencode - source
Whether or not to load LaTeX packages which attempt to process the UTF-8 characters
Set to "false" if you are using XeTeX or similar.
Default: true
string resetVerseLineNumbering - source
When numbering poetry, when to restart the sequence; this must be the name of a TEI element
Default: div1
float tableMaxWidth - source
When making a table, what width must be constrained to fit, as a proportion of the page width
Default: 0.85
string userpackage - source
The name of a LaTeX style package which should be loaded
Default:
boolean verseNumbering - source
Whether to number lines of poetry
Default: false

## Named Templates Detail

beginDocumentHook - source
[latex] Hook where LaTeX commands can be inserted after the beginning of the document
latexBabel - source
LaTeX babel setup
LaTeX loading of babel with options
latexBegin - source
LaTeX setup at start of document
All the LaTeX setup which are executed at the start of the document
latexEnd - source
LaTeX setup at end of document
All the LaTeX setup which are executed at the end of the document
latexLayout - source
LaTeX layout preamble
All the LaTeX setup which affects page layout
latexPackages - source
LaTeX package setup
Declaration of the LaTeX packages needed to implement this markup
latexPreambleHook - source
[latex] Hook where LaTeX commands can be inserted in the preamble before the beginning of the document
latexSetup - source
LaTeX setup
The basic LaTeX setup which you should not really tinker with unless you really understand why and how. Note that we need to set up a mapping here for Unicode 8421, 10100 and 10100 to glyphs for backslash and the two curly brackets, to provide literal characters. The normal characters remain active for LaTeX commands. Note that if $reencode is set to false, no input or output encoding packages are loaded, since it is assumed you are using a TeX variant capable of dealing with UTF-8 directly.
printTitleAndLogo - source
[latex] Title banner