summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xmltex/passivetex/teixml.sty
blob: 46d41a85394c817366aa5eb6e3912099a35699fe (plain)
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
\ProvidesPackage{teixml}[2000/06/22: support for TEI XML formatting, S Rahtz]
\RequirePackage{ifthen,longtable,nameref,graphicx}
\openin\@inputcheck=teixml.cfg
\ifeof\@inputcheck \relax
\else
\closein\@inputcheck 
 \input{teixml.cfg}
\fi
\usepackage{amsmath}
\usepackage{times}
\usepackage{unicode,ucharacters}

% List types
\def\Listordered{\begin{enumerate}}
\def\endListordered{\end{enumerate}}
\def\Listunordered{\begin{itemize}}
\def\endListunordered{\end{itemize}}
\def\Listgloss{\begin{description}}
\def\endListgloss{\end{description}}
\def\Listbulleted{\begin{itemize}}
\def\endListbulleted{\end{itemize}}
\def\Listitemize{\begin{itemize}}
\def\endListitemize{\end{itemize}}
\def\Listnumbered{\begin{enumerate}}
\def\endListnumbered{\end{enumerate}}

% items
\def\Itemordered{\item}
\def\Itembulleted{\item}
\def\Itemnumbered{\item}
\def\Itemunordered{\item}
\def\Itemitemize{\item}
\def\Itemgloss{}

\def\supppdf{supp-pdf}
\let\FOinputIfFileExists\InputIfFileExists
\def\InputIfFileExists#1#2#3{%
 {\def\@tempa{#1}\ifx\@tempa\supppdf\else
   \FOinputIfFileExists{#1}{#2}{#3}\fi}}
\endinput