Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / tei / fo2 / textcrit.xsl @ 187

History | View | Annotate | Download (3.4 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet 
3
                xmlns:fotex="http://www.tug.org/fotex"
4
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
5
                xmlns="http://www.w3.org/1999/XSL/Format"
6
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
7
                xmlns:tei="http://www.tei-c.org/ns/1.0"
8
                xmlns:teix="http://www.tei-c.org/ns/Examples"
9
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10
                exclude-result-prefixes="a fotex rng tei teix"
11
                version="2.0">
12

    
13
  <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet" type="stylesheet">
14
      <desc>
15
         <p> TEI stylesheet dealing with elements from the textcrit
16
      module, making FO output. </p>
17
         <p>This software is dual-licensed:
18

    
19
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
20
Unported License http://creativecommons.org/licenses/by-sa/3.0/ 
21

    
22
2. http://www.opensource.org/licenses/BSD-2-Clause
23
		
24
All rights reserved.
25

    
26
Redistribution and use in source and binary forms, with or without
27
modification, are permitted provided that the following conditions are
28
met:
29

    
30
* Redistributions of source code must retain the above copyright
31
notice, this list of conditions and the following disclaimer.
32

    
33
* Redistributions in binary form must reproduce the above copyright
34
notice, this list of conditions and the following disclaimer in the
35
documentation and/or other materials provided with the distribution.
36

    
37
This software is provided by the copyright holders and contributors
38
"as is" and any express or implied warranties, including, but not
39
limited to, the implied warranties of merchantability and fitness for
40
a particular purpose are disclaimed. In no event shall the copyright
41
holder or contributors be liable for any direct, indirect, incidental,
42
special, exemplary, or consequential damages (including, but not
43
limited to, procurement of substitute goods or services; loss of use,
44
data, or profits; or business interruption) however caused and on any
45
theory of liability, whether in contract, strict liability, or tort
46
(including negligence or otherwise) arising in any way out of the use
47
of this software, even if advised of the possibility of such damage.
48
</p>
49
         <p>Author: See AUTHORS</p>
50
         <p>Id: $Id: textcrit.xsl 9646 2011-11-05 23:39:08Z rahtz $</p>
51
         <p>Copyright: 2011, TEI Consortium</p>
52
      </desc>
53
   </doc>
54

    
55
   <xsl:template name="appReading">
56
     <xsl:param name="lemma"/>
57
     <xsl:param name="lemmawitness"/>
58
     <xsl:param name="readings"/>
59
     <footnote>
60
       <footnote-citation>
61
	 <inline font-size="8pt" vertical-align="super">
62
	 </inline>
63
       </footnote-citation>
64
       <list-block>
65
	 <xsl:attribute name="provisional-distance-between-starts">
66
	   <xsl:value-of select="$betweenStarts"/>
67
	 </xsl:attribute>
68
	 <xsl:attribute name="provisional-label-separation">
69
	   <xsl:value-of select="$labelSeparation"/>
70
	 </xsl:attribute>
71
	 <list-item>
72
	   <list-item-label end-indent="label-end()">
73
	     <block>
74
	       <inline font-size="{$footnoteSize}" vertical-align="super">
75
	       </inline>
76
	     </block>
77
	   </list-item-label>
78
	   <list-item-body start-indent="body-start()">
79
	     <block font-size="{$footnoteSize}">
80
	       <xsl:copy-of select="$readings"/>
81
	     </block>
82
	   </list-item-body>
83
	 </list-item>
84
       </list-block>
85
     </footnote>
86

    
87
  </xsl:template>
88

    
89

    
90
</xsl:stylesheet>