The Text Encoding Initiative

TEI Consortium XSLT stylesheets

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

core.xsl

TEI stylesheet dealing with elements from the core module, making 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:
core.xsl 4801 2008-09-13 10:05:32Z rahtz
Copyright:
2008, TEI Consortium

Match Templates Summary

@* (mode: attributetext) - source
Process attributes in text mode, escaping the LaTeX command characters.
tei:bibl (mode: cite) - source
Process elements tei:bibl
text() (mode: eg) - source
Process elements text()
tei:item (mode: gloss) - source
Process elements tei:item
tei:label (mode: gloss) - source
Process elements tei:label in gloss mode
Process elements tei:ab
Process elements tei:bibl/tei:title
Process elements tei:code
Process elements tei:corr
Process elements tei:eg|tei:q[@rend='eg']
Process elements tei:emph
Process elements tei:foreign
Process elements tei:gi
Process elements tei:gloss
Process elements tei:head
Process elements tei:hi
Process elements tei:hr
Process elements tei:ident
Process elements tei:item
Process elements tei:label in normal mode, inside an item
Process elements tei:label in normal mode
Process elements tei:lb
Process elements tei:list
Process elements tei:listBibl
Process elements tei:listBibl/tei:bibl
Process elements tei:mentioned
Process elements tei:note
Process elements tei:p
Process elements p[@rend='display']
Process element tei:pb
Process elements tei:q
Process elements q[@rend='display']
Process elements tei:quote
No short description available
Process elements tei:sic
Process elements tei:soCalled
Process elements tei:supplied
Process elements tei:titlePart
Process elements tei:xref[@type='cite']
Process text(), escaping the LaTeX command characters.

Named Templates Summary

Text (param: words) - source
No short description available
No short description available
emphasize (param: classcontent) - source
No short description available
Rendering rules, turning @rend into LaTeX commands

Match Templates Detail

@* (mode: attributetext) - source
Process attributes in text mode, escaping the LaTeX command characters.
as with text()
tei:bibl (mode: cite) - source
Process elements tei:bibl
 
text() (mode: eg) - source
Process elements text()
 
tei:item (mode: gloss) - source
Process elements tei:item
 
tei:label (mode: gloss) - source
Process elements tei:label in gloss mode
 
Process elements tei:ab
 
Process elements tei:bibl/tei:title
 
Process elements tei:code
 
Process elements tei:corr
 
Process elements tei:eg|tei:q[@rend='eg']
 
Process elements tei:emph
 
Process elements tei:foreign
 
Process elements tei:gi
 
Process elements tei:gloss
 
Process elements tei:head
 
Process elements tei:hi
 
Process elements tei:hr
 
Process elements tei:ident
 
Process elements tei:item
 
Process elements tei:label in normal mode, inside an item
 
Process elements tei:label in normal mode
 
Process elements tei:lb
 
Process elements tei:list
 
Process elements tei:listBibl
 
Process elements tei:listBibl/tei:bibl
 
Process elements tei:mentioned
 
Process elements tei:note
 
Process elements tei:p
 
Process elements p[@rend='display']
 
Process element tei:pb
Indication of a page break. We make it an anchor if it has an ID.
Process elements tei:q
 
Process elements q[@rend='display']
 
Process elements tei:quote
 
No short description available
Process elements tei:sic
 
Process elements tei:soCalled
 
Process elements tei:supplied
 
Process elements tei:titlePart
 
Process elements tei:xref[@type='cite']
 
Process text(), escaping the LaTeX command characters.
We need the backslash and two curly braces to insert LaTeX commands into the output, so these characters need to replaced when they are found in running text. They are translated to Unicode COMBINING REVERSE SOLIDUS OVERLAY, MEDIUM LEFT CURLY BRACKET ORNAMENT and MEDIUM RIGHT CURLY BRACKET ORNAMENT; if these are used in real text, the escape will have to be changed. They are translated back to the correct characters by appropriate definitions in the preamble (see the template called latexSetup in tei-param.xsl).

Named Templates Detail

Text (param: words) - source
No short description available
Parameters:
words -
No short description available
[latex]
 
emphasize (param: classcontent) - source
No short description available
Parameters:
class -
content -
Rendering rules, turning @rend into LaTeX commands