forked from EpiDoc/Stylesheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fo-teispace.xsl
44 lines (40 loc) · 1.74 KB
/
fo-teispace.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!-- $Id$ --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:t="http://www.tei-c.org/ns/1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="t" version="2.0">
<xsl:template name="space-content">
<xsl:param name="parm-leiden-style" tunnel="yes" required="no"/>
<xsl:param name="vacat"/>
<xsl:param name="extent"/>
<xsl:choose>
<xsl:when test="$parm-leiden-style = 'london'">
<fo:inline font-style="italic">
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-1">
<xsl:with-param name="vacat" select="$vacat"/>
</xsl:call-template>
</fo:inline>
</xsl:when>
<xsl:when test="$parm-leiden-style = 'panciera'">
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-2">
<xsl:with-param name="vacat" select="$vacat"/>
<xsl:with-param name="extent" select="$extent"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<!-- Found in teispace.xsl -->
<xsl:call-template name="space-content-2">
<xsl:with-param name="vacat" select="$vacat"/>
<xsl:with-param name="extent" select="$extent"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="dip-space">
<fo:inline-container>
<fo:inline font-size="smaller">
<xsl:call-template name="space-content-1">
<xsl:with-param name="vacat" select="'vacat '"/>
</xsl:call-template>
</fo:inline>
</fo:inline-container>
</xsl:template>
</xsl:stylesheet>