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 fo 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

boolean activeLinebreaks - source
Make <lb> active (ie cause a line break)
string alignment - source
Alignment of text (ie justified or ragged)
string authorSize - source
Font size for display of author name
string autoScaleFigures - source
How to scale figures if no width and height specified (pass to XSL FO content-width)
boolean backMulticolumns - source
Put back matter in multiple columns
string biblSize - source
Font size for bibliography
string bodyFont - source
Default font for body
string bodyMarginBottom - source
Margin at bottom of text body
string bodyMarginTop - source
Margin at top of text body
string bodyMaster - source
Default font size for body (without dimension)
boolean bodyMulticolumns - source
Put body matter in multiple columns
string bodySize - source
Calculation of normal body font size (add dimension)
string bulletFour - source
Symbol for 4th level itemized list
string bulletOne - source
Symbol for top-level itemized list
string bulletThree - source
Symbol for 3rd level itemized list
string bulletTwo - source
Symbol for 2nd level itemized list
boolean captionInlineFigures - source
Put captions on inline figures
integer columnCount - source
Number of columns, when multiple-column work is requested
string dateSize - source
Font size for display of date
string defaultCellLabelBackground - source
Default colour for background of table cells which are labelling rows or columns
string distanceBetweenBiblStarts - source
XSL FO "provisional-distance-between starts" for bibliographies
string distanceBetweenGlossStarts - source
XSL FO "provisional-distance-between starts" for gloss lists
string distanceBetweenStarts - source
XSL FO "provisional-distance-between starts"
string div0Tocindent - source
Indentation for level 0 TOC entries
string div1Tocindent - source
Indentation for level 1 TOC entries
string div2Tocindent - source
Indentation for level 2 TOC entries
string div3Tocindent - source
Indentation for level 3 TOC entries
string div4Tocindent - source
Indentation for level 4 TOC entries
string div5Tocindent - source
Indentation for level 5 TOC entries
string divFont - source
Font for section headings
boolean divRunningheads - source
Display section headings in running heads
string exampleAfter - source
Space below examples
string exampleBackgroundColor - source
Colour for background display of <eg> blocks
string exampleBefore - source
Space above examples
string exampleColor - source
Colour for display of <eg> blocks
string exampleMargin - source
Left margin for examples
string exampleSize - source
Calculation of font size for examples (add dimension)
string flowMarginLeft - source
Left margin of flow
string foEngine - source
Name of intended XSL FO engine
string footnoteSize - source
Font size for footnotes
string footnotenumSize - source
Font size for footnote numbers
string forcePageMaster - source
Which named page master name to use
string formatBackpage - source
How to format page numbers in back matter (use XSLT number format)
string formatBodypage - source
How to format page numbers in main matter (use XSLT number format)
string formatFrontpage - source
How to format page numbers in front matter (use XSLT number format)
boolean frontMulticolumns - source
Put front matter in multiple columns
string giColor - source
Colour for display of element names
string headingOutdent - source
Indentation of headings
boolean hyphenate - source
Hyphenate text
string identColor - source
Colour for display of <ident> values Customization parameter
boolean inlineTables - source
Force tables to appear inline
string labelSeparation - source
XSL FO "provisional-label-separation"
string language - source
Language (for hyphenation)
string listAbove-1 - source
Space above lists at top level
string listAbove-2 - source
Space above lists at 2nd level
string listAbove-3 - source
Space above lists at 3rd level
string listAbove-4 - source
Space above lists at 4th level
string listBelow-1 - source
Space below lists at top level
string listBelow-2 - source
Space below lists at 2nd level
string listBelow-3 - source
Space below lists at 3rd level
string listBelow-4 - source
Space below lists at 4th level
string listItemsep - source
Spacing between list items
string listLeftGlossIndent - source
Left margin for gloss lists
string listLeftGlossInnerIndent - source
Left margin for nested gloss lists
string listLeftIndent - source
Indentation for lists
string listRightMargin - source
Right margin for lists
boolean makeTableCaption - source
Put a caption on tables
string pageHeight - source
Paper height
string pageMarginBottom - source
Margin at bottom of text area
string pageMarginLeft - source
Left margin
string pageMarginRight - source
Right margin
string pageMarginTop - source
Margin at top of text area
string pageWidth - source
Paper width
string parIndent - source
Paragraph indentation
string parSkip - source
Default spacing between paragraphs
string parSkipmax - source
Maximum space allowed between paragraphs
anyURI readColSpecFile - source
External XML file containing specifications for column sizes for tables in document
string regionAfterExtent - source
Region after
string regionBeforeExtent - source
Region before
string runFont - source
Font family for running header and footer
string runSize - source
Font size for running header and footer
string sansFont - source
Sans-serif font
boolean sectionHeaders - source
Construct running headers from page number and section headings
boolean showFloatHead - source
Show the contents of <head> in a cross-reference to table or figure
boolean showFloatLabel - source
Show a title for figures or tables (eg Table or Figure) in a cross-reference
string smallSize - source
Calculation of small font size (add dimension)
string spaceAfterBibl - source
Space after bibliography
string spaceAroundTable - source
Space above and below a table
string spaceBeforeBibl - source
Space above bibliography
string spaceBelowCaption - source
Space below caption of figure or table
string tableCaptionAlign - source
Alignment of table captions
string tableCellPadding - source
Default padding on table cells
string tableSize - source
Create font size for tables, by reference to $bodyMaster
boolean titlePage - source
Make title page
string titleSize - source
Font size for display of title
boolean tocBack - source
Make TOC for sections in <back>
boolean tocFront - source
Make TOC for sections in <front>
string tocNumberSuffix - source
Punctuation to insert after a section number in a TOC
string tocSize - source
Font size for TOC heading
integer tocStartPage - source
Page number on which TOC should start
boolean twoSided - source
Make 2-page spreads
string typewriterFont - source
Font for literal code
boolean xrefShowPage - source
Show the page number in a cross-reference to table or figure

