texlive[64600] Master/texmf-dist: teubner (3oct22)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 3 22:33:13 CEST 2022


Revision: 64600
          http://tug.org/svn/texlive?view=revision&revision=64600
Author:   karl
Date:     2022-10-03 22:33:12 +0200 (Mon, 03 Oct 2022)
Log Message:
-----------
teubner (3oct22)

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	2022-10-03 20:32:55 UTC (rev 64599)
+++ trunk/Master/texmf-dist/doc/latex/teubner/README	2022-10-03 20:33:12 UTC (rev 64600)
@@ -1,4 +1,5 @@
-This accompanies the teubner bundle version 5.x dated November 2020 or later.
+This README file accompanies the teubner bundle version 5.x dated 
+November 2020 or later.
 
 Copyright 2010-2022 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	2022-10-03 20:32:55 UTC (rev 64599)
+++ trunk/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex	2022-10-03 20:33:12 UTC (rev 64600)
@@ -46,7 +46,7 @@
 An extension for Greek philology\\
 User manual}
 \author{Claudio Beccari\thanks{\texttt{claudio dot beccari at gmail dot com}}}
-\date{October 2022}% <---- this is the date of the teubenr-doc document!
+\date{October 2022}% <---- 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}}
@@ -568,19 +568,7 @@
 if you type \texttt{\comando\AtticNumeral\{55555\}} you get \textLipsias{\AtticNumeral{55555}}
 \end{quote}
 
-\section{New commands}
-This package introduces many new commands for typesetting Greek in a philological way. Most such commands are collected in table~\ref{t:extcomandi}.
 
