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:
Sebastian Rahtz sebastian.rahtz@oucs.ox.ac.uk
CVS Id:
core.xsl,v 1.6 2006/01/17 20:37:19 rahtz Exp
Copyright:
2005, TEI Consortium
Match Templates Summary
Process elements tei:bibl/tei:title
Process elements tei:eg|tei:q[@rend='eg']
Process elements tei:foreign
Process elements tei:listBibl
Process elements tei:listBibl/tei:bibl
Process elements tei:mentioned
Process elements p[@rend='display']
Process elements q[@rend='display']
Process elements tei:soCalled
Process elements tei:title[@level='a']
Process elements tei:title[@level='m']
Process elements tei:title[@level='s']
Process elements tei:titlePart
Process elements tei:xref[@type='cite']
Named Templates Summary
[latex]
Match Templates Detail
Process elements tei:bibl/tei:title
Process elements tei:eg|tei:q[@rend='eg']
Process elements tei:foreign
Process elements tei:listBibl
Process elements tei:listBibl/tei:bibl
Process elements tei:mentioned
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 q[@rend='display']
Process elements tei:soCalled
Process elements tei:title[@level='a']
Process elements tei:title[@level='m']
Process elements tei:title[@level='s']
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 for TEI in textstructure.xsl).
Named Templates Detail
[latex]