texlive[63347] Master/texmf-dist: tugboat (20may22)

commits+karl at tug.org commits+karl at tug.org
Fri May 20 23:38:58 CEST 2022


Revision: 63347
          http://tug.org/svn/texlive?view=revision&revision=63347
Author:   karl
Date:     2022-05-20 23:38:58 +0200 (Fri, 20 May 2022)
Log Message:
-----------
tugboat (20may22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst
    trunk/Master/texmf-dist/doc/latex/tugboat/NEWS
    trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx
    trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf
    trunk/Master/texmf-dist/doc/latex/tugboat/tugboat.pdf
    trunk/Master/texmf-dist/source/latex/tugboat/tugboat.dtx
    trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
    trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty
    trunk/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty
    trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls
    trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty

Modified: trunk/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst	2022-05-20 21:38:58 UTC (rev 63347)
@@ -1,4 +1,4 @@
-%%% $Id: tugboat.bst 379 2021-08-29 17:31:15Z karl $
+%%% $Id: tugboat.bst 410 2021-11-24 17:46:03Z karl $
 %%% TUGboat changes are public domain.
 %%% 
 %%% Modified for TUGboat from abbrvurl.bst:
@@ -437,7 +437,7 @@
 %%% from trunc-auth.bst:
 %%% There are two constants that allow for the truncation of a list of author
 %%% (or editor) names -- max.names and trunc.num.  And here's how they work:
-%%% If there are max.names of fewer in the list, there is no truncation; but
+%%% If there are max.names or fewer in the list, there is no truncation; but
 %%% if there are more than max.names, the list is truncated at the trunc.num
 %%% name, which is replaced by trunc.string (such as "et~al.", and names later
 %%% in the list are omitted).  There's also a sanity check, making sure that:
@@ -610,7 +610,6 @@
   if$
 }
 
-
 FUNCTION {format.btitle}
 { title emphasize
 }
@@ -939,8 +938,6 @@
   if$
 }
 
-
-
 FUNCTION {format.eprint}
 { eprint empty$
     { "" }
@@ -1080,7 +1077,6 @@
 }
 % ...urlbst to here
 
