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.sty24
1 files changed, 10 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/teubner/teubner.sty b/Master/texmf-dist/tex/latex/teubner/teubner.sty
index 1faa88f5b25..e1ce7b88da7 100644
--- a/Master/texmf-dist/tex/latex/teubner/teubner.sty
+++ b/Master/texmf-dist/tex/latex/teubner/teubner.sty
@@ -18,7 +18,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020-01-01]
\ProvidesPackage{teubner}[%
-2023/06/10 v.5.8.0
+2023/08/22 v.5.8.2
Extensions for Greek philology]
\RequirePackage{iftex}
\let\ifPDF\ifPDFTeX
@@ -64,22 +64,18 @@ Type X <return> to exit.}%
\fontencoding{U}\fontfamily{mtr}\normalshape}
\DeclareTextFontCommand{\textmtr}{\metricsfont}
\RequirePackage{exscale}
+\unless\ifcsname IfFileAtLeastTF\endcsname
+ \def\IfFileAtLeastTF#1{\expandafter\@ifl@t@r\csname ver@#1\endcsname}%
+\fi
+
+\def\GreekName{greek}
\ifx\languageattribute\undefined
- \def\GreekName{polutonikogreek}%
+ \def\GreekName{polutonikogreek}%
\else
- \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
+\IfFileAtLeastTF{greek.ldf}{2014-09-18}%
+ {\languageattribute{greek}{ancient}}%
+ {\languageattribute{greek}{polutoniko}}%
\fi
-
\newif\ifLipsian
\providecommand*\substitutefontfamily{}%