summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-22 22:46:29 +0000
committerKarl Berry <karl@freefriends.org>2023-08-22 22:46:29 +0000
commita07d4da78eb3565edffdd8b676457684c47158dd (patch)
treee3ff81e52a8fbd118737ffb9cf361ac9f4d680d2 /Master/texmf-dist
parent7132d484d10d6a06ab868466f92eaf661d3cf2f9 (diff)
teubner (23aug23)
git-svn-id: svn://tug.org/texlive/trunk@68022 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/teubner/README4
-rw-r--r--Master/texmf-dist/doc/latex/teubner/teubner-doc.pdfbin431373 -> 438211 bytes
-rw-r--r--Master/texmf-dist/doc/latex/teubner/teubner-doc.tex4
-rw-r--r--Master/texmf-dist/doc/latex/teubner/teubner.pdfbin673272 -> 673944 bytes
-rw-r--r--Master/texmf-dist/doc/latex/teubner/teubner.txt4
-rw-r--r--Master/texmf-dist/source/latex/teubner/teubner.dtx63
-rw-r--r--Master/texmf-dist/tex/latex/teubner/teubner.sty24
-rw-r--r--Master/texmf-dist/tex/latex/teubner/teubnertx.sty2
8 files changed, 53 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/teubner/README b/Master/texmf-dist/doc/latex/teubner/README
index d277daf7be5..beb199d8f8b 100644
--- a/Master/texmf-dist/doc/latex/teubner/README
+++ b/Master/texmf-dist/doc/latex/teubner/README
@@ -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 @@ greek.ldf 1.10 so as cope with the ancient Greek numbering system. The
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
diff --git a/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf b/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf
index 0dc5378b367..357cbf916cc 100644
--- a/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf
+++ b/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex b/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex
index 4dca1c1316a..dda85284b1d 100644
--- a/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex
+++ b/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex
@@ -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}}
diff --git a/Master/texmf-dist/doc/latex/teubner/teubner.pdf b/Master/texmf-dist/doc/latex/teubner/teubner.pdf
index 809742aad03..e6e41c34fb6 100644
--- a/Master/texmf-dist/doc/latex/teubner/teubner.pdf
+++ b/Master/texmf-dist/doc/latex/teubner/teubner.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/teubner/teubner.txt b/Master/texmf-dist/doc/latex/teubner/teubner.txt
index fbd8e4f77ec..576046364ed 100644
--- a/Master/texmf-dist/doc/latex/teubner/teubner.txt
+++ b/Master/texmf-dist/doc/latex/teubner/teubner.txt
@@ -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 @@ improvements have been added that are transparent to the end user, since
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
diff --git a/Master/texmf-dist/source/latex/teubner/teubner.dtx b/Master/texmf-dist/source/latex/teubner/teubner.dtx
index c95283e7f35..bcac1f2b34e 100644
--- a/Master/texmf-dist/source/latex/teubner/teubner.dtx
+++ b/Master/texmf-dist/source/latex/teubner/teubner.dtx
@@ -43,7 +43,7 @@ See the end of the file.
%<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 @@ See the end of the file.
%</driver>
% \fi
%
-% \CheckSum{4206}
+% \CheckSum{4190}
% \begin{multicols}{2}\tableofcontents\end{multicols}
%
%
@@ -646,7 +646,7 @@ Type X <return> to exit.}%
% 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 @@ Type X <return> to exit.}%
% 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.
+% 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@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
% \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}
%
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{}%
diff --git a/Master/texmf-dist/tex/latex/teubner/teubnertx.sty b/Master/texmf-dist/tex/latex/teubner/teubnertx.sty
index f401c03333a..06e4a7e49fc 100644
--- a/Master/texmf-dist/tex/latex/teubner/teubnertx.sty
+++ b/Master/texmf-dist/tex/latex/teubner/teubnertx.sty
@@ -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}{}