The Text Encoding Initiative

TEI Consortium XSLT stylesheets

Home | Guidelines | Projects | Tutorials | Software | History | FAQs | P5 | Consortium | Activities | SIGs | Join in/Contact | Members area

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 5025 2008-12-03 12:25:40Z rahtz
Copyright:
2008, TEI Consortium

Parameters Summary

string baseURL - source
URL root where referenced documents are located
Optional parameters for documentclass
When numbering poetry, how often to put in a line number
Options to pass to the geometry package to set margins etc
string latexLogo - source
Logo graphics file
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
When numbering poetry, when to restart the sequence; this must be the name of a TEI element
When making a table, what width must be constrained to fit, as a proportion of the page width
The name of a LaTeX style package which should be loaded
Whether to number lines of poetry

Named Templates Summary

[latex] Hook where LaTeX commands can be inserted after the beginning of the document
LaTeX babel setup
LaTeX setup at start of document
LaTeX setup at end of document
LaTeX layout preamble
LaTeX package setup
[latex] Hook where LaTeX commands can be inserted in the preamble before the beginning of the document
LaTeX setup
[latex] Title banner

Parameters Detail

string baseURL - source
URL root where referenced documents are located
 
Default:
Optional parameters for documentclass
 
Default: 11pt
When numbering poetry, how often to put in a line number
 
Default: 5
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:
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
When numbering poetry, when to restart the sequence; this must be the name of a TEI element
 
Default: div1
When making a table, what width must be constrained to fit, as a proportion of the page width
Default: 0.85
The name of a LaTeX style package which should be loaded
 
Default:
Whether to number lines of poetry
 
Default: false

Named Templates Detail

[latex] Hook where LaTeX commands can be inserted after the beginning of the document
 
LaTeX babel setup
LaTeX loading of babel with options
LaTeX setup at start of document
All the LaTeX setup which are executed at the start of the document
LaTeX setup at end of document
All the LaTeX setup which are executed at the end of the document
LaTeX layout preamble
All the LaTeX setup which affects page layout
LaTeX package setup
Declaration of the LaTeX packages needed to implement this markup
[latex] Hook where LaTeX commands can be inserted in the preamble before the beginning of the document
 
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.
[latex] Title banner