summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/teubner/teubner.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-06-12 03:06:21 +0000
committerNorbert Preining <norbert@preining.info>2023-06-12 03:06:21 +0000
commitc17d6d7111c3e6e6d92d99ba3b5bf8caf4d5b911 (patch)
tree21258a888d61116f132680a78c8dc59f22c455df /macros/latex/contrib/teubner/teubner.dtx
parent2b515a7d84c09167cb70bedb643c75426d4be4b1 (diff)
CTAN sync 202306120306
Diffstat (limited to 'macros/latex/contrib/teubner/teubner.dtx')
-rw-r--r--macros/latex/contrib/teubner/teubner.dtx24
1 files changed, 19 insertions, 5 deletions
diff --git a/macros/latex/contrib/teubner/teubner.dtx b/macros/latex/contrib/teubner/teubner.dtx
index bd656ecbda..c95283e7f3 100644
--- a/macros/latex/contrib/teubner/teubner.dtx
+++ b/macros/latex/contrib/teubner/teubner.dtx
@@ -4,7 +4,7 @@
\input docstrip.tex
\keepsilent
\preamble
-Copyright 2001--2022 Claudio Beccari All rights reserved.
+Copyright 2001--2023 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
@@ -43,7 +43,7 @@ See the end of the file.
%<package>\ProvidesPackage{teubner}[%
%<tbtx>\ProvidesPackage{teubnertx}[%
%<*driver,package,tbtx>
-2022/10/03 v.5.7.3
+2023/06/10 v.5.8.0
%<package>Extensions for Greek philology]
%<tbtx>Access to the LGR encoded Greek fonts that match the TX fonts]
%</driver,package,tbtx>
@@ -656,12 +656,24 @@ Type X <return> to exit.}%
% Nevertheless, if some work on modern polytonic Greek philological
% document is being typeset, the |ancient| attribute may work
% satisfactorily, but with some possible “ancient” line breaks.
+%
+% In this new version 5.8.0 of this package I had to redefine my macro
+% \cs{strip@slash}, the purpose of which is to compact the ISO date
+% formato in a string made up only of eight digits, without separators,
+% because the maintainer of the \pack{babel-greek} package on 31st o fMay
+% 2023 changed the formati; in facts the previous format was YYYY/MM/DD,
+% the new format is YYYY-MM-DD; Evidently now the separators are hyphen
+% signs, not slashes, I did not change the name of my command; I just
+% modified its definition so as to delete the hyphen signs. The number
+% test that follows checks the digit string against another digit string
+% so as to control if the \pack{babel-greek} package is sufficiently
+% recent.
% \begin{macrocode}
\ifx\languageattribute\undefined
\def\GreekName{polutonikogreek}%
\else
\def\GreekName{greek}
- \def\strip@slash#1/#2/#3!{\edef\@tempA{#1#2#3}}
+ \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
@@ -3563,8 +3575,10 @@ $\displaystyle\left.%
\providecommand\grtoday{}
\RenewDocumentCommand\grtoday{ s }%
{\bgroup\IfBooleanTF{#1}%
-{\greeknumeral*{\the\day}\space\gr@c@month\space\greeknumeral*{\the\year}}%
-{\greeknumeral{\the\day}\space\gr@c@month\space\greeknumeral{\the\year}}%
+{\greeknumeral*{\the\day}\space \gr@polutoniko@month\space
+ \greeknumeral*{\the\year}}%
+{\greeknumeral{\the\day}\space \gr@polutoniko@month\space
+ \greeknumeral{\the\year}}%
\egroup}
% \end{macrocode}