-
 FUNCTION {article}
 { output.bibitem
   format.authors "author" output.check

Modified: trunk/Master/texmf-dist/doc/latex/tugboat/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tugboat/NEWS	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/doc/latex/tugboat/NEWS	2022-05-20 21:38:58 UTC (rev 63347)
@@ -1,6 +1,27 @@
-$Id: NEWS 376 2021-06-27 16:27:44Z karl $
+$Id: NEWS 424 2022-05-19 22:45:08Z karl $
 This file records noteworthy changes.  This file is public domain.
 
+ltugboat.cls:
+- \tbsurlfootnote, \tbhurlfootnote: typeset urls in ragged-right
+  footnotes of their own.
+- \tubsentencespace: force a sentence-ending space, e.g., after a
+  post-sentence \cite.
+- \tubjustifiedpar: undo ragged-right or other, restoring normal
+  paragraph settings.
+- \eTeX: use \boldsymbol if available.
+
+-----------------
+2.26 (2021-10-12):
+ltugboat.cls:
+- strip a leading http(s) from \tbsurl and \tbhurl.
+- \Xe:increase negative kern.
+
+tugboat.bst:
+- allow editor field as well as author for @misc entries.
+- make @software another alias for @misc.
+- improve doi urls.
+
+-----------------
 2.25 (2021-06-27):
 ltugboat.cls:
 - new abbrevations: \RIT, \tbUTF.
@@ -13,7 +34,7 @@
 - new entry type @ctan, following ctanbib (https://ctan.org/pkg/ctanbib).
 - use \emph{...} instead of {\em ...}, so we get italic corrections.
 
-----
+-----------------
 2.24 (2020-11-14):
 ltugboat.cls:
 - new hyphenation exceptions: Ja-pa-nese, Pak-i-stan.

Modified: trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx	2022-05-20 21:38:58 UTC (rev 63347)
@@ -1,7 +1,7 @@
-% $Id: ltubguid.ltx 386 2021-09-28 22:25:51Z karl $
+% $Id: ltubguid.ltx 424 2022-05-19 22:45:08Z karl $
 % ltubguid.ltx - documentation for ltugboat classes.
 % 
-% Copyright 1994-2021 TeX Users Group.
+% Copyright 1994-2022 TeX Users Group.
 % 
 % This file is part of the tugboat package.
 % 
@@ -614,7 +614,7 @@
       \verb|\ConTeXt|   & \ConTeXt \\
       \verb|\Cplusplus| & \Cplusplus \\
       \verb|\CTAN|   & \CTAN \\
-      \verb|\eTeX|   & \eTeX \\
+      \verb|\eTeX|   & \eTeX\\
       \verb|\FAQ|    & \FAQ \\
       \verb|\HTML|   & \HTML \\
       \verb|\ISBN|   & \ISBN \\
@@ -648,9 +648,8 @@
 
 \subsection{Assorted other markup}
 
-A small list of special typesetting commands follows: a large set of
-such commands is defined in the classes, but the list covers most of
-the `everyday' ones.
+A small list of special typesetting commands follows; a larger set of
+such commands is defined in the classes.
 \begin{cmdlist}\raggedright
 \item[\Dash] Typeset an em-dash, ignoring preceding and following space,
   surrounded by thin spaces, only breakable \emph{after} the dash; this
@@ -668,7 +667,6 @@
 %\item[\sfrac{num}{denom}] Typeset a fraction to match running text;
 %  for example \verb|\sfrac{3}{4}| is set as \sfrac{3}{4}\,.
 \end{cmdlist}
-
 For commands to typeset urls, see section~\ref{sec:urls}.
 
 \section{Use of packages}
@@ -684,12 +682,9 @@
 In general, packages currently on \CTAN, and known to work with
 \emph{current} \LaTeX{} are likely to be fine. In particular,
 the team is happy to accept papers using packages that are supported by
-members of the \LaTeX\ team,\footnote{%
+members of the \LaTeX\ team.\footnote{%
   Those in the \LaTeX{} base distribution, or one of those in the
-  \CTANref{packages} sub-tree on \CTAN.} subject to the warning already
-mentioned (section~\ref{sec:verbatim}): that use of the standard
-\pkgname{verbatim} package eliminates the special \envname{verbatim}
-facilities provided by the \TUB\ classes.
+  \CTANref{packages} sub-tree on \CTAN.}
 
 \tug{} has a policy that macro packages described in \TUB{} should be
 available for readers to use. Since typing macros from printed sources
@@ -712,7 +707,6 @@
 packages are commonly used. To mention a few:
 \begin{description}
 \item[microtype] can help reduce overfull boxes and improve appearance;
-\item[lmodern] use the Latin Modern fonts, sometimes preferable;
 \item[hyperref] supports live and internal hyperlinks, outlines, and
 many other features.
 \end{description}
@@ -754,6 +748,12 @@
 output, the printed url without the protocol suffices. (When a user
 copies/pastes url text into a browser, it will normally work.)
 
+Two shortcut macros: \cs{tbsfootnoteurl} and \cs{tbhfootnoteurl} make a
+ragged-right footnote with the respective \cs{tbXurl} command. We
+recognize that sometimes the best option is to put urls in footnotes.
+However, when it's sensible, writing them as either parentheticals in
+the main text or in bibliography entries is preferred, to ease page breaking.
+
 For \texttt{ftp}, \texttt{rsync}, and other protocols, it is best to
 always include them explicitly and use \cs{url}:\\
 \verb|\url{ftp://tug.org}|,\\ \verb|\url{rsync://tug.org}|, etc.
@@ -960,7 +960,6 @@
 (almost always) enclosed in braces instead of the various
 forms provided by the `plain' macros.
 
-\newpage
 \SetBibJustification{\raggedright}
 \bibliographystyle{tugboat}
 \bibliography{tubguide}

Modified: trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/tugboat/tugboat.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/tugboat/tugboat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tugboat/tugboat.dtx	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/source/latex/tugboat/tugboat.dtx	2022-05-20 21:38:58 UTC (rev 63347)
@@ -1,8 +1,8 @@
 % \iffalse (this is a meta-comment (so they say))
-% $Id: tugboat.dtx 392 2021-10-12 21:31:32Z karl $
+% $Id: tugboat.dtx 424 2022-05-19 22:45:08Z karl $
 % tugboat.dtx - main source for LaTeX TUGboat classes.
 %
-% Copyright 1994-2021 TeX Users Group.
+% Copyright 1994-2022 TeX Users Group.
 %
 % This file is part of the tugboat package.
 %
@@ -28,7 +28,7 @@
 %<ltugboatsty>\ProvidesPackage{ltugboat}
 %<ltugprocsty>\ProvidesPackage{ltugproc}
 %<ltugcomn>   \ProvidesPackage{ltugcomn}
-                   [2021-10-12 v2.26
+                   [2022-05-19 v2.27
 %<ltugboatcls>                       TUGboat journal class%
 %<ltugproccls>                       TUG conference proceedings class%
 %<ltugboatsty|ltugprocsty>           TUG compatibility package%
@@ -347,7 +347,9 @@
 % \texttt{draft} option above. If \texttt{hyperref} is not loaded,
 % define our own trivial fallback to expand to the \TeX\ (first) argument.
 % 
-% Similarly, disable \acro if we have hyperref, commonly used in sections.
+% Similarly, disable \acro and more if we have \texttt{hyperref},
+% so section titles using them don't cause useless warnings.
+% 
 %    \begin{macrocode}
 \AtBeginDocument{%
   \ifx\undefined\texorpdfstring
@@ -357,6 +359,7 @@
   \ifx\undefined\pdfstringdefDisableCommands\else
     \pdfstringdefDisableCommands{%
       \let\acro\relax
+      \let\origDash=\Dash \def\Dash{\texorpdfstring{\origDash}{--}}%
       % lots more could be added.
     }%
   \fi
@@ -706,8 +709,19 @@
 \def\DVItoVDU{DVIto\kern-.12em VDU}
 \def\ECMA{\acro{ECMA}}
 \def\EPS{\acro{EPS}}
-% no line break at this hyphen please
-\DeclareRobustCommand{\eTeX}{\ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX}
+% no line break at this hyphen please, and try to get a bold \varepsilon.
+\def\TUBdefaulteTeX{\ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX}%
+\DeclareRobustCommand{\eTeX}{%
+  \ifx\f at series\bfseries at rm
+    \ifx\boldsymbol\undefined % \boldsymbol is from amsmath; also support bm?
+      \TUBdefaulteTeX
+    \else
+      \ensuremath{\boldsymbol{\varepsilon}}\mbox{-}\kern-.125em\TeX
+    \fi
+  \else
+    \TUBdefaulteTeX
+  \fi
+}
 \DeclareRobustCommand{\ExTeX}{%
   \ensuremath{\textstyle\varepsilon_{\kern-0.15em\cal{X}}}\kern-.2em\TeX}
 \def\FAQ{\acro{FAQ}}
@@ -729,7 +743,7 @@
 \def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}}
 \def\JoT{\textsl{The Joy of \TeX}}
 \DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%
-     M\kern.05em A\kern.1em-\kern.1em Script}}
+     M\kern.05em A\kern.1em\hyph\kern.1em Script}}
 \def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em
                    $\m at th$\fontsize\sf at size\z@\selectfont
                    $\m at th\mathcal{A}$}%
