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

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
How to scale figures if no width and height specified (pass to XSL FO content-width)
Put back matter in multiple columns
string biblSize - source
Font size for bibliography
string bodyFont - source
Default font for body
Margin at bottom of text body
Margin at top of text body
string bodyMaster - source
Default font size for body (without dimension)
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
Symbol for 3rd level itemized list
string bulletTwo - source
Symbol for 2nd level itemized list
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
Default colour for background of table cells which are labelling rows or columns
XSL FO "provisional-distance-between starts" for bibliographies
XSL FO "provisional-distance-between starts" for gloss lists
XSL FO "provisional-distance-between starts"
Indentation for level 0 TOC entries
Indentation for level 1 TOC entries
Indentation for level 2 TOC entries
Indentation for level 3 TOC entries
Indentation for level 4 TOC entries
Indentation for level 5 TOC entries
string divFont - source
Font for section headings
Display section headings in running heads
Space below examples
Colour for background display of <eg> blocks
Space above examples
Colour for display of <eg> blocks
Left margin for examples
Calculation of font size for examples (add dimension)
Left margin of flow
string foEngine - source
Name of intended XSL FO engine
Font size for footnotes
Font size for footnote numbers
Which named page master name to use
How to format page numbers in back matter (use XSLT number format)
How to format page numbers in main matter (use XSLT number format)
How to format page numbers in front matter (use XSLT number format)
Put front matter in multiple columns
string giColor - source
Colour for display of element names
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
XSL FO "provisional-label-separation"
string language - source
Language (for hyphenation)
Space above lists at top level
Space above lists at 2nd level
Space above lists at 3rd level
Space above lists at 4th level
Space below lists at top level
Space below lists at 2nd level
Space below lists at 3rd level
Space below lists at 4th level
Spacing between list items
Left margin for gloss lists
Left margin for nested gloss lists
Indentation for lists
Right margin for lists
Put a caption on tables
string pageHeight - source
Paper height
Margin at bottom of text area
Left margin
Right margin
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
External XML file containing specifications for column sizes for tables in document
Region after
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
Construct running headers from page number and section headings
Show the contents of <head> in a cross-reference to table or figure
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)
Space after bibliography
Space above and below a table
Space above bibliography
Space below caption of figure or table
Alignment of table captions
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>
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
Font for literal code
boolean xrefShowPage - source
Show the page number in a cross-reference to table or figure

Named Templates Summary

[fo] Hook where extra material can be inserted after the <body> has been processed
[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
[fo] Set attributes for display of figures
[fo] Set attributes for display of links
[fo] Hook where extra page masters can be defined
[fo] Set attributes for display of heading for chapters (level 0)
[fo] Set attributes for display of heading for 1st level sections
[fo] Set attributes for display of heading for 2nd level sections
[fo]Set attributes for display of heading for 3rd level sections
[fo] Set attributes for display of heading for 4th level sections
[fo] Set attributes for display of heading for 5th level sections
[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>
[fo] Set attributes for display of table

Parameters Detail

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
How to scale figures if no width and height specified (pass to XSL FO content-width)
 
Default:
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
Margin at bottom of text body
 
Default: 24pt
Margin at top of text body
 
Default: 24pt
string bodyMaster - source
Default font size for body (without dimension)
 
Default: 10
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:
Symbol for 3rd level itemized list
 
Default: *
string bulletTwo - source
Symbol for 2nd level itemized list
 
Default:
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
Default colour for background of table cells which are labelling rows or columns
 
Default: silver
XSL FO "provisional-distance-between starts" for bibliographies
 
Default: 50pt
XSL FO "provisional-distance-between starts" for gloss lists
 
Default: 42pt
XSL FO "provisional-distance-between starts"
 
Default: 18pt
Indentation for level 0 TOC entries
 
Default: 0in
Indentation for level 1 TOC entries
 
Default: 0.25in
Indentation for level 2 TOC entries
 
Default: 0.5in
Indentation for level 3 TOC entries
 
Default: 0.75in
Indentation for level 4 TOC entries
 
Default: 1in
Indentation for level 5 TOC entries
 
Default: 1.25in
string divFont - source
Font for section headings
 
Default: Times
Display section headings in running heads
 
Default: false
Space below examples
 
Default: 4pt
Colour for background display of <eg> blocks
Default: gray
Space above examples
 
Default: 4pt
Colour for display of <eg> blocks
Default: black
Left margin for examples
 
Default: 12pt
Calculation of font size for examples (add dimension)
 
Default: <value-of select="$bodyMaster * 0.6"/> <text>pt</text>
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:
Font size for footnotes
 
Default: 8pt
Font size for footnote numbers
 
Default: 7pt
Which named page master name to use
 
Default:
How to format page numbers in back matter (use XSLT number format)
 
Default: 1
How to format page numbers in main matter (use XSLT number format)
 
Default: 1
How to format page numbers in front matter (use XSLT number format)
 
Default: i
Put front matter in multiple columns
 
Default: false
string giColor - source
Colour for display of element names
 
Default: black
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
XSL FO "provisional-label-separation"
 
Default: 6pt
string language - source
Language (for hyphenation)
 
Default: en_US
Space above lists at top level
 
Default: 6pt
Space above lists at 2nd level
 
Default: 4pt
Space above lists at 3rd level
 
Default: 0pt
Space above lists at 4th level
 
Default: 0pt
Space below lists at top level
 
Default: 6pt
Space below lists at 2nd level
 
Default: 4pt
Space below lists at 3rd level
 
Default: 0pt
Space below lists at 4th level
 
Default: 0pt
Spacing between list items
 
Default: 4pt
Left margin for gloss lists
 
Default: 0.5in
Left margin for nested gloss lists
 
Default: 0.25in
Indentation for lists
 
Default: 0pt
Right margin for lists
 
Default: 10pt
Put a caption on tables
 
Default: true
string pageHeight - source
Paper height
 
Default: 297mm
Margin at bottom of text area
 
Default: 100pt
Left margin
 
Default: 80pt
Right margin
 
Default: 150pt
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
External XML file containing specifications for column sizes for tables in document
 
Default:
Region after
 
Default: 14pt
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
Construct running headers from page number and section headings
 
Default: true
Show the contents of <head> in a cross-reference to table or figure
 
Default: false
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>
Space after bibliography
 
Default: 0pt
Space above and below a table
 
Default: 8pt
Space above bibliography
 
Default: 4pt
Space below caption of figure or table
 
Default: 4pt
Alignment of table captions
 
Default: center
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
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
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

[fo] Hook where extra material can be inserted after the <body> has been processed
 
[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
[fo] Set attributes for display of figures

[fo] Set attributes for display of links
 
[fo] Hook where extra page masters can be defined
 
[fo] Set attributes for display of heading for chapters (level 0)
 
[fo] Set attributes for display of heading for 1st level sections
 
[fo] Set attributes for display of heading for 2nd level sections
 
[fo]Set attributes for display of heading for 3rd level sections
 
[fo] Set attributes for display of heading for 4th level sections
 
[fo] Set attributes for display of heading for 5th level sections
 
[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
[fo] Set attributes for display of table