Mode:

Compact lists

Showing:

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

Description

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 2.0
Template latexPreambleHook
Namespace No namespace
Used by
Template
Supersedes
Import precedence 28
Source
<xsl:template name="latexPreambleHook">\usepackage{makeidx} \makeindex \defaultfontfeatures{Scale=MatchLowercase} %\setromanfont{DejaVu Serif} %\setsansfont{DejaVu Sans} \setmonofont{DejaVu Sans Mono} %\setmonofont[Scale=0.9]{Lucida Sans Typewriter} %\setsansfont[Scale=0.85]{Lucida Sans} %\setromanfont{Times New Roman} \setromanfont{Minion Pro} %\setmonofont{CourierStd} \setsansfont{Myriad Pro} \setlength{\headheight}{14pt}</xsl:template>
Stylesheet location to.xsl
Template latexBegin
Namespace No namespace
Used by
Template
References
Supersedes
Template
Import precedence 28
Source
<xsl:template name="latexBegin">
  <xsl:text>\makeatletter
\thispagestyle{plain}</xsl:text>
  <xsl:if test="not(tei:text/tei:front/tei:titlePage)">
    <xsl:call-template name="printTitleAndLogo"/>
  </xsl:if>
  <xsl:text>\markright{\@title}%
\markboth{\@title}{\@author}%
\fvset{frame=single,numberblanklines=false,xleftmargin=5mm,xrightmargin=5mm}
\fancyhf{} 
\setlength{\headheight}{14pt}
\fancyhead[LE]{\bfseries\leftmark} 
\fancyhead[RO]{\bfseries\rightmark} 
\fancyfoot[RO]{}
\fancyfoot[CO]{\thepage}
\fancyfoot[LO]{}
\fancyfoot[LE]{}
\fancyfoot[CE]{\thepage}
\fancyfoot[RE]{}
\hypersetup{linkbordercolor=0.75 0.75 0.75,urlbordercolor=0.75 0.75 0.75,bookmarksnumbered=true}
\def\l@section{\@dottedtocline{1}{3em}{2.3em}}
\def\l@subsection{\@dottedtocline{2}{4em}{3.2em}}
\def\l@subsubsection{\@dottedtocline{3}{5em}{4.1em}}
\def\l@paragraph{\@dottedtocline{4}{6em}{6em}}
\def\l@subparagraph{\@dottedtocline{5}{7em}{6em}}
\def\@pnumwidth{3em}
\setcounter{tocdepth}{2}
\def\tableofcontents{
\clearpage
\pdfbookmark[0]{Table of Contents}{TOC}
\hypertarget{TOC}{}
\section*{\contentsname}\@starttoc{toc}}
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}
\def\chaptermark#1{\markboth {\thechapter. \ #1}{}}
\def\sectionmark#1{\markright { \ifnum \c@secnumdepth >\z@
          \thesection. \ %
        \fi
	#1}}
