20 September 2007Chris Ruotolo Converted to TEI P5
25 July 2007Sebastian Rahtz Revision #13
Introduction
This section describes how to produce a customization of the TEI
stylesheets. It describes all the parameters which you can set, the
templates which are designed to be changed, and the empty templates
provided into which you can add your own code.
There are 13 areas for customization. In most cases there are
parameters and templates which are specific to one of the three
output methods (HTML, FO and LaTeX), and those which are common to all
three.
Making HTML: example
You can simply refer to the specification html/tei.xsl
directly with your XSL processor, or install it locally on your own
server. For more flexibility, you may prefer to reference the
specifications from an XSL wrapper of your own. The minimal
specification would look like this:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="html/tei.xsl"/>
</xsl:stylesheet>
You can customize the result by adding to this wrapper file (see
previous section). The normal result will be a single stream of HTML
which you can save in a file. You can also configure it to produce
multiple output files, one per top-level div, div0,
or div1.
Standard page features
The default behaviour of the system is to construct each HTML page
with per-page navigation bars top and bottom, and a standard set of
navigation links underneath.
Variables
TypeNameDescriptionDefaultdepartment Name of department within institution [string]
homeLabel Name of link to home page of application [string]
HomehomeURLProject Home [anyURI]
http://www.tei-c.org/homeWordsProject [string]
TEIinstitution Institution [string]
A TEI ProjectparentURL Institution link [anyURI]
http://www.tei-c.org/parentWords Name of overall institution [string]
Parent InstitutionsearchURL Link to search application [anyURI]
http://www.google.comhtmlalignNavigationPanel
How to align the navigation panel at the bottom of the page
[string]
righthtmlbottomNavigationPanel
Display navigation panel at bottom of pages
[boolean]
truehtmlfeedbackURL
Link for feedback
[anyURI]
mailto:feedbackhtmlhtmlTitlePrefix
Fixed string to insert before normal page title in HTML meta
<title> element
[string]
htmllinkPanel
Make a panel with next page/previous page links [boolean]
true
Layout
There are three ways to provide a constant navigation aid. You can
either make the whole page into a table, where the first column has a table
of contents, or you can make an HTML frameset, or you can just have
a table of links on the left or right
Hypertext links present special problems, as we have to choose
whether they should start a new window, occupy all of the current
window, or stay within the frame. These stylesheets implement the
following rules:
Any ref or ptr link stays within the frameAny link containing :// uses the whole browser windowAny link starting . uses the whole browser windowIf the stylesheet sets no splitting of the document,
any xref or xptr link uses the whole browser
windowIf a xref or xptr link has a
rend attribute value of noframe, the whole browser
window is usedIf a xref or xptr link has a
rend attribute value of new, a new browser window
is started
Variables
TypeNameDescriptionDefaulthtmlconsecutiveFootnoteNumbers
Number footnotes consecutively
[boolean]
falsehtmlfootnoteBackLink
Link back from footnotes to reference
[boolean]
falsehtmlcontentStructureHow to use the front/body/back matter in creating
columns. [string]
bodyhtmldivOffsetThe difference between TEI div levels and HTML.
headings. [integer]
2htmlfootnoteFile
Make a separate file for footnotes
[boolean]
falsehtmllinksWidth
Width of left-hand column when $pageLayout is "Table"
[string]
15%htmlnavbarFileXML resource defining a navigation bar. [anyURI]
fobackMulticolumns
Put back matter in multiple columns
[boolean]
falsefobodyMarginBottom
Margin at bottom of text body
[string]
24ptfobodyMarginTop
Margin at top of text body
[string]
24ptfobodyMulticolumns
Put body matter in multiple columns
[boolean]
falsefobulletFour
Symbol for 4th level itemized list
[string]
+fobulletOne
Symbol for top-level itemized list
[string]
•fobulletThree
Symbol for 3rd level itemized list
[string]
*fobulletTwo
Symbol for 2nd level itemized list
[string]
–focolumnCount
Number of columns, when multiple-column work is requested
[integer]
1fodistanceBetweenStarts
XSL FO "provisional-distance-between starts"
[string]
18ptfodistanceBetweenGlossStarts
XSL FO "provisional-distance-between starts" for gloss lists
[string]
42ptfodivRunningheads
Display section headings in running heads
[boolean]
falsefoexampleAfter
Space below examples
[string]
4ptfoexampleBefore
Space above examples
[string]
4ptfoexampleMargin
Left margin for examples
[string]
12ptfoflowMarginLeft
Left margin of flow
[string]
foforcePageMaster
Which named page master name to use
[string]
foformatBackpage
How to format page numbers in back matter (use XSLT number format)
[string]
1foformatBodypage
How to format page numbers in main matter (use XSLT number format)
[string]
1foformatFrontpage
How to format page numbers in front matter (use XSLT number format)
[string]
ifofrontMulticolumns
Put front matter in multiple columns
[boolean]
falsefoindentBibl
Indentation for bibliography entries
[string]
1emfolabelSeparation
XSL FO "provisional-label-separation"
[string]
6ptfolistAbove-1
Space above lists at top level
[string]
6ptfolistAbove-2
Space above lists at 2nd level
[string]
4ptfolistAbove-3
Space above lists at 3rd level
[string]
0ptfolistAbove-4
Space above lists at 4th level
[string]
0ptfolistBelow-1
Space below lists at top level
[string]
6ptfolistBelow-2
Space below lists at 2nd level
[string]
4ptfolistBelow-3
Space below lists at 3rd level
[string]
0ptfolistBelow-4
Space below lists at 4th level
[string]
0ptfolistItemsep
Spacing between list items
[string]
4ptfolistLeftGlossIndent
Left margin for gloss lists
[string]
0.5infolistLeftGlossInnerIndent
Left margin for nested gloss lists
[string]
0.25infolistLeftIndent
Indentation for lists
[string]
0ptfolistRightMargin
Right margin for lists
[string]
10ptfopageHeight
Paper height
[string]
297mmfopageMarginBottom
Margin at bottom of text area
[string]
100ptfopageMarginLeft
Left margin
[string]
80ptfopageMarginRight
Right margin
[string]
150ptfopageMarginTop
Margin at top of text area
[string]
75ptfopageWidth
Paper width
[string]
211mmfoparIndent
Paragraph indentation
[string]
1emfoparSkip
Default spacing between paragraphs
[string]
0ptfoparSkipmax
Maximum space allowed between paragraphs
[string]
12ptforeadColSpecFile
External XML file containing specifications for column sizes for
tables in document
[anyURI]
foregionAfterExtent
Region after
[string]
14ptforegionBeforeExtent
Region before
[string]
14ptfosectionHeaders
Construct running headers from page number and section headings
[boolean]
truefospaceAfterBibl
Space after bibliography
[string]
0ptfospaceAroundTable
Space above and below a table
[string]
8ptfospaceBeforeBibl
Space above bibliography
[string]
4ptfospaceBelowCaption
Space below caption of figure or table
[string]
4ptfotitlePage
Make title page
[boolean]
truefotwoSided
Make 2-page spreads
[boolean]
truelatexclassParameters
Optional parameters for documentclass
[string]
11ptlatexlatexLogo
Logo graphics file
[string]
latexpagebreakStyle
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) [float]
latextableMaxWidth
When making a table, what width must be constrained to fit,
as a proportion of the page width [float]
0.85latexverseNumbering
Whether to number lines of poetry
[boolean]
falselatexeveryHowManyLines
When numbering poetry, how often to put in a line number
[integer]
5latexresetVerseLineNumbering
When numbering poetry, when to restart the sequence;
this must be the name of a TEI element
[string]
div1
Headings for sections can be customized in various ways.
Variables
TypeNameDescriptionDefaultautoHead Construct a heading
for <div> elements with no <head> [boolean]
headingNumberSuffix Punctuation to insert after a section
number [string]
<xsl:text>.</xsl:text>
<xsl:value-of
select="$numberSpacer"/>numberSpacer Character to put after number of
section header [string]
<xsl:text></xsl:text>
Templates
(for common)
How to make a heading for section if there is no
<head>
<xsl:choose>
<xsl:when
test="tei:head">
<xsl:apply-templates
mode="plain"
select="tei:head"/></xsl:when>
<xsl:when
test="@type">
<xsl:value-of
select="@type"/></xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text></xsl:otherwise></xsl:choose>
Numbering
Section headings, figures, tables and notes can be numbered
automatically. We can set the numbering of front matter and back
matter separately. If you prefer to supply your own numbering, using
the n attribute, you can choose this over automatic
numbering.
Normally, heading numbers are followed by . , but you can vary
this. This would let you use eg fixed spaces.
Variables
TypeNameDescriptionDefaultnumberBackFigures Automatically number figures in back
matter [boolean]
falsenumberBackHeadings How to construct heading numbering in
back matter [string]
A.1numberBackTables Automatically number tables in back
matter [boolean]
truenumberBodyHeadings How to construct heading numbering in
main matter [string]
1.1.1.1numberFigures Automatically number figures [boolean]
truenumberFrontFigures Automatically number figures in
front matter [boolean]
falsenumberFrontHeadings How to construct heading numbering in
front matter [string]
numberFrontTables Automatically number tables in front
matter [boolean]
truenumberHeadings Automatically number sections [boolean]
truenumberHeadingsDepth Depth to which sections should be
numbered [integer]
9numberTables Automatically number tables [boolean]
trueprenumberedHeadings Use value of "n" attribute to number
sections [boolean]
falsehtmlnumberParagraphs
Automatically number paragraphs [boolean]
false
Templates
(for common)
How to number sections in back matter
<xsl:if
test="not($numberBackHeadings='')">
<xsl:number
count="tei:div|tei:div0|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6"
format="A.1.1.1.1.1"
level="multiple"/></xsl:if>
(for common)
How to number sections in main matter
<xsl:if
test="$numberHeadings='true'">
<xsl:number
count="tei:div|tei:div0|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6"
level="multiple"/></xsl:if>
(for common)
How to number sections in front matter
<xsl:if
test="not($numberFrontHeadings='')">
<xsl:number
count="tei:div|tei:div0|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6"
level="multiple"/></xsl:if>
Output
You can set a name for the output file(s); if you ask for multiple
output files, this name will be used to create unique filenames for
each section. By default, results will go to wherever your XSLT
processor normally writes (usually standard output). If you opt to
have files created, you can specify the name of the directory where
the output is to be placed.
If you are making HTML, do you want a single output page, or a
separate one for each section of the document? You
can decide to have a different splitting policy for front and
back matter.
Variables
TypeNameDescriptionDefaultREQUEST The complete URL when the document is
being delivered from a web server (normally set by Apache or Cocoon) [string]
STDOUT Write to standard output channel [boolean]
truehtmlID
An ID passed to the stylesheet to indicate which section to display
[string]
htmlURLPREFIX
A path fragment to put before all internal URLs
[string]
htmloutputName
The name of the output file
[string]
htmloutputDir
Directory in which to place generated files [string]
htmloutputEncoding
Encoding of output file(s) [string]
iso-8859-1htmloutputMethod
Output method for output file(s) [string]
htmlhtmloutputSuffix
Suffix of output file(s) [string]
.htmlhtmldoctypePublic
Public Doctype of output file(s) [string]
-//W3C//DTD HTML 4.0 Transitional//ENhtmldoctypeSystem
System Doctype of output file(s) [string]
http://www.w3.org/TR/html4/loose.dtdhtmlpageLayoutThe style of HTML (Simple, CSS or Table) which creates the layout for generated pages. [string]
SimplehtmlrawXML
Pass through input essentially unchanged
[boolean]
falsehtmlsplitBackmatter
Break back matter into separate HTML pages (if splitting enabled) [boolean]
truehtmlsplitFrontmatter
Break front matter into separate HTML pages (if splitting enabled) [boolean]
truehtmlsplitLevelLevel at which to split sections. [integer]
-1htmlstandardSuffix
Suffix for generated output files [string]
<xsl:choose>
<xsl:when
test="$rawXML='true'">.xml</xsl:when>
<xsl:when
test="tei:teiCorpus">.html</xsl:when>
<xsl:when
test="$STDOUT='true'"/>
<xsl:otherwise>
<xsl:value-of
select="$outputSuffix"/></xsl:otherwise></xsl:choose>htmltopNavigationPanel
Display navigation panel at top of pages [boolean]
truehtmlurlChunkPrefix
How to specify infra-document links [string]
?ID=htmluseIDsConstruct links using existing ID values. [boolean]
truehtmlvirtualPages
Whether to make split pages appear virtually
as layers in HTML, or physically as separate
pages or server requests [boolean]
falsehtmlxhtml
Make XHTML-compatible markup
[boolean]
falsefolanguage
Language (for hyphenation)
[string]
en_USfofoEngineName of intended XSL FO engine [string]
latexbaseURL
URL root where referenced documents are located
[string]
latexreencode
Whether or not to load LaTeX packages which attempt to
process the UTF-8 characters [boolean]
truelatexrealFigures
Use real name of graphics files rather than pointers
[boolean]
true
Table of contents generation
You probably want tables of contents built for your document, using
the div structure. However, if you have used a divGen
type="toc" explicitly, that will also create a table of contents,
so you can suppress the automatic one. When a table of contents is
created, you choose how many levels of headings it will show.
You can choose whether or not the front and backmatter appear
in the table of contents.
Variables
TypeNameDescriptionDefaulthtmlautoToc
Make an automatic table of contents
[boolean]
truehtmlclass_subtoc
CSS class for second-level TOC entries
[string]
subtochtmlsubTocDepthDepth at which to stop doing a recursive table of
contents. [integer]
-1htmltocBack
Include the back matter in the table of contents [boolean]
truehtmltocDepth
Depth to which table of contents is constructed [string]
5htmltocFront
Include the front matter in the table of contents [boolean]
truehtmltocElement
Which HTML element to wrap each TOCs entry in [string]
phtmltocContainerElement
Which HTML element to wrap each TOC sections in [string]
divhtmlrefDocFooterText
Text to link back to from foot of ODD reference pages
[string]
TEI GuidelineshtmlrefDocFooterURL
URL to link back to from foot of ODD reference pages
[anyURI]
index.htmlfodiv0Tocindent
Indentation for level 0 TOC entries
[string]
0infodiv1Tocindent
Indentation for level 1 TOC entries
[string]
0.25infodiv2Tocindent
Indentation for level 2 TOC entries
[string]
0.5infodiv3Tocindent
Indentation for level 3 TOC entries
[string]
0.75infodiv4Tocindent
Indentation for level 4 TOC entries
[string]
1infotocBack
Make TOC for sections in <back>
[boolean]
truefotocFront
Make TOC for sections in <front>
[boolean]
truefotocNumberSuffix
Punctuation to insert after a section number in a TOC
[string]
. fotocStartPage
Page number on which TOC should start
[integer]
1
Internationalization
At various places, the system has to create text. You can choose
the words it uses (eg translate them to another language).
CSS
Setting up material for the CSS file to accompany HTML output.
Variables
TypeNameDescriptionDefaultclass_toc CSS class for TOC entries [string]
tochtmlclass_ptr
CSS class for links derived from <ptr>
[string]
ptrhtmlclass_ref
CSS class for links derived from <ref>
[string]
refhtmlclass_xptr
CSS class for links derived from <xptr>
[string]
xptrhtmlclass_xref
CSS class for links derived from <xref>
[string]
xrefhtmlcssFile
CSS style file to be associated with output file(s)
[anyURI]
http://www.tei-c.org/stylesheet/tei.csshtmlcssPrintFile
Secondary CSS style file; this will be given a media=screen attribute,
so that it does not affect printing [anyURI]
htmlcssSecondaryFile
CSS style file for print; this will be given a media=print attribute [anyURI]
Tables
Default behaviour of table elements.
Variables
TypeNameDescriptionDefaultcellAlign Default alignment of table cells [string]
lefttableAlign Default alignment of tables [string]
leftfodefaultCellLabelBackground
Default colour for background of table cells which are labelling rows
or columns [string]
silverfoinlineTables
Force tables to appear inline
[boolean]
falsefomakeTableCaption
Put a caption on tables
[boolean]
truefotableCaptionAlign
Alignment of table captions
[string]
centerfotableCellPadding
Default padding on table cells
[string]
2pt
Sometimes you need to prefix the names of all graphics files with
a directory name or a URL, or provide a default suffix.
You can also tell figure elements whether or not to
produce anything.
Variables
TypeNameDescriptionDefaultgraphicsPrefixDirectory specification to put before names of graphics files,
unless they start with "./" [string]
graphicsSuffix Default file suffix for graphics files,
if not directly specified [string]
.pngstandardScale Scaling of imported graphics [decimal]
1htmldpi
Resolution of images [integer]
96htmlshowFigures
Display figures [boolean]
truefoautoScaleFigures
How to scale figures if no width and height specified (pass to XSL FO content-width)
[string]
focaptionInlineFigures
Put captions on inline figures
[boolean]
falsefoshowFloatHead
Show the contents of <head> in a cross-reference to table or figure
[boolean]
falsefoshowFloatLabel
Show a title for figures or tables (eg Table or Figure) in a cross-reference
[boolean]
falsefoxrefShowPage
Show the page number in a cross-reference to table or figure
[boolean]
false
Templates
(for fo)
Set attributes for display of figures
<xsl:attribute
name="text-align">center</xsl:attribute>
<xsl:attribute
name="font-style">italic</xsl:attribute>
<xsl:attribute
name="end-indent">
<xsl:value-of
select="$exampleMargin"/></xsl:attribute>
<xsl:attribute
name="start-indent">
<xsl:value-of
select="$exampleMargin"/></xsl:attribute>
Style
You can choose lots of features which affect the font, size, etc
What font to use for URLs.Whether titles, dates and authors are shown.Whether headings of objects are included in cross-references.
Variables
TypeNameDescriptionDefaultpagebreakStyle Display of <pb> element [string]
nonedisplayMode How to display Relax NG schema fragments
(rnc or rng) [string]
rncminimalCrossRef Provide minimal context for a link [boolean]
falsepostQuote Character to insert at end of quote [string]
’preQuote Character to insert at start of quote [string]
‘htmlurlMarkup
HTML element to put around visible text of display URLs
[string]
spanfoactiveLinebreaks
Make <lb> active (ie cause a line break)
[boolean]
truefoalignment
Alignment of text (ie justified or ragged)
[string]
justifyfoauthorSize
Font size for display of author name
[string]
14ptfobiblSize
Font size for bibliography
[string]
16ptfobodyFont
Default font for body
[string]
TimesfobodyMaster
Default font size for body (without dimension)
[string]
10fobodySize
Calculation of normal body font size (add dimension)
[string]
<xsl:value-of
select="$bodyMaster"/>
<xsl:text>pt</xsl:text>fodateSize
Font size for display of date
[string]
14ptfodivFont
Font for section headings
[string]
TimesfoexampleColor
Colour for display of <eg> blocks [string]
blackfoexampleBackgroundColor
Colour for background display of <eg> blocks [string]
yellowfoexampleSize
Calculation of font size for examples (add dimension)
[string]
<xsl:value-of
select="$bodyMaster * 0.8"/>
<xsl:text>pt</xsl:text>fofootnoteSize
Font size for footnotes
[string]
8ptfofootnotenumSize
Font size for footnote numbers
[string]
7ptfogiColor
Colour for display of element names
[string]
blackfoheadingOutdent
Indentation of headings
[string]
-3emfohyphenate
Hyphenate text
[boolean]
truefoidentColor
Colour for display of <ident> values
Customization parameter [string]
blackforunFont
Font family for running header and footer
[string]
sans-serifforunSize
Font size for running header and footer
[string]
9ptfosansFont
Sans-serif font
[string]
HelveticafosmallSize
Calculation of small font size (add dimension)
[string]
<xsl:value-of
select="$bodyMaster * 0.9"/>
<xsl:text>pt</xsl:text>fotableSize
Create font size for tables, by reference to $bodyMaster
[string]
<xsl:value-of
select="$bodyMaster * 0.9"/>
<xsl:text>pt</xsl:text>fotitleSize
Font size for display of title
[string]
16ptfotocSize
Font size for TOC heading
[string]
16ptfotypewriterFont
Font for literal code
[string]
Courier
Templates
(for fo)
How to display section headings in a cross-reference
<xsl:param
name="head">
<xsl:apply-templates
mode="section"
select="tei:head"/></xsl:param>
<xsl:text>(</xsl:text>
<xsl:value-of
select="normalize-space($head)"/>
<xsl:text>)</xsl:text>
(for fo)
Set attributes for display of links
<xsl:attribute
name="text-decoration">underline</xsl:attribute>
(for fo)
Set attributes for display of heading for chapters (level 0)
<xsl:attribute
name="font-size">18pt</xsl:attribute>
<xsl:attribute
name="text-align">left</xsl:attribute>
<xsl:attribute
name="font-weight">bold</xsl:attribute>
<xsl:attribute
name="space-after">6pt</xsl:attribute>
<xsl:attribute
name="space-before.optimum">12pt</xsl:attribute>
<xsl:attribute
name="text-indent">
<xsl:value-of
select="$headingOutdent"/></xsl:attribute>
(for fo)
Set attributes for display of heading for 1st level sections
<xsl:attribute
name="font-size">14pt</xsl:attribute>
<xsl:attribute
name="text-align">left</xsl:attribute>
<xsl:attribute
name="font-weight">bold</xsl:attribute>
<xsl:attribute
name="space-after">3pt</xsl:attribute>
<xsl:attribute
name="space-before.optimum">9pt</xsl:attribute>
<xsl:attribute
name="text-indent">
<xsl:value-of
select="$headingOutdent"/></xsl:attribute>
(for fo)
Set attributes for display of heading for 2nd level sections
<xsl:attribute
name="font-size">12pt</xsl:attribute>
<xsl:attribute
name="text-align">left</xsl:attribute>
<xsl:attribute
name="font-weight">bold</xsl:attribute>
<xsl:attribute
name="font-style">italic</xsl:attribute>
<xsl:attribute
name="space-after">2pt</xsl:attribute>
<xsl:attribute
name="space-before.optimum">4pt</xsl:attribute>
<xsl:attribute
name="text-indent">
<xsl:value-of
select="$headingOutdent"/></xsl:attribute>
(for fo)
Set attributes for display of heading for 3rd level sections
<xsl:attribute
name="font-size">10pt</xsl:attribute>
<xsl:attribute
name="text-align">left</xsl:attribute>
<xsl:attribute
name="font-style">italic</xsl:attribute>
<xsl:attribute
name="space-after">0pt</xsl:attribute>
<xsl:attribute
name="space-before.optimum">4pt</xsl:attribute>
<xsl:attribute
name="text-indent">
<xsl:value-of
select="$headingOutdent"/></xsl:attribute>
(for fo)
Set attributes for display of heading for 4th level sections
<xsl:attribute
name="font-size">10pt</xsl:attribute>
<xsl:attribute
name="space-before.optimum">4pt</xsl:attribute>
<xsl:attribute
name="text-indent">
<xsl:value-of
select="$headingOutdent"/></xsl:attribute>
(for fo)
How to display the link text of a <ptr>
<xsl:param
name="dest"/>
<xsl:value-of
select="$dest"/>
Hooks
A set of templates which are empty by default; they can be used
to add code at strategic points. The content must be valid XSLT.
Variables
TypeNameDescriptionDefault
Templates
(for html)
Hook where HTML can be inserted just after <body>
(for html)
Hook where HTML can be inserted just before the
<body> ends.
(for html)
Hook where Javascript calls can be inserted just after <body>
(for html)
Hook where extra CSS can be inserted
(for html)
Hook where code can be added to the HTML <head>.
(for html)
Hook where HTML can be inserted when creating an <img>
(for html)
Hook where extra Javascript functions can be defined
(for html)
Hook where HTML can be inserted just before the <address>
(for html)
Hook where HTML can be inserted at the start of
processing each section
(for html)
Hook where HTML can be inserted at the beginning
of the main text, after the header
(for html)
Hook where HTML can be inserted after processing <TEI>
(for html)
Hook where HTML can be inserted before processing <TEI>
(for html)
Hook where HTML can be inserted when creating an
<a> element
(for fo)
Hook where extra material can be inserted after the
<body> has been processed
(for fo)
Hook where work can be done at the start of each block
(for fo)
Hook where extra page masters can be defined
(for latex)
Hook where LaTeX commands can be inserted after
the beginning of the document
(for latex)
Hook where LaTeX commands can be inserted in the
preamble before the beginning of the document
Miscellaneous and advanced
Finally, some miscellaneous or advanced features which you probably won't
use much.
Variables
TypeNameDescriptionDefaultteixslHome The home page for these stylesheets [anyURI]
http://www.tei-c.org/Stylesheets/teic/teiP4Compat Process elements according to assumptions
of TEI P4 [boolean]
falseuseHeaderFrontMatter Title, author and date is taken from the
<teiHeader> rather than looked for in the front matter [boolean]
falsehtmlgenerateParagraphIDs
Generate a unique ID for all paragraphs
[boolean]
truehtmlrendSeparatorCharacter separating values in a rend attribute. [string]
;htmlshowTitleAuthor
Show a title and author at start of document
[boolean]
falsehtmlverbose
Be talkative while working [boolean]
false