texlive[68022] Master/texmf-dist: teubner (23aug23)
commits+karl at tug.org
commits+karl at tug.org
Wed Aug 23 00:46:29 CEST 2023
Revision: 68022
http://tug.org/svn/texlive?view=revision&revision=68022
Author: karl
Date: 2023-08-23 00:46:29 +0200 (Wed, 23 Aug 2023)
Log Message:
-----------
teubner (23aug23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/teubner/README
trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf
trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex
trunk/Master/texmf-dist/doc/latex/teubner/teubner.pdf
trunk/Master/texmf-dist/doc/latex/teubner/teubner.txt
trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx
trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty
trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty
Modified: trunk/Master/texmf-dist/doc/latex/teubner/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/teubner/README 2023-08-22 22:46:17 UTC (rev 68021)
+++ trunk/Master/texmf-dist/doc/latex/teubner/README 2023-08-22 22:46:29 UTC (rev 68022)
@@ -1,5 +1,5 @@
This README file accompanies the teubner bundle version 5.8.x dated
-June 2023 or later.
+August 2023 or later.
Copyright 2010-2023 Claudio Beccari
@@ -48,7 +48,7 @@
teubner package works also with previous versions of the above pieces of
software, but with limited performances.
-Version 5.8.0 patches some changes that were introduced in version 1.13.2
+Version 5.8.2 patches some changes that were introduced in recent versions
of the babel-greek language description file.
Claudio Beccari
Modified: trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex 2023-08-22 22:46:17 UTC (rev 68021)
+++ trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex 2023-08-22 22:46:29 UTC (rev 68022)
@@ -9,7 +9,7 @@
%\usepackage{pxfonts}
\usepackage{mflogo}
\usepackage[greek,english]{babel}
-\def\workingdate{2023-06-01}% see two lines ahead
+\def\workingdate{2023-06-10}% see two lines ahead
\usepackage[boldLipsian,10pt,GlyphNames]% <-------- teubner options
{teubner}[\workingdate]% <--- older versions don't work well
\usepackage[scaled=0.90]{helvet}
@@ -46,7 +46,7 @@
An extension for Greek philology\\
User manual}
\author{Claudio Beccari\thanks{\texttt{claudio dot beccari at gmail dot com}}}
-\date{June 2023}% <---- this is the date of the teubner-doc document!
+\date{August 2023}% <---- this is the date of the teubner-doc document!
\def\comando#1{\expandafter\texttt\expandafter{\string#1}}
\def\cs#1{\texttt{\char92#1}}
\def\ARG#1{\texttt{\char123}\meta{#1}\texttt{\char125}}
Modified: trunk/Master/texmf-dist/doc/latex/teubner/teubner.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/teubner/teubner.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/teubner/teubner.txt 2023-08-22 22:46:17 UTC (rev 68021)
+++ trunk/Master/texmf-dist/doc/latex/teubner/teubner.txt 2023-08-22 22:46:29 UTC (rev 68022)
@@ -1,5 +1,5 @@
- THE TEUBNER PACKAGE VERSION 5.8.0 OF JUNE 2023
+ THE TEUBNER PACKAGE VERSION 5.8.2 OF AUGUST 2023
EXTENSION FOR PHILOLOGICAL TYPESETTING
@@ -48,7 +48,7 @@
they deal with the package internal workings. But these improvements
require a recent installation of the TeX system, because they use
interfaces to the new LaTeX 3 language; the minimum date of the LaTeX
-kernel should not be earlier than January 2020. In any case some modifications were made to the greek.ldf, version 1.13.x, on June 1, 2023, that required some more patches.
+kernel should not be earlier than January 2020. In any case some modifications were made to some greek.ldf recent versions, and on August 2023 some more patches. were introduced to teubner.sty v.5.8.2.
Some time ago Antonis Tsolomitis uploaded the package txfontsb which
Modified: trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx 2023-08-22 22:46:17 UTC (rev 68021)
+++ trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx 2023-08-22 22:46:29 UTC (rev 68022)
@@ -43,7 +43,7 @@
%<package>\ProvidesPackage{teubner}[%
%<tbtx>\ProvidesPackage{teubnertx}[%
%<*driver,package,tbtx>
-2023/06/10 v.5.8.0
+2023/08/22 v.5.8.2
%<package>Extensions for Greek philology]
%<tbtx>Access to the LGR encoded Greek fonts that match the TX fonts]
%</driver,package,tbtx>
@@ -84,7 +84,7 @@
%</driver>
% \fi
%
-% \CheckSum{4206}
+% \CheckSum{4190}
% \begin{multicols}{2}\tableofcontents\end{multicols}
%
%
@@ -646,7 +646,7 @@
% distinguishes the variant or the main language whose attribute
% gets set and, evidently, becomes effective when the main language
% |greek| is in force. Notice that if the |greek.ldf| has a date previous
-% to 2014/09/18, the attribute |ancient| may not be defined; in this case
+% to 2014-09-18, the attribute |ancient| may not be defined; in this case
% the |polutoniko| attribute is set, else the |ancient| attribute is
% selected. The difference is that the attribute |polutoniko| selects
% the polytonic spelling and the modern Greek hyphenation, while
@@ -657,36 +657,45 @@
% 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 at 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.
+% In this new version 5.81 of this package I redefined the test to check
+%if the \texttt{greek.ldf} is sufficiently recent in order to correctly
+% use the ancient Greek version. The 2023 dev release of the \LaTeX format
+% already contains a new control sequence named \cs{IfFileAtLeastTF}
+% LaTeX3 function that allows to test the date of any file the full name
+% of which is passed as the first argument to the function; the syntax is
+% as such
+%
+% \cs{IfFileAtLeastTF}\marg{full file name}\marg{ISO date}\marg{true}\marg{false}
+%
+%\noindent where the \meta{full file name} means with its extension;
+% \meta{ISO date} means any form among yyyy/mm/dd or yyyy-mm-dd.
+% If the LaTeX kernel already contains this LaTeX3 definition the teubner
+% definition is skipped.
% \begin{macrocode}
+\unless\ifcsname IfFileAtLeastTF\endcsname
+ \def\IfFileAtLeastTF#1{\expandafter\@ifl at 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 at slash#1-#2-#3!{\edef\@tempA{#1#2#3}}
- \def\getgreekdate#1 #2 #3 #4!{\def\@tempA{#1}\expandafter\strip at slash\@tempA!}
- \expandafter\expandafter\expandafter\getgreekdate\csname ver at greek.ldf\endcsname !
- \ifnum\@tempA<20140918
- \languageattribute{greek}{polutoniko}%
- \else
- \languageattribute{greek}{ancient}%
- \fi
- \let\strip at slash\@undefined
- \let\getgreekdate\@undefined
+\IfFileAtLeastTF{greek.ldf}{2014-09-18}%
+ {\languageattribute{greek}{ancient}}%
+ {\languageattribute{greek}{polutoniko}}%
\fi
% \end{macrocode}
%\end{macro}
-
+% Unfortunately the ISO date allows two formats:
+% for example 2023/08/22 and 2023-08-22, somewhere
+% else \LaTeX\,3 can accept both formats, but the
+% particulare command todays accepts only the
+% dashed variant, not the slashed one, therefore
+% the \texttt{greek.ldf} sometimes changes date
+% format and an error message pops up. Thanks to
+% Ludz Kruschwitz, who set a bug report directly
+% to me, so that <i could correct this teubner.sty
+% version~5.8.2.
%
% \subsection{Compatibility with Latin fonts}\label{ssec:LatinFontComp}
%
Modified: trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty 2023-08-22 22:46:17 UTC (rev 68021)
+++ trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty 2023-08-22 22:46:29 UTC (rev 68022)
@@ -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 @@
\fontencoding{U}\fontfamily{mtr}\normalshape}
\DeclareTextFontCommand{\textmtr}{\metricsfont}
\RequirePackage{exscale}
+\unless\ifcsname IfFileAtLeastTF\endcsname
+ \def\IfFileAtLeastTF#1{\expandafter\@ifl at 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 at slash#1-#2-#3!{\edef\@tempA{#1#2#3}}
- \def\getgreekdate#1 #2 #3 #4!{\def\@tempA{#1}\expandafter\strip at slash\@tempA!}
- \expandafter\expandafter\expandafter\getgreekdate\csname ver at greek.ldf\endcsname !
- \ifnum\@tempA<20140918
- \languageattribute{greek}{polutoniko}%
- \else
- \languageattribute{greek}{ancient}%
- \fi
- \let\strip at slash\@undefined
- \let\getgreekdate\@undefined
+\IfFileAtLeastTF{greek.ldf}{2014-09-18}%
+ {\languageattribute{greek}{ancient}}%
+ {\languageattribute{greek}{polutoniko}}%
\fi
-
\newif\ifLipsian
\providecommand*\substitutefontfamily{}%
Modified: trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty 2023-08-22 22:46:17 UTC (rev 68021)
+++ trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty 2023-08-22 22:46:29 UTC (rev 68022)
@@ -17,7 +17,7 @@
%% See the end of the file.
%%
\ProvidesPackage{teubnertx}[%
-2023/06/10 v.5.8.0
+2023/08/22 v.5.8.2
Access to the LGR encoded Greek fonts that match the TX fonts]
\DeclareFontFamily{LGR}{txr}{}
More information about the tex-live-commits
mailing list.