-A short remark on the command \comando\ap: this useful command inserts \emph{anything} as a superscript of anything else; it works both in text mode and in math mode\footnote{Numerical superscripts or apices do not require math mode; numerical footnote labels are automatically inserted by \LaTeX's \comando\footnote\ command; non numerical footnote labels are easily inserted with \LaTeX's \comando\footnotemark\ and \comando\footnotetext\ commands with their optional arguments.}. In particular while typesetting a philological text in different languages and with different alphabets, \comando\ap\ typesets the superscript with the current language and alphabet; if any change is required, the \comando\ap's argument can contain any language or alphabet specific declaration. You can typeset something such as \textLipsias{Baq\'ulides\,\ap{\textlatin{a}}} by switching language and alphabet as required; the specific declarations and the commands contained in table~\ref{t:extcomandi} come handy also in these cases.
-
-Please, read the \file{teubner.pdf} file for what concerns command \cs{LLadd}; it accepts two optional kerning values in order to adapt the internal spaces in accordance with the nature of the \meta{text} argument; with capital letters and/or sloping fonts, such kerning values may come handy for a perfect final result.
-Its new syntax is the following:
-\begin{quote}
-\cs{LLadd}\oarg{left kerning}\marg{text}\oarg{right kerning}
-\end{quote}
-where both kerning values imply a reduction of space if they are specified as positive values; use o font size units, such as \texttt{ex} or \texttt{em} are recommended, since they assure the automatic correct value even when changing font size.
-
-
 \begin{table}[!p]\thrule
 \let\c\comando
 \resizebox*{\textwidth}{!}{\footnotesize
@@ -636,7 +624,19 @@
 \caption{Extended commands}\label{t:extcomandi}
 \end{table}
 
+\section{New commands}
+This package introduces many new commands for typesetting Greek in a philological way. Most such commands are collected in table~\ref{t:extcomandi}.
 
+A short remark on the command \comando\ap: this useful command inserts \emph{anything} as a superscript of anything else; it works both in text mode and in math mode\footnote{Numerical superscripts or apices do not require math mode; numerical footnote labels are automatically inserted by \LaTeX's \comando\footnote\ command; non numerical footnote labels are easily inserted with \LaTeX's \comando\footnotemark\ and \comando\footnotetext\ commands with their optional arguments.}. In particular while typesetting a philological text in different languages and with different alphabets, \comando\ap\ typesets the superscript with the current language and alphabet; if any change is required, the \comando\ap's argument can contain any language or alphabet specific declaration. You can typeset something such as \textLipsias{Baq\'ulides\,\ap{\textlatin{a}}} by switching language and alphabet as required; the specific declarations and the commands contained in table~\ref{t:extcomandi} come handy also in these cases.
+
+Please, read the \file{teubner.pdf} file for what concerns command \cs{LLadd}; it accepts two \emph{optional} kerning values in order to adapt the internal spaces in accordance with the nature of the \meta{text} argument; with capital letters and/or sloping fonts, such kerning values may come handy for a perfect final result. Nevertheless a lot of attention was used to cope with such situations so as to avoid the above described corrections.
+Its new syntax is the following:
+\begin{quote}
+\cs{LLadd}\oarg{left kerning}\marg{text}\oarg{right kerning}
+\end{quote}
+where both kerning values imply a \emph{reduction} of space if they are specified as positive values; therefore if you specify negative values, the space is increased. Using of font size units, such as \texttt{ex} or \texttt{em} is recommended, since xuch units assure the automatic correct value even when changing font size.
+
+
 \section{Metrics}
 Philological writings often require the description of metrics;
 for this purpose a new font has been developed that contains most

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	2022-10-03 20:32:55 UTC (rev 64599)
+++ trunk/Master/texmf-dist/doc/latex/teubner/teubner.txt	2022-10-03 20:33:12 UTC (rev 64600)
@@ -1,5 +1,5 @@
              
-            THE TEUBNER PACKAGE VERSION 5.7 OF OCTOBER 2022
+            THE TEUBNER PACKAGE VERSION 5.7.3 OF OCTOBER 2022
                  EXTENSION FOR PHILOLOGICAL TYPESETTING
 
 
@@ -39,7 +39,7 @@
 compatibility with the Latin Modern fonts was already available with 
 version 2.x of this package.
 
-With  the upgrade of the Greek support to babel through file greek.ldf 
+With  the upgrade of the Greek support for babel through file greek.ldf 
 version 1.10, teubner package versions previous to 5.0 became unable to
 transform  Arabic numerals into the classical Milesian and Attic number 
 representations. From version 5.0 the teubner  package has been patched 
@@ -74,10 +74,10 @@
 In order to use this extension package with LaTeX you have to install it. 
 May be the  very installation of your  (recent) TeX system  distribution 
 already provided for this task; may be your  TeX system is configured to 
-load missing packages on the fly. In any case you can check and possibly 
-run your Package Manager: with MiKTeX follow the path: 
-                Programs|MiKTeX Settings|Packages;
-with TeXlive and  MacTeX   (if their installation configuration was not 
+load missing packages on the fly.  In any case with MiKTeX you can check 
+and possibly run your Package Manager: X follow the path: 
+                Programs|MiKTeX Settings|Packages.
+With TeXlive and  MacTeX   (if their installation configuration was not 
 the default complete one) run tlmgr.
   
 If you feel more comfortable to do everything by yourself and/or want to 
@@ -84,12 +84,12 @@
 make  a personal  installation,  run teubner.dtx  through  pdflatex; the 
 generated  files are  teubner.sty  and the aforementioned  teubnertx.sty  
 file;  they must be moved  where TeX-the-program  can  find  them.  This  
-depends very much  on your particular implementation  of the TeX system, 
-but if your system copes with the TDS (standard TeX Directory Structure)  
-and has a multiplicity  of different TeX  directory trees,  you probably  
-have a \localtexmf  rooted TDS,  or a /texmf one in your  Home directory 
+depends  very much  on your  particular  installation  of the TeX system, 
+but if your system copes with the TDS  (standard TeX Directory Structure)  
+and has  a multiplicity  of different TeX  directory trees,  you probably  
+have a \localtexmf  rooted TDS,  or a /texmf one  in your  Home directory 
 containing a /tex directory tree which on turn contains a latex directory.  
-Under  the latter one  create a new directory  named, say,  teubner, and 
+Under  the latter one  create  a new directory  named, say,  teubner, and 
 move to this folder the teubner.sty, and teubnertx.sty files.
 
 I suggest  to create  a directory /teubner in the /doc  directory of the 
@@ -100,8 +100,7 @@
 TeX system  distribution;  this means  that  there are  already  all the 
 files  TeX-the-program  needs  in order  to do  its  work;  there is one 
 point, though, that  requires  full  attention;  the default *basic* TeX 
-system installation  loads only  the PostScript  fonts in size 10pt; all 
-other sizes are obtained  by reducing or enlarging that single size. 
+system installation loads only the Type 1 fonts in size 10pt;  all other sizes are obtained  by reducing or enlarging that single size. 
 A *complete*  TeX system installation does not  exhibit this limitation. 
 There are also non standard scalable Type 1 fonts, such for example, the 
 Fourier  ones,  that  come  only  in one size,  the 10pt one;  for these 

Modified: trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx	2022-10-03 20:32:55 UTC (rev 64599)
+++ trunk/Master/texmf-dist/source/latex/teubner/teubner.dtx	2022-10-03 20:33:12 UTC (rev 64600)
@@ -43,7 +43,7 @@
 %<package>\ProvidesPackage{teubner}[%
 %<tbtx>\ProvidesPackage{teubnertx}[%
 %<*driver,package,tbtx>
-2022/10/01 v.5.7.1 
+2022/10/03 v.5.7.3 
 %<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{4190}
+% \CheckSum{4206}
 % \begin{multicols}{2}\tableofcontents\end{multicols}
 %
 %
@@ -618,7 +618,9 @@
 \DeclareFontShape{U}{mtr}{m}{it}{<->ssub*mtr/m/n}{}%
 \DeclareFontShape{U}{mtr}{b}{it}{<->ssub*mtr/m/n}{}%
 \DeclareFontShape{U}{mtr}{bx}{n}{<->ssub*mtr/m/n}{}%
-\newcommand*\metricsfont{\fontencoding{U}\fontfamily{mtr}\normalshape}
+\DeclareRobustCommand*\metricsfont{%
+  \fontencoding{U}\fontfamily{mtr}\normalshape}
+\DeclareTextFontCommand{\textmtr}{\metricsfont}
 %    \end{macrocode}
 % \end{macro} Next we require the package for extensible math fonts;
 % it might be strange to use extensible math fonts in Greek philology,
@@ -1024,16 +1026,16 @@
   \ProvideDocumentEnvironment{GRL}{m}{}{}
 
 \RenewDocumentEnvironment{GRL}{o}{\begin{otherlanguage*}{greek}%
-\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
-\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
+\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
+\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
 \IfValueTF{#1}{\fontseries{#1}}{}%
-  \fontshape{li}\selectfont}{\end{otherlanguage*}}
+  \fontshape{li}\selectfont}{\end{otherlanguage*}}%
 
 \RenewDocumentEnvironment{GRD}{o}{\begin{otherlanguage*}{greek}%
-\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
-\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
+\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
+\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
 \IfValueTF{#1}{\fontseries{#1}}{}%
-  \fontshape{up}\selectfont}{\end{otherlanguage*}}
+  \fontshape{up}\selectfont}{\end{otherlanguage*}}%
 }
 %    \end{macrocode}
 %\end{environment}
@@ -1066,9 +1068,9 @@
 %\begin{macro}{\textui}
 %\begin{macro}{\rsshape}
 %\begin{macro}{\textrs}
-% The other switching font macros for using the other shapes that are available
-% with the CB fonts are working only when typesetting in Greek and the default
-% encoding is therefore LGR.
+% The other switching font macros for using the other shapes that are
+% available with the CB fonts are working only when typesetting in 
+% Greek and the default encoding is therefore LGR.
 %    \begin{macrocode}
 \DeclareRobustCommand\uishape{%
 \ifthenelse{\equal{\f at encoding}{\GRenc at name}}%
@@ -2220,7 +2222,9 @@
 % designed as to be higher and deeper than the font total height, so as
 % not to interfere with Greek accents and to accomodate for at least one
 % level of nesting (for example square brackets enclosing lower part of
-% square brackets. The single glyphs may be used directly by the
+% square brackets.
+%
+% The single glyphs may be used directly by the
 % typesetter, but we think that the commands requiring some text are
 % far more useful. |\Ladd| and its double version |\LLadd| enclose text
 % that should be added for sure. |\ladd| and its double version |\lladd|
@@ -2229,20 +2233,29 @@
 % with the lower part of open and closed square brackets. |\mqs| surrounds
 % some text with the upper part of open and closed square brackets.
 % See \texttt{teubenr-doc.pdf} for samples of such commands.
+%
 % Command |\LLadd| has been modified since |teubner| previous version
-% because it contained a spurios space; in addition it has been
+% because it contained a spurious space; in addition it has been
 % rewritten with the |\NewDocumentCommand| in \LaTeX\,3 language, so as
 % to accept two optional kerning values so as to get the double square
-% brackets closer to the enclosed text; it syntax is now
+% brackets closer to the enclosed text; its syntax is now
 %\begin{sintassi}
 %\cs{LLadd}\oarg{left kerning}\marg{text}\oarg{right kerning}
 %\end{sintassi}
-%  Both kerning values are positive in order to get the square brackets
+% Both kerning values are positive in order to get the angle brackets
 % closer to the text; this facility is especially useful with slanted
 % text. In any case such kernings should be set only while reviewing the
 % document draft. We suggest to use units of measure depending on the
-% font body (|ex| or |em|) so that if the body is changed the corrections
-% keep working properly.
+% font size (|ex| or |em|) so that if the size is changed the corrections
+% keep working properly. Some settings are already part of the code in 
+% order to kern the angle brackets and the \meta{text} depending on the
+% font slant; but, when capital letters appear at the beginning or at
+% the end of the \meta{text} string, some small correction might be
+% necessary; similar small corrections might be different if the capital
+% is inscribed in a triangle, as A, T, Y, V, and the like; in substance
+% such small corrections might result necessary while reviewing the
+% document drafts, because they depend too much from the particular
+% \meta{text} string.
 %    \begin{macrocode}
 \DeclareRobustCommand{\lbrk}{{\metricsfont\posthindspace[\negthinspace}}
 \DeclareRobustCommand{\rbrk}{{\metricsfont]}}
@@ -2253,13 +2266,15 @@
 \DeclareRobustCommand\mqi[1]{\posthinspace\lmqi\negthinspace
     {#1\/}\rmqi}\let\mezzeq\mqi
 \DeclareRobustCommand\mqs[1]{\lmqs{#1\/}\rmqs}
-\DeclareRobustCommand{\Ladd}[1]{{\metricsfont<}{\!\!#1\/}%
-    {\metricsfont>}}%                     litterae certe addendae
+\DeclareRobustCommand{\Ladd}[1]{%
+  \textmtr{<}{\!\!#1\/}\textmtr{>}}%               litterae certe addendae
 \providecommand\LLadd{}
-\RenewDocumentCommand{\LLadd}{O{0pt}m O{0pt}}{%
-  {\metricsfont<\kern-0.3ex<\kern-0.3ex}{\kern-#1\relax#2\kern-#3}%
-  {\metricsfont>\kern-0.3ex>}%
-}%                                        litterae certe addendae    
+\DeclareRobustCommand\LLaddKern[2]%
+  {\ifdim\fontdimen1\font=\z@\kern#1\else\kern#2\fi}
+\RenewDocumentCommand{\LLadd}{O{0pt} m O{0pt}}{%   litterae certe addendae
+  \textmtr{<\kern-0.3ex<}{\LLaddKern{-0.1ex}{-0.3ex}%
+  \kern-#1\relax#2\/\LLaddKern{\z@}{0.1ex}\kern-#3}\textmtr{>\kern-0.3ex>}%
+}%                                           
 \DeclareRobustCommand{\ladd}[1]{{\metricsfont\kern.15ex[\negthinspace}%
     {#1\/}{\metricsfont]\kern-.15ex}}%          litterae addendae
 \DeclareRobustCommand{\lladd}[1]{{\metricsfont\kern.15ex[\kern-.3ex[%

Modified: trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty	2022-10-03 20:32:55 UTC (rev 64599)
+++ trunk/Master/texmf-dist/tex/latex/teubner/teubner.sty	2022-10-03 20:33:12 UTC (rev 64600)
@@ -18,7 +18,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-01-01]
 \ProvidesPackage{teubner}[%
-2022/10/01 v.5.7.1
+2022/10/03 v.5.7.3
 Extensions for Greek philology]
 \RequirePackage{iftex}
 \let\ifPDF\ifPDFTeX
@@ -60,7 +60,9 @@
 \DeclareFontShape{U}{mtr}{m}{it}{<->ssub*mtr/m/n}{}%
 \DeclareFontShape{U}{mtr}{b}{it}{<->ssub*mtr/m/n}{}%
 \DeclareFontShape{U}{mtr}{bx}{n}{<->ssub*mtr/m/n}{}%
-\newcommand*\metricsfont{\fontencoding{U}\fontfamily{mtr}\normalshape}
+\DeclareRobustCommand*\metricsfont{%
+  \fontencoding{U}\fontfamily{mtr}\normalshape}
+\DeclareTextFontCommand{\textmtr}{\metricsfont}
 \RequirePackage{exscale}
 \ifx\languageattribute\undefined
  \def\GreekName{polutonikogreek}%
@@ -184,16 +186,16 @@
   \ProvideDocumentEnvironment{GRL}{m}{}{}
 
 \RenewDocumentEnvironment{GRL}{o}{\begin{otherlanguage*}{greek}%
-\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
-\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
+\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
+\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
 \IfValueTF{#1}{\fontseries{#1}}{}%
-  \fontshape{li}\selectfont}{\end{otherlanguage*}}
+  \fontshape{li}\selectfont}{\end{otherlanguage*}}%
 
 \RenewDocumentEnvironment{GRD}{o}{\begin{otherlanguage*}{greek}%
-\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
-\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
+\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
+\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
 \IfValueTF{#1}{\fontseries{#1}}{}%
-  \fontshape{up}\selectfont}{\end{otherlanguage*}}
+  \fontshape{up}\selectfont}{\end{otherlanguage*}}%
 }
 \DeclareRobustCommand\textlatin[1]{\edef\externalencoding{\f at encoding}{%
   \def\itdefault{it}\def\@tempA{li}\ifx\@tempA\f at shape\def\f at shape{it}\fi
@@ -732,13 +734,15 @@
 \DeclareRobustCommand\mqi[1]{\posthinspace\lmqi\negthinspace
     {#1\/}\rmqi}\let\mezzeq\mqi
 \DeclareRobustCommand\mqs[1]{\lmqs{#1\/}\rmqs}
-\DeclareRobustCommand{\Ladd}[1]{{\metricsfont<}{\!\!#1\/}%
-    {\metricsfont>}}%                     litterae certe addendae
+\DeclareRobustCommand{\Ladd}[1]{%
+  \textmtr{<}{\!\!#1\/}\textmtr{>}}%               litterae certe addendae
 \providecommand\LLadd{}
-\RenewDocumentCommand{\LLadd}{O{0pt}m O{0pt}}{%
-  {\metricsfont<\kern-0.3ex<\kern-0.3ex}{\kern-#1\relax#2\kern-#3}%
-  {\metricsfont>\kern-0.3ex>}%
-}%                                        litterae certe addendae
+\DeclareRobustCommand\LLaddKern[2]%
+  {\ifdim\fontdimen1\font=\z@\kern#1\else\kern#2\fi}
+\RenewDocumentCommand{\LLadd}{O{0pt} m O{0pt}}{%   litterae certe addendae
+  \textmtr{<\kern-0.3ex<}{\LLaddKern{-0.1ex}{-0.3ex}%
+  \kern-#1\relax#2\/\LLaddKern{\z@}{0.1ex}\kern-#3}\textmtr{>\kern-0.3ex>}%
+}%
 \DeclareRobustCommand{\ladd}[1]{{\metricsfont\kern.15ex[\negthinspace}%
     {#1\/}{\metricsfont]\kern-.15ex}}%          litterae addendae
 \DeclareRobustCommand{\lladd}[1]{{\metricsfont\kern.15ex[\kern-.3ex[%

Modified: trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty	2022-10-03 20:32:55 UTC (rev 64599)
+++ trunk/Master/texmf-dist/tex/latex/teubner/teubnertx.sty	2022-10-03 20:33:12 UTC (rev 64600)
@@ -17,7 +17,7 @@
 %% See the end of the file.
 %% 
 \ProvidesPackage{teubnertx}[%
-2022/10/01 v.5.7.1
+2022/10/03 v.5.7.3
 Access to the LGR encoded Greek fonts that match the TX fonts]
 
  \DeclareFontFamily{LGR}{txr}{}



More information about the tex-live-commits mailing list.