\def\egxmlcite#1{\raisebox{12pt}[0pt][0pt]{\parbox{.95\textwidth}{\raggedleft #1}}}
\def\oddindex#1{{\bfseries\hyperpage{#1}}}
\def\exampleindex#1{{\itshape\hyperpage{#1}}}
\def\mainexampleindex#1{{\bfseries\itshape\hyperpage{#1}}}
\setlength{\leftmargini}{2\parindent}%
\renewcommand{\@listI}{%
   \setlength{\leftmargin}{\leftmargini}%
   \setlength{\topsep}{\medskipamount}%
   \setlength{\itemsep}{0pt}%
   \setlength{\listparindent}{1em}%
   \setlength{\rightskip}{1em}%
}
\renewcommand\normalsize{\@setfontsize\normalsize{10}{12}%
  \abovedisplayskip 10\p@ plus2\p@ minus5\p@
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip  \z@ plus3\p@
  \belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
  \let\@listi\@listI
}
\renewcommand\small{\@setfontsize\small{9pt}{11pt}%
   \abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
   \belowdisplayskip \abovedisplayskip
   \abovedisplayshortskip \z@ plus2\p@
   \belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
   \def\@listi{\leftmargin\leftmargini
               \topsep 2\p@ plus1\p@ minus1\p@
               \parsep 2\p@ plus\p@ minus\p@
               \itemsep 1pt}
}
\renewcommand\footnotesize{\@setfontsize\footnotesize{8}{9.5}%
  \abovedisplayskip 6\p@ plus2\p@ minus4\p@
  \belowdisplayskip \abovedisplayskip
  \abovedisplayshortskip \z@ plus\p@
  \belowdisplayshortskip 3\p@ plus\p@ minus2\p@
  \def\@listi{\leftmargin\leftmargini
              \topsep 2\p@ plus\p@ minus\p@
              \parsep 2\p@ plus\p@ minus\p@
              \itemsep \parsep}
}
\renewcommand\scriptsize{\@setfontsize\scriptsize{7}{8}}
\renewcommand\tiny{\@setfontsize\tiny{5}{6}}
\renewcommand\large{\@setfontsize\large{12}{14.4}}
\renewcommand\Large{\@setfontsize\Large{14.4}{18}}
\renewcommand\LARGE{\@setfontsize\LARGE{17.28}{22}}
\renewcommand\huge{\@setfontsize\huge{20.74}{25}}
\renewcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
%\parskip3pt
%\parindent0em
% for refdocs
\renewenvironment{itemize}{%
  \advance\@itemdepth \@ne
  \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  \begin{list}{\csname\@itemitem\endcsname}
  {%
   \setlength{\leftmargin}{\parindent}%
   \setlength{\labelwidth}{.7\parindent}%
   \setlength{\topsep}{2pt}%
   \setlength{\itemsep}{2pt}%
   \setlength{\itemindent}{2pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\hfil##1\hfil}}%
  }
  {\end{list}}
\catcode`說=\active \def說{{\fontspec{AR PL ZenKai Uni}\char35498}}
\catcode`説=\active \def説{{\fontspec{Kochi Mincho}\char35500}}
\catcode`人=\active \def人{{\fontspec{Kochi Mincho}\char20154}}
\catcode`⁊=\active \def⁊{{\fontspec{Junicode}\char8266}} 
\catcode`Å=\active \defÅ{{\fontspec{DejaVu Serif}\char8491}} 
\catcode`⁻=\active \def⁻{\textsuperscript{-}}
\catcode` =\active \def {\,}
\fancyhfoffset[LO,LE]{2em}
\renewcommand\section{\@startsection {section}{1}{-2em}%
     {-1.75ex \@plus -0.5ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large\bfseries\sffamily}}
\renewcommand\subsection{\@startsection{subsection}{2}{-2em}%
     {-1.75ex\@plus -0.5ex \@minus- .2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large\sffamily}}
\makeatother </xsl:text>
  <xsl:call-template name="beginDocumentHook"/>
</xsl:template>
Stylesheet location to.xsl
Template tei:byline
Namespace No namespace
Match tei:byline
Mode #default
Supersedes
Template
Import precedence 28
Source
<xsl:template match="tei:byline"/>
Stylesheet location to.xsl
Template tei:titlePage/tei:note
Namespace No namespace
Match tei:titlePage/tei:note
Mode #default
Import precedence 28
Source
<xsl:template match="tei:titlePage/tei:note"/>
Stylesheet location to.xsl
Template tei:list
Namespace No namespace
Match tei:list
Mode #default
Supersedes
Template
Import precedence 28
Source
<xsl:template match="tei:list">
  <xsl:if test="parent::tei:item">\mbox{}\\[-10pt]</xsl:if>
  <xsl:apply-imports/>
</xsl:template>
Stylesheet location to.xsl
Template tei:teiHeader
Namespace No namespace
Match tei:teiHeader
Mode #default
References
Template
Supersedes
Template
Import precedence 28
Source
<xsl:template match="tei:teiHeader">
  <xsl:choose>
    <xsl:when test="not(parent::tei:*)">
      <xsl:call-template name="mainDocument"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:apply-templates select="tei:fileDesc"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
Stylesheet location to.xsl
Template tei:fileDesc
Namespace No namespace
Match tei:fileDesc
Mode #default
Import precedence 28
Source
<xsl:template match="tei:fileDesc">
  <xsl:apply-templates select="tei:sourceDesc/tei:msDesc"/>
</xsl:template>
Stylesheet location to.xsl
Parameter numberBackHeadings
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:param name="numberBackHeadings">A.1</xsl:param>
Stylesheet location to.xsl
Parameter numberFrontHeadings
Namespace No namespace
Used by
Templates
Supersedes
Source
<xsl:param name="numberFrontHeadings">i</xsl:param>
Stylesheet location to.xsl
Parameter spaceCharacter
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:param name="spaceCharacter">\hspace*{1em}</xsl:param>
Stylesheet location to.xsl
Parameter classParameters
Namespace No namespace
Used by
Template
Supersedes
Parameter
Source
<xsl:param name="classParameters">11pt,twoside</xsl:param>
Stylesheet location to.xsl
Parameter tocNumberSuffix
Namespace No namespace
Source
<xsl:param name="tocNumberSuffix">.\</xsl:param>
Stylesheet location to.xsl
Parameter numberSpacer
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:param name="numberSpacer">\</xsl:param>
Stylesheet location to.xsl
Parameter parSkip
Namespace No namespace
Used by
Template
Supersedes
Parameter
Source
<xsl:param name="parSkip">3pt</xsl:param>
Stylesheet location to.xsl
Parameter parIndent
Namespace No namespace
Used by
Template
Supersedes
Parameter
Source
<xsl:param name="parIndent">3pt</xsl:param>
Stylesheet location to.xsl
Parameter latexGeometryOptions
Namespace No namespace
Used by
Template
Supersedes
Source
<xsl:param name="latexGeometryOptions">twoside,lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in</xsl:param>
Stylesheet location to.xsl
Variable documentclass
Namespace No namespace
Used by
Supersedes
Parameter
Source
<xsl:variable name="documentclass">article</xsl:variable>
Stylesheet location to.xsl