summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/teubner/teubner.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/teubner/teubner.sty')
-rw-r--r--Master/texmf-dist/tex/latex/teubner/teubner.sty91
1 files changed, 44 insertions, 47 deletions
diff --git a/Master/texmf-dist/tex/latex/teubner/teubner.sty b/Master/texmf-dist/tex/latex/teubner/teubner.sty
index 51e1a668ce1..4ed50bf7064 100644
--- a/Master/texmf-dist/tex/latex/teubner/teubner.sty
+++ b/Master/texmf-dist/tex/latex/teubner/teubner.sty
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% teubner.dtx (with options: `package')
-%% Copyright 2001--2012 Claudio Beccari All rights reserved.
+%% Copyright 2001--2013 Claudio Beccari All rights reserved.
%%
%% This system is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -20,7 +20,7 @@
%%
%% You are not allowed to change this file.
%%
-%% You are allowed to distribute this file under the condition that it is
+%% You are allowed to distribute this file under the conditions that are
%% specified in the source file teubner.dtx.
%%
%% If you receive only some of these files from someone, complain!
@@ -46,15 +46,15 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{teubner}[%
-2012/09/17 v.3.4
+2013/12/13 v.4.1
Extensions for Greek philology]
\newif\ifPDF \PDFfalse
-\@ifundefined{pdfoutput}{\PDFfalse}{\ifnum\pdfoutput>\z@\PDFtrue\fi}
+\@ifundefined{pdfoutput}{}{\ifnum\pdfoutput>\z@\PDFtrue\fi}
\ifx\captionsgreek\undefined
\PackageError{teubner}{Greek language unknown!\MessageBreak
I am not going to use Lipsian fonts and Scholars' signs\MessageBreak
if Greek is unknown.\MessageBreak
-Use the babel package with the \texttt{greek} option.\MessageBreak
+Use the babel package greek option.\MessageBreak
Type X <return> to exit.}%
{Type X <return> to exit.}
\fi
@@ -169,7 +169,7 @@ Type X <return> to exit.}%
\DeclareTextFontCommand{\textli}{\lishape}%
\DeclareRobustCommand\Lipsiakostext{%
\expandafter\select@language\expandafter{\GreekName}%
- \let\~\Perispomeni\let~\greek@tilde\lishape}
+ \let\~\accperispomeni\let~\accperispomeni\lishape}
\DeclareTextFontCommand{\textLipsias}{\Lipsiakostext}
@@ -181,7 +181,7 @@ Type X <return> to exit.}%
\DeclareRobustCommand\textDidot[1]{{%
\expandafter\select@language\expandafter{\GreekName}%
- \let\~\Perispomeni\let~\greek@tilde
+ \let\~\accperispomeni\let~\accperispomeni
\fontencoding{LGR}\rmfamily#1}}
\DeclareRobustCommand\textlatin[1]{\edef\externalencoding{\f@encoding}{%
@@ -251,18 +251,19 @@ Type X <return> to exit.}%
\ifx#1k\advance\dimen@-.3\wd\tw@\fi\fi
\raise\@tempdima\hbox to\z@{\kern\dimen@\box\tw@\relax\hss}\box\z@}}
-\DeclareTextCommand{\cap}{\GRencoding@name}{\cap@}
-\DeclareTextCommand{\cap}{OT1}{\cap@}
-\DeclareTextCommand{\cap}{T1}{\cap@}
-
+\let\mcap\cap
+\DeclareTextCommand{\tcap}{\GRencoding@name}{\cap@}
+\DeclareTextCommand{\tcap}{OT1}{\cap@}
+\DeclareTextCommand{\tcap}{T1}{\cap@}
+\DeclareRobustCommand*\cap{\textormath{\tcap}{\mcap}}
\newcommand*\cap@cedilla[1]{\leavevmode
{\setbox4\hbox{\fontencoding{\GRencoding@name}\selectfont\char1}%
\dimen@-.5\wd4
\setbox\z@\hbox{#1}%
\ifx\cf@encoding\GRencoding@name
-\ifx#1i\advance\dimen@ .65\wd\z@\else\advance\dimen@ .5\wd\z@\fi
+ \ifx#1i\advance\dimen@ .65\wd\z@\else\advance\dimen@ .5\wd\z@\fi
\else
-\ifx#1i\advance\dimen@ .55\wd\z@\else\advance\dimen@ .5\wd\z@\fi
+ \ifx#1i\advance\dimen@ .55\wd\z@\else\advance\dimen@ .5\wd\z@\fi
\fi
\hbox to\z@{\kern\dimen@\box4\hss}\unhbox\z@}}
@@ -317,24 +318,24 @@ Type X <return> to exit.}%
\hbox to\z@{\kern\dimen@\box4\hss}\unhbox\z@}}
\let\nbs\nobreakspace
+\let\accacuto\'
+\let\accgrave\`
+\let\acccircon\~
+\let\accdieresi\"
+\let\accbreve\u
+\let\accmacron\=
\DeclareTextCommand{\G}{\GRencoding@name}[1]{\lift@accent{96}{#1}}
\DeclareTextCommand{\A}{\GRencoding@name}[1]{\lift@accent{39}{#1}}
\DeclareTextCommand{\C}{\GRencoding@name}[1]{\lift@accent{126}{#1}}
-\DeclareTextCommand{\D}{\GRencoding@name}[1]{\lift@accent{34v}{#1}}
-\DeclareTextCommand{\u}{\GRencoding@name}[1]{\lift@accent{30}{#1}}
-\DeclareTextCommand{\=}{\GRencoding@name}[1]{\lift@accent{31}{#1}}
-\renewcommand*\'[1]{\lift@accent{39}{#1}}
-\renewcommand*\`[1]{\lift@accent{96}{#1}}
-\renewcommand*\~[1]{\lift@accent{126}{#1}}
-\renewcommand*\"[1]{\lift@accent{34v}{#1}}
-
-\input{LGRaccents-glyphs.def}
-\let\GRcirc\Perispomeni
-\addto\extrasgreek{\shorthandoff{~}\let\~\Perispomeni}
-\addto\noextrasgreek{\shorthandon{~}}
+\DeclareTextCommand{\D}{\GRencoding@name}[1]{\lift@accent{34\textcompwordmark}{#1}}
+\DeclareTextCommand{\B}{\GRencoding@name}[1]{\lift@accent{30}{#1}}
+\DeclareTextCommand{\M}{\GRencoding@name}[1]{\lift@accent{31}{#1}}
+\addto\extrasgreek{\shorthandoff{~}\let\~\accperispomeni
+\let\"\accdialytika\let\'\acctonos\let\`\accvaria}
+\addto\noextrasgreek{\shorthandon{~}\let\~\acccircon
+\let\"\accdieresi\let\'\accacuto\let\`\accgrave}
\DeclareTextCommand{\U}{\GRencoding@name}[1]{\lift@accent{151}{#1}}
-\DeclareTextCommand{\=}{\GRencoding@name}[1]{\lift@accent{31}{#1}}
\DeclareTextCommand{\r}{\GRencoding@name}[1]{\lift@accent{60}{#1}}
\DeclareTextCommand{\s}{\GRencoding@name}[1]{\lift@accent{62}{#1}}
\DeclareTextCommand{\Ad}{\GRencoding@name}[1]{\lift@accent{35}{#1}}
@@ -450,26 +451,22 @@ Type X <return> to exit.}%
\DeclareTextCommand{\UO}{OT1}[1]{\Open{\u{#1}}}
\DeclareTextCommand{\mO}{OT1}[1]{\Open{\={#1}}}
-\DeclareTextSymbol{\greekquoteleft}{\GRencoding@name}{123}
-\let\textguillemotleft\greekquoteleft
-\DeclareTextSymbol{\greekquoteright}{\GRencoding@name}{125}
-\let\textguillemotright\greekquoteright
-\DeclareTextSymbol{\textcompwordmark}{\GRencoding@name}{118}
-\DeclareTextSymbol{\textemdash}{\GRencoding@name}{127}
-\let\emdash\textemdash
-\DeclareTextSymbol{\textendash}{\GRencoding@name}{0}
-
-\DeclareTextSymbol{\stigma}{\GRencoding@name}{006}
-\DeclareTextSymbol{\varstigma}{\GRencoding@name}{007}
-\DeclareTextSymbol{\koppa}{\GRencoding@name}{18}
-\DeclareTextSymbol{\varkoppa}{\GRencoding@name}{19}\let\coppa\varkoppa
-\DeclareTextSymbol{\sampi}{\GRencoding@name}{27}
-\DeclareTextSymbol{\Coppa}{\GRencoding@name}{21}\let\Koppa\Coppa
-\DeclareTextSymbol{\Stigma}{\GRencoding@name}{22}
-\DeclareTextSymbol{\Sampi}{\GRencoding@name}{23}
-\DeclareTextSymbol{\Euro}{\GRencoding@name}{24}
-\DeclareTextSymbol{\permill}{\GRencoding@name}{25}
-
+\let\stigma\textstigma
+\let\varstigma\textvarstigma
+\let\koppa\textkoppa
+\let\qoppa\textqoppa
+\let\coppa\textqoppa
+\let\Koppa\textQoppa
+\let\Coppa\textQoppa
+\let\varkoppa\textqoppa
+\let\sampi\textsampi
+\let\Stigma\textStigma
+\let\Sampi\textsampi
+\let\f\textdigamma
+\let\Digamma\textDigamma
+\let\Euro\texteuro
+\let\permill\textperthousand
+\let\schwa\textschwa
\DeclareTextCommand{\textdollar}{\GRencoding@name}%
{{\fontencoding{T1}\selectfont\char36}}
\DeclareTextCommand{\textsection}{\GRencoding@name}%
@@ -643,7 +640,7 @@ Type X <return> to exit.}%
\DeclareTextComposite{\Gs}{\GRencoding@name}{e}{235}
\DeclareTextSymbol{\oR}{\GRencoding@name}{229}
\DeclareTextComposite{\r}{\GRencoding@name}{o}{229}
-\DeclareTextSymbol{\og}{\GRencoding@name}{228}
+\DeclareTextSymbol{\oG}{\GRencoding@name}{228}
\DeclareTextSymbol{\os}{\GRencoding@name}{230}
\DeclareTextComposite{\s}{\GRencoding@name}{o}{230}
\DeclareTextSymbol{\org}{\GRencoding@name}{231}