Mode:

Compact lists

Showing:

Documentation
Used by
Supersedes
Imported modules
Source
Main stylesheet to.xsl
Documentation

Description

TEI stylesheet for making Word docx files from TEI XML (see tei-docx.xsl)

This software is dual-licensed: 1. Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License http://creativecommons.org/licenses/by-sa/3.0/ 2. http://www.opensource.org/licenses/BSD-2-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Author: See AUTHORS

Copyright: 2013, TEI Consortium

Imported modules
Stylesheet version 3.0
Template tei:seg[not(@*) and normalize-space(.)='']
Namespace No namespace
Match tei:seg[not(@*) and normalize-space(.)='']
Mode #default
Import precedence 17
Source
<xsl:template match="tei:seg[not(@*) and normalize-space(.)='']">
  <w:r>
    <w:t>
      <xsl:attribute name="xml:space">preserve</xsl:attribute>
      <xsl:text> </xsl:text>
    </w:t>
  </w:r>
</xsl:template>
Stylesheet location to.xsl
Template defineOrderedLists
Namespace No namespace
Used by
Supersedes
Import precedence 17
Source
<xsl:template name="defineOrderedLists">
  <w:abstractNum w:abstractNumId="3">
    <w:multiLevelType w:val="multilevel"/>
    <w:lvl w:ilvl="0">
      <w:start w:val="1"/>
      <w:numFmt w:val="decimal"/>
      <w:pStyle w:val="ListNumber"/>
      <w:lvlText w:val="%1."/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="360" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="1">
      <w:start w:val="1"/>
      <w:numFmt w:val="lowerLetter"/>
      <w:pStyle w:val="ListNumber2"/>
      <w:lvlText w:val="%2)"/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="720" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="2">
      <w:start w:val="1"/>
      <w:numFmt w:val="lowerRoman"/>
      <w:pStyle w:val="ListNumber3"/>
      <w:lvlText w:val="%3)"/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="1080" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="3">
      <w:start w:val="1"/>
      <w:numFmt w:val="upperRoman"/>
      <w:pStyle w:val="ListNumber4"/>
      <w:lvlText w:val="%4)"/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="1440" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="4">
      <w:start w:val="1"/>
      <w:numFmt w:val="lowerLetter"/>
      <w:lvlText w:val="(%5)"/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="1800" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="5">
      <w:start w:val="1"/>
      <w:numFmt w:val="lowerRoman"/>
      <w:lvlText w:val="(%6)"/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="2160" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="6">
      <w:start w:val="1"/>
      <w:numFmt w:val="decimal"/>
      <w:lvlText w:val="%7."/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="2520" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="7">
      <w:start w:val="1"/>
      <w:numFmt w:val="lowerLetter"/>
      <w:lvlText w:val="%8."/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="2880" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
    <w:lvl w:ilvl="8">
      <w:start w:val="1"/>
      <w:numFmt w:val="lowerRoman"/>
      <w:lvlText w:val="%9."/>
      <w:lvlJc w:val="left"/>
      <w:pPr>
        <w:ind w:left="3240" w:hanging="360"/>
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default"/>
      </w:rPr>
    </w:lvl>
  </w:abstractNum>
</xsl:template>
Stylesheet location to.xsl
Parameter defaultHeaderFooterFile
Namespace No namespace
Used by
Supersedes
Source
<xsl:param name="defaultHeaderFooterFile">../../profiles/default/docx/headersfooters.xml</xsl:param>
Stylesheet location to.xsl
Parameter renderAddDel
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:param name="renderAddDel">true</xsl:param>
Stylesheet location to.xsl
Parameter addColour
Namespace No namespace
Used by
Template
Supersedes
Parameter
Source
<xsl:param name="addColour">red</xsl:param>
Stylesheet location to.xsl
Parameter footnoteNumbering
Namespace No namespace
Used by
Template
Supersedes
Parameter
Source
<xsl:param name="footnoteNumbering">decimal</xsl:param>
Stylesheet location to.xsl
Parameter bulletOne
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:param name="bulletOne"></xsl:param>
Stylesheet location to.xsl
Parameter bulletTwo
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:param name="bulletTwo"></xsl:param>
Stylesheet location to.xsl