@@ -937,7 +951,24 @@
 \def\newline{\hskip\z@\@plus\pagewd\break}
 %    \end{macrocode}
 %
-% Hyphen control: first, we save the hyphenpenalties in
+% \begin{macro}{\tubsentencespace}
+% 
+% Occasionally, notably after citations that need to come after a
+% sentence-ending period, we want to tell \TeX\ that it's still at the
+% end of a sentence. As in: 
+% |... whatever. \cite{foo}\tubsentencespace|
+% This happens when, e.g., the reference applies to more than the final
+% sentence.  Also can be needed when \cs{@} cannot be used because the
+% sentence-ending punctuation itself occurs inside a control sequence
+% that prevents it.
+% 
+%    \begin{macrocode}
+\def\tubsentencespace{\spacefactor=3000{}\space\ignorespaces}
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\allowhyphens}
+% Hyphen control: first, we save (via \cs{edef}) the hyphenpenalties in
 % \cs{allowhyphens}.  This allows us to permit hyphens temporarily in
 % things like \cs{netaddress}es, which typically occur when
 % \cs{raggedright} is set,  but which need to be allowed to break at
@@ -948,6 +979,7 @@
   \noexpand\exhyphenpenalty\the\exhyphenpenalty\relax}
 \def\nohyphens{\hyphenpenalty\@M\exhyphenpenalty\@M}
 %    \end{macrocode}
+% \end{macro}
 %
 % \subsection{Utility registers and definitions}
 %
