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.sty14
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/teubner/teubner.sty b/Master/texmf-dist/tex/latex/teubner/teubner.sty
index b0a35f62396..9e867f0e043 100644
--- a/Master/texmf-dist/tex/latex/teubner/teubner.sty
+++ b/Master/texmf-dist/tex/latex/teubner/teubner.sty
@@ -44,7 +44,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{teubner}[%
-2013/12/31 v.4.2
+2014/10/02 v.4.3
Extensions for Greek philology]
\RequirePackage{iftex}
\let\ifPDF\ifPDFTeX
@@ -90,7 +90,17 @@ Type X <return> to exit.}%
\ifx\languageattribute\undefined
\def\GreekName{polutonikogreek}%
\else
- \languageattribute{greek}{polutoniko}\def\GreekName{greek}%
+ \def\GreekName{greek}
+ \def\strip@slash#1/#2/#3!{\edef\@tempA{#1#2#3}}
+ \def\getgreekdate#1 #2 #3 #4!{\def\@tempA{#1}\expandafter\strip@slash\@tempA!}
+ \expandafter\expandafter\expandafter\getgreekdate\csname ver@greek.ldf\endcsname !
+ \ifnum\@tempA<20140918
+ \languageattribute{greek}{polutoniko}%
+ \else
+ \languageattribute{greek}{ancient}%
+ \fi
+ \let\strip@slash\@undefined
+ \let\getgreekdate\@undefined
\fi
\newif\ifLipsian