TEI Stylesheet family - figures.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

# figures.xsl

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

## Match Templates Summary

m:math - source
Process math elements
m:*|@*|comment()|processing-instruction()|text() (mode: math) - source
Deal with elements in math mode (just copy them)
tei:cell - source
Process elements tei:cell
tei:figDesc - source
Process elements tei:figDesc
tei:figure - source
Process elements tei:figure in display mode
tei:formula - source
Process elements tei:formula
tei:formula[@type='display']/m:math - source
Process elements tei:formula[@type='display']/m:math
tei:formula[@type='subeqn']/m:math - source
Process elements tei:formula[@type='subeqn']/m:math
tei:graphic - source
Process elements tei:graphic
tei:row[@role='header'] - source
Process elements tei:row[@role='header']
tei:table - source
Process elements tei:table
tei:table[@rend='eqnarray'] - source
Process elements tei:table[@rend='eqnarray']
tei:figure (mode: xref) - source
Process elements tei:figure
tei:formula (mode: xref) - source
Process elements tei:formula
tei:table (mode: xref) - source
Process elements tei:table

## Named Templates Summary

blockTable - source
[fo]
calculateFigureNumber - source
[fo]
calculateTableNumber - source
[fo]
cellProperties - source
[fo]
floatTable - source
[fo]
makePic - source
[fo] Insert reference to graphics file

## Match Templates Detail

m:math - source
Process math elements
m:*|@*|comment()|processing-instruction()|text() (mode: math) - source
Deal with elements in math mode (just copy them)
tei:cell - source
Process elements tei:cell
tei:figDesc - source
Process elements tei:figDesc
tei:figure - source
Process elements tei:figure in display mode
tei:formula - source
Process elements tei:formula
tei:formula[@type='display']/m:math - source
Process elements tei:formula[@type='display']/m:math
tei:formula[@type='subeqn']/m:math - source
Process elements tei:formula[@type='subeqn']/m:math
tei:graphic - source
Process elements tei:graphic
tei:row[@role='header'] - source
Process elements tei:row[@role='header']
tei:table - source
Process elements tei:table
tei:table[@rend='eqnarray'] - source
Process elements tei:table[@rend='eqnarray']
tei:figure (mode: xref) - source
Process elements tei:figure
tei:formula (mode: xref) - source
Process elements tei:formula
tei:table (mode: xref) - source
Process elements tei:table

## Named Templates Detail

blockTable - source
[fo]
calculateFigureNumber - source
[fo]
calculateTableNumber - source
[fo]
cellProperties - source
[fo]
floatTable - source
[fo]
makePic - source
[fo] Insert reference to graphics file