diff options
Diffstat (limited to 'macros/latex/contrib/teubner/teubner.dtx')
-rw-r--r-- | macros/latex/contrib/teubner/teubner.dtx | 24 |
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} |