@@ -1118,6 +1150,14 @@
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}{\tubjustifiedpar}
+% Undo the \cs{raggedright} (or other such) settings, restoring normality.
+%    \begin{macrocode}
+\def\tubjustifiedpar{\rightskip=0pt \parfillskip=0pt plus1fil
+                     \allowhyphens \normalspaces}
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{Assorted user-level markup}
 %
 % \LaTeXe{} defines a robust \cs{,}, but that we provide a new definition
@@ -1218,8 +1258,8 @@
 % turn on expl syntax for the main definitions of \tb[sh]url.  We want
 % to auto-remove an explicit protocol in case it
 % was given. Only the correct protocol is removed, the incorrect
-% protocol (\tbsurl{http://}) generates an invalid link.  That's ok
-% because the link wouldn't be correct anyway.
+% protocol (\verb|\tbsurl{http://}|) generates an invalid link.  That's ok
+% because the link wouldn't work anyway.
 \ExplSyntaxOn
 \def\tbsurl@#1  % https
  {
@@ -1228,7 +1268,6 @@
    \expandafter\hyper at linkurl\expandafter{\expandafter\Hurl\expandafter
                                             {\l_tmpa_str}}{https://\l_tmpa_str}
  }
-
 \def\tbhurl@#1  % http
  {
    \str_set:Nn\l_tmpa_str{#1}
@@ -1238,6 +1277,11 @@
  }
 \ExplSyntaxOff
 %
+% Now let's use those macros for putting a url into a simple
+% ragged-right footnote.
+\def\tbsurlfootnote#1{\footnote{\raggedright\tbsurl{#1}}}
+\def\tbhurlfootnote#1{\footnote{\raggedright\tbhurl{#1}}}
+%
 % Make \! work in text mode.
 \DeclareRobustCommand{\!}{\ifmmode\mskip-\thinmuskip \else\kern-0.16667em \fi}
 %
@@ -2748,9 +2792,24 @@
 % Getting named references is then just like getting page references in
 % the \LaTeX\ kernel (see |ltxref.dtx|).
 %
+% The above was written by RobinF decades ago; the macros in \TUB\ were
+% never changed. Meanwhile, the \cs{nameref} in \texttt{hyperref} has
+% changed many times, and we want to use its version if available. So we
+% provide our \cs{nameref} \cs{AtBeginDocument}, so as not to overwrite
+% any previous version. Until May 2022, \texttt{hyperref} silently
+% overwrote an existing definition, that is, \TUB's. But now it is no
+% longer silent.
+%
+% It seems that all the internal definitions above do not cause
+% problems, so just let them alone.
+% 
 %    \begin{macrocode}
-\DeclareRobustCommand{\nameref}[1]{\expandafter\@setref
-  \csname r at nr@#1\endcsname\@secondoftwo{#1}}
+\AtBeginDocument{%
+  \providecommand\nameref[1]{%
+    \expandafter\@setref
+    \csname r at nr@#1\endcsname\@secondoftwo{#1}%
+  }%
+}
 %    \end{macrocode}
 %
 % \subsection{Float captions}
@@ -3504,7 +3563,7 @@
 %</common>
 %    \end{macrocode}
 %
-% \subsection{Miscellaneous definitions}
+% \subsection{Editor's notes and other footnotes}
 %
 % \cs{EdNote} allows the editor to enter notes in the text of a paper.
 % If the command is given something that appears like an optional

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls	2022-05-20 21:38:58 UTC (rev 63347)
@@ -32,7 +32,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
 \ProvidesClass  {ltugboat}
-                   [2021-10-12 v2.26
+                   [2022-05-19 v2.27
                        TUGboat journal class%
                    ]
 \csname tugstyloaded@\endcsname
@@ -90,6 +90,7 @@
   \ifx\undefined\pdfstringdefDisableCommands\else
     \pdfstringdefDisableCommands{%
       \let\acro\relax
+      \let\origDash=\Dash \def\Dash{\texorpdfstring{\origDash}{--}}%
       % lots more could be added.
     }%
   \fi
@@ -236,7 +237,18 @@
 \def\DVItoVDU{DVIto\kern-.12em VDU}
 \def\ECMA{\acro{ECMA}}
 \def\EPS{\acro{EPS}}
-\DeclareRobustCommand{\eTeX}{\ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX}
+\def\TUBdefaulteTeX{\ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX}%
+\DeclareRobustCommand{\eTeX}{%
+  \ifx\f at series\bfseries at rm
+    \ifx\boldsymbol\undefined % \boldsymbol is from amsmath; also support bm?
+      \TUBdefaulteTeX
+    \else
+      \ensuremath{\boldsymbol{\varepsilon}}\mbox{-}\kern-.125em\TeX
+    \fi
+  \else
+    \TUBdefaulteTeX
+  \fi
+}
 \DeclareRobustCommand{\ExTeX}{%
   \ensuremath{\textstyle\varepsilon_{\kern-0.15em\cal{X}}}\kern-.2em\TeX}
 \def\FAQ{\acro{FAQ}}
@@ -258,7 +270,7 @@
 \def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}}
 \def\JoT{\textsl{The Joy of \TeX}}
 \DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%
-     M\kern.05em A\kern.1em-\kern.1em Script}}
+     M\kern.05em A\kern.1em\hyph\kern.1em Script}}
 \def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em
                    $\m at th$\fontsize\sf at size\z@\selectfont
                    $\m at th\mathcal{A}$}%
@@ -413,6 +425,7 @@
 \def\BlackBoxes{\overfullrule=5\p@}
 \def\NoBlackBoxes{\overfullrule=\z@}
 \def\newline{\hskip\z@\@plus\pagewd\break}
+\def\tubsentencespace{\spacefactor=3000{}\space\ignorespaces}
 \edef\allowhyphens{\noexpand\hyphenpenalty\the\hyphenpenalty\relax
   \noexpand\exhyphenpenalty\the\exhyphenpenalty\relax}
 \def\nohyphens{\hyphenpenalty\@M\exhyphenpenalty\@M}
@@ -479,6 +492,8 @@
   \parindent=\z@ \parfillskip=\z at skip
 }
 \def\normalspaces{\spaceskip\z at skip \xspaceskip\z at skip}
+\def\tubjustifiedpar{\rightskip=0pt \parfillskip=0pt plus1fil
+                     \allowhyphens \normalspaces}
 \let\latexnobreakspace=\nobreakspace
 \DeclareRobustCommand{\nobreakspace}{\unskip\nobreak\ \ignorespaces}
 \def\boxcs#1{\box\csname#1\endcsname}
@@ -533,7 +548,6 @@
    \expandafter\hyper at linkurl\expandafter{\expandafter\Hurl\expandafter
                                             {\l_tmpa_str}}{https://\l_tmpa_str}
  }
-
 \def\tbhurl@#1  % http
  {
    \str_set:Nn\l_tmpa_str{#1}
@@ -542,6 +556,8 @@
                                             {\l_tmpa_str}}{http://\l_tmpa_str}
  }
 \ExplSyntaxOff
+\def\tbsurlfootnote#1{\footnote{\raggedright\tbsurl{#1}}}
+\def\tbhurlfootnote#1{\footnote{\raggedright\tbhurl{#1}}}
 \DeclareRobustCommand{\!}{\ifmmode\mskip-\thinmuskip \else\kern-0.16667em \fi}
 \DeclareRobustCommand{\tubthinnerspace}
   {\ifmmode\mskip.5\thinmuskip \else\kern0.08333em \fi}
@@ -1275,8 +1291,12 @@
   \@esphack
 }
 \let\@currentlabelname\@empty
-\DeclareRobustCommand{\nameref}[1]{\expandafter\@setref
-  \csname r at nr@#1\endcsname\@secondoftwo{#1}}
+\AtBeginDocument{%
+  \providecommand\nameref[1]{%
+    \expandafter\@setref
+    \csname r at nr@#1\endcsname\@secondoftwo{#1}%
+  }%
+}
 \newdimen\@tubfullpageindent
 \@tubfullpageindent = \if at tubtwocolumn 4.875pc \else 3.875pc \fi
 \let\tubcaptionleftglue=\hfil

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty	2022-05-20 21:38:58 UTC (rev 63347)
@@ -31,7 +31,7 @@
 %% extension .ins) which are part of the distribution.
 %% 
 \ProvidesPackage{ltugboat}
-                   [2021-10-12 v2.26
+                   [2022-05-19 v2.27
            TUG compatibility package%
                    ]
 \@obsoletefile{ltugboat.cls}{ltugboat.sty}

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty	2022-05-20 21:38:58 UTC (rev 63347)
@@ -32,7 +32,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
    \ProvidesPackage{ltugcomn}
-                   [2021-10-12 v2.26
+                   [2022-05-19 v2.27
                           TUGboat `common macros' package%
                    ]
 \IfFileExists{mflogo.sty}%
@@ -139,7 +139,18 @@
 \def\DVItoVDU{DVIto\kern-.12em VDU}
 \def\ECMA{\acro{ECMA}}
 \def\EPS{\acro{EPS}}
-\DeclareRobustCommand{\eTeX}{\ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX}
+\def\TUBdefaulteTeX{\ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX}%
+\DeclareRobustCommand{\eTeX}{%
+  \ifx\f at series\bfseries at rm
+    \ifx\boldsymbol\undefined % \boldsymbol is from amsmath; also support bm?
+      \TUBdefaulteTeX
+    \else
+      \ensuremath{\boldsymbol{\varepsilon}}\mbox{-}\kern-.125em\TeX
+    \fi
+  \else
+    \TUBdefaulteTeX
+  \fi
+}
 \DeclareRobustCommand{\ExTeX}{%
   \ensuremath{\textstyle\varepsilon_{\kern-0.15em\cal{X}}}\kern-.2em\TeX}
 \def\FAQ{\acro{FAQ}}
@@ -161,7 +172,7 @@
 \def\JTeX{\leavevmode\hbox{\lower.5ex\hbox{J}\kern-.18em\TeX}}
 \def\JoT{\textsl{The Joy of \TeX}}
 \DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%
-     M\kern.05em A\kern.1em-\kern.1em Script}}
+     M\kern.05em A\kern.1em\hyph\kern.1em Script}}
 \def\LAMSTeX{L\raise.42ex\hbox{\kern-.3em
                    $\m at th$\fontsize\sf at size\z@\selectfont
                    $\m at th\mathcal{A}$}%
@@ -316,6 +327,7 @@
 \def\BlackBoxes{\overfullrule=5\p@}
 \def\NoBlackBoxes{\overfullrule=\z@}
 \def\newline{\hskip\z@\@plus\pagewd\break}
+\def\tubsentencespace{\spacefactor=3000{}\space\ignorespaces}
 \edef\allowhyphens{\noexpand\hyphenpenalty\the\hyphenpenalty\relax
   \noexpand\exhyphenpenalty\the\exhyphenpenalty\relax}
 \def\nohyphens{\hyphenpenalty\@M\exhyphenpenalty\@M}
@@ -382,6 +394,8 @@
   \parindent=\z@ \parfillskip=\z at skip
 }
 \def\normalspaces{\spaceskip\z at skip \xspaceskip\z at skip}
+\def\tubjustifiedpar{\rightskip=0pt \parfillskip=0pt plus1fil
+                     \allowhyphens \normalspaces}
 \let\latexnobreakspace=\nobreakspace
 \DeclareRobustCommand{\nobreakspace}{\unskip\nobreak\ \ignorespaces}
 \def\boxcs#1{\box\csname#1\endcsname}
@@ -436,7 +450,6 @@
    \expandafter\hyper at linkurl\expandafter{\expandafter\Hurl\expandafter
                                             {\l_tmpa_str}}{https://\l_tmpa_str}
  }
-
 \def\tbhurl@#1  % http
  {
    \str_set:Nn\l_tmpa_str{#1}
@@ -445,6 +458,8 @@
                                             {\l_tmpa_str}}{http://\l_tmpa_str}
  }
 \ExplSyntaxOff
+\def\tbsurlfootnote#1{\footnote{\raggedright\tbsurl{#1}}}
+\def\tbhurlfootnote#1{\footnote{\raggedright\tbhurl{#1}}}
 \DeclareRobustCommand{\!}{\ifmmode\mskip-\thinmuskip \else\kern-0.16667em \fi}
 \DeclareRobustCommand{\tubthinnerspace}
   {\ifmmode\mskip.5\thinmuskip \else\kern0.08333em \fi}

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls	2022-05-20 21:38:58 UTC (rev 63347)
@@ -32,7 +32,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
 \ProvidesClass  {ltugproc}
-                   [2021-10-12 v2.26
+                   [2022-05-19 v2.27
                        TUG conference proceedings class%
                    ]
 \def\@tugclass{ltugproc}

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty	2022-05-20 21:38:39 UTC (rev 63346)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty	2022-05-20 21:38:58 UTC (rev 63347)
@@ -31,7 +31,7 @@
 %% extension .ins) which are part of the distribution.
 %% 
 \ProvidesPackage{ltugproc}
-                   [2021-10-12 v2.26
+                   [2022-05-19 v2.27
            TUG compatibility package%
                    ]
 \@obsoletefile{ltugproc.cls}{ltugproc.sty}



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