## Named Templates Summary

afterBodyHook - source
[fo] Hook where extra material can be inserted after the <body> has been processed
blockStartHook - source
[fo] Hook where work can be done at the start of each block
divXRefHeading (param: head) - source
[fo] How to display section headings in a cross-reference
figureCaptionstyle - source
[fo] Set attributes for display of figures
linkStyle - source
[fo] Set attributes for display of links
pageMasterHook - source
[fo] Hook where extra page masters can be defined
setupDiv0 - source
[fo] Set attributes for display of heading for chapters (level 0)
setupDiv1 - source
[fo] Set attributes for display of heading for 1st level sections
setupDiv2 - source
[fo] Set attributes for display of heading for 2nd level sections
setupDiv3 - source
[fo]Set attributes for display of heading for 3rd level sections
setupDiv4 - source
[fo] Set attributes for display of heading for 4th level sections
setupDiv5 - source
[fo] Set attributes for display of heading for 5th level sections
setupDiv6 - source
[fo] Set attributes for display of heading for 6th level sections
showXrefURL (param: dest) - source
[fo] How to display the link text of a <ptr>
tableCaptionstyle - source
[fo] Set attributes for display of table

## Parameters Detail

boolean activeLinebreaks - source
Make <lb> active (ie cause a line break)
Default: true
string alignment - source
Alignment of text (ie justified or ragged)
Default: justify
string authorSize - source
Font size for display of author name
Default: 14pt
string autoScaleFigures - source
How to scale figures if no width and height specified (pass to XSL FO content-width)
Default:
boolean backMulticolumns - source
Put back matter in multiple columns
Default: false
string biblSize - source
Font size for bibliography
Default: 16pt
string bodyFont - source
Default font for body
Default: Times
string bodyMarginBottom - source
Margin at bottom of text body
Default: 24pt
string bodyMarginTop - source
Margin at top of text body
Default: 24pt
string bodyMaster - source
Default font size for body (without dimension)
Default: 10
boolean bodyMulticolumns - source
Put body matter in multiple columns
Default: false
string bodySize - source
Calculation of normal body font size (add dimension)
Default: <value-of select="$bodyMaster"/> <text>pt</text>
string bulletFour - source
Symbol for 4th level itemized list
Default: +
string bulletOne - source
Symbol for top-level itemized list
Default: •
string bulletThree - source
Symbol for 3rd level itemized list
Default: *
string bulletTwo - source
Symbol for 2nd level itemized list
Default: –
boolean captionInlineFigures - source
Put captions on inline figures
Default: false
integer columnCount - source
Number of columns, when multiple-column work is requested
Default: 1
string dateSize - source
Font size for display of date
Default: 14pt
string defaultCellLabelBackground - source
Default colour for background of table cells which are labelling rows or columns
Default: silver
string distanceBetweenBiblStarts - source
XSL FO "provisional-distance-between starts" for bibliographies
Default: 50pt
string distanceBetweenGlossStarts - source
XSL FO "provisional-distance-between starts" for gloss lists
Default: 42pt
string distanceBetweenStarts - source
XSL FO "provisional-distance-between starts"
Default: 18pt
string div0Tocindent - source
Indentation for level 0 TOC entries
Default: 0in
string div1Tocindent - source
Indentation for level 1 TOC entries
Default: 0.25in
string div2Tocindent - source
Indentation for level 2 TOC entries
Default: 0.5in
string div3Tocindent - source
Indentation for level 3 TOC entries
Default: 0.75in
string div4Tocindent - source
Indentation for level 4 TOC entries
Default: 1in
string div5Tocindent - source
Indentation for level 5 TOC entries
Default: 1.25in
string divFont - source
Font for section headings
Default: Times
boolean divRunningheads - source
Display section headings in running heads
Default: false
string exampleAfter - source
Space below examples
Default: 4pt
string exampleBackgroundColor - source
Colour for background display of <eg> blocks
Default: gray
string exampleBefore - source
Space above examples
Default: 4pt
string exampleColor - source
Colour for display of <eg> blocks
Default: black
string exampleMargin - source
Left margin for examples
Default: 12pt
string exampleSize - source
Calculation of font size for examples (add dimension)
Default: <value-of select="$bodyMaster * 0.6"/> <text>pt</text>
string flowMarginLeft - source
Left margin of flow
Default:
string foEngine - source
Name of intended XSL FO engine
This is used to tailor the result for different XSL FO processors. By default, no special measures are taken, so there are no bookmarks or other such features. Possible values are

- passivetex (the TeX-based PassiveTeX processor
- xep (XEP)
- fop (FOP)
- antenna (Antenna House)

Default:
string footnoteSize - source
Font size for footnotes
Default: 8pt
string footnotenumSize - source
Font size for footnote numbers
Default: 7pt
string forcePageMaster - source
Which named page master name to use
Default:
string formatBackpage - source
How to format page numbers in back matter (use XSLT number format)
Default: 1
string formatBodypage - source
How to format page numbers in main matter (use XSLT number format)
Default: 1
string formatFrontpage - source
How to format page numbers in front matter (use XSLT number format)
Default: i
boolean frontMulticolumns - source
Put front matter in multiple columns
Default: false
string giColor - source
Colour for display of element names
Default: black
string headingOutdent - source
Indentation of headings
Default: 0em
boolean hyphenate - source
Hyphenate text
Default: true
string identColor - source
Colour for display of <ident> values Customization parameter
Default: black
boolean inlineTables - source
Force tables to appear inline
Default: false
string labelSeparation - source
XSL FO "provisional-label-separation"
Default: 6pt
string language - source
Language (for hyphenation)
Default: en_US
string listAbove-1 - source
Space above lists at top level
Default: 6pt
string listAbove-2 - source
Space above lists at 2nd level
Default: 4pt
string listAbove-3 - source
Space above lists at 3rd level
Default: 0pt
string listAbove-4 - source
Space above lists at 4th level
Default: 0pt
string listBelow-1 - source
Space below lists at top level
Default: 6pt
string listBelow-2 - source
Space below lists at 2nd level
Default: 4pt
string listBelow-3 - source
Space below lists at 3rd level
Default: 0pt
string listBelow-4 - source
Space below lists at 4th level
Default: 0pt
string listItemsep - source
Spacing between list items
Default: 4pt
string listLeftGlossIndent - source
Left margin for gloss lists
Default: 0.5in
string listLeftGlossInnerIndent - source
Left margin for nested gloss lists
Default: 0.25in
string listLeftIndent - source
Indentation for lists
Default: 0pt
string listRightMargin - source
Right margin for lists
Default: 10pt
boolean makeTableCaption - source
Put a caption on tables
Default: true
string pageHeight - source
Paper height
Default: 297mm
string pageMarginBottom - source
Margin at bottom of text area
Default: 100pt
string pageMarginLeft - source
Left margin
Default: 80pt
string pageMarginRight - source
Right margin
Default: 150pt
string pageMarginTop - source
Margin at top of text area
Default: 75pt
string pageWidth - source
Paper width
Default: 211mm
string parIndent - source
Paragraph indentation
Default: 1em
string parSkip - source
Default spacing between paragraphs
Default: 0pt
string parSkipmax - source
Maximum space allowed between paragraphs
Default: 12pt
anyURI readColSpecFile - source
External XML file containing specifications for column sizes for tables in document
Default:
string regionAfterExtent - source
Region after
Default: 14pt
string regionBeforeExtent - source
Region before
Default: 14pt
string runFont - source
Font family for running header and footer
Default: sans-serif
string runSize - source
Font size for running header and footer
Default: 9pt
string sansFont - source
Sans-serif font
Default: Helvetica
boolean sectionHeaders - source
Construct running headers from page number and section headings
Default: true
boolean showFloatHead - source
Show the contents of <head> in a cross-reference to table or figure
Default: false
boolean showFloatLabel - source
Show a title for figures or tables (eg Table or Figure) in a cross-reference
Default: false
string smallSize - source
Calculation of small font size (add dimension)
Default: <value-of select="$bodyMaster * 0.9"/> <text>pt</text>
string spaceAfterBibl - source
Space after bibliography
Default: 0pt
string spaceAroundTable - source
Space above and below a table
Default: 8pt
string spaceBeforeBibl - source
Space above bibliography
Default: 4pt
string spaceBelowCaption - source
Space below caption of figure or table
Default: 4pt
string tableCaptionAlign - source
Alignment of table captions
Default: center
string tableCellPadding - source
Default padding on table cells
Default: 2pt
string tableSize - source
Create font size for tables, by reference to $bodyMaster
Default: <value-of select="$bodyMaster * 0.9"/> <text>pt</text>
boolean titlePage - source
Make title page
Default: true
string titleSize - source
Font size for display of title
Default: 16pt
boolean tocBack - source
Make TOC for sections in <back>
Default: true
boolean tocFront - source
Make TOC for sections in <front>
Default: true
string tocNumberSuffix - source
Punctuation to insert after a section number in a TOC
Default: .
string tocSize - source
Font size for TOC heading
Default: 16pt
integer tocStartPage - source
Page number on which TOC should start
Default: 1
boolean twoSided - source
Make 2-page spreads
Default: true
string typewriterFont - source
Font for literal code
Default: Courier
boolean xrefShowPage - source
Show the page number in a cross-reference to table or figure
Default: false

## Named Templates Detail

afterBodyHook - source
[fo] Hook where extra material can be inserted after the <body> has been processed
blockStartHook - source
[fo] Hook where work can be done at the start of each block
divXRefHeading (param: head) - source
[fo] How to display section headings in a cross-reference
Parameters:
head - section title
figureCaptionstyle - source
[fo] Set attributes for display of figures

linkStyle - source
[fo] Set attributes for display of links
pageMasterHook - source
[fo] Hook where extra page masters can be defined
setupDiv0 - source
[fo] Set attributes for display of heading for chapters (level 0)
setupDiv1 - source
[fo] Set attributes for display of heading for 1st level sections
setupDiv2 - source
[fo] Set attributes for display of heading for 2nd level sections
setupDiv3 - source
[fo]Set attributes for display of heading for 3rd level sections
setupDiv4 - source
[fo] Set attributes for display of heading for 4th level sections
setupDiv5 - source
[fo] Set attributes for display of heading for 5th level sections
setupDiv6 - source
[fo] Set attributes for display of heading for 6th level sections
showXrefURL (param: dest) - source
[fo] How to display the link text of a <ptr>
Parameters:
dest - the URL being linked to
tableCaptionstyle - source
[fo] Set attributes for display of table