From b49826a5e3952462b18630e221170e3237b0dc75 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 20 May 2022 21:38:58 +0000 Subject: tugboat (20may22) git-svn-id: svn://tug.org/texlive/trunk@63347 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst | 8 +- Master/texmf-dist/doc/latex/tugboat/NEWS | 25 +++++- Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx | 27 +++---- Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf | Bin 362482 -> 362388 bytes Master/texmf-dist/doc/latex/tugboat/tugboat.pdf | Bin 493932 -> 494598 bytes Master/texmf-dist/source/latex/tugboat/tugboat.dtx | 87 +++++++++++++++++---- Master/texmf-dist/tex/latex/tugboat/ltugboat.cls | 32 ++++++-- Master/texmf-dist/tex/latex/tugboat/ltugboat.sty | 2 +- Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty | 23 +++++- Master/texmf-dist/tex/latex/tugboat/ltugproc.cls | 2 +- Master/texmf-dist/tex/latex/tugboat/ltugproc.sty | 2 +- 11 files changed, 159 insertions(+), 49 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst b/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst index 806a63ad572..1e28f2d8dda 100644 --- a/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst +++ b/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst @@ -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 @@ FUNCTION {emphasize} %%% 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 @@ FUNCTION {format.date.direct} if$ } - FUNCTION {format.btitle} { title emphasize } @@ -939,8 +938,6 @@ FUNCTION {format.version} if$ } - - FUNCTION {format.eprint} { eprint empty$ { "" } @@ -1080,7 +1077,6 @@ FUNCTION {webpage} } % ...urlbst to here - FUNCTION {article} { output.bibitem format.authors "author" output.check diff --git a/Master/texmf-dist/doc/latex/tugboat/NEWS b/Master/texmf-dist/doc/latex/tugboat/NEWS index 01259306ead..6290fafdc29 100644 --- a/Master/texmf-dist/doc/latex/tugboat/NEWS +++ b/Master/texmf-dist/doc/latex/tugboat/NEWS @@ -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 @@ tugboat.bst: - 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. diff --git a/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx b/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx index da93ceac256..1c017124e8c 100644 --- a/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx +++ b/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx @@ -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 @@ and of course the class sources are the ultimate reference. \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 @@ paper. \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 @@ the `everyday' ones. %\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 @@ zip or other archive. 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 @@ Although not necessarily recommended in all cases, many additional 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 @@ protocol not be included; if live links are not being produced in the 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 @@ different (as discussed in section~\ref{sec:syntax}); arguments are (almost always) enclosed in braces instead of the various forms provided by the `plain' macros. -\newpage \SetBibJustification{\raggedright} \bibliographystyle{tugboat} \bibliography{tubguide} diff --git a/Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf b/Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf index 02091c20d9a..70062833eff 100644 Binary files a/Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf and b/Master/texmf-dist/doc/latex/tugboat/ltubguid.pdf differ diff --git a/Master/texmf-dist/doc/latex/tugboat/tugboat.pdf b/Master/texmf-dist/doc/latex/tugboat/tugboat.pdf index 97c1f134f8e..a3a9959c7e4 100644 Binary files a/Master/texmf-dist/doc/latex/tugboat/tugboat.pdf and b/Master/texmf-dist/doc/latex/tugboat/tugboat.pdf differ diff --git a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx index a37201087ce..ffb09d15f36 100644 --- a/Master/texmf-dist/source/latex/tugboat/tugboat.dtx +++ b/Master/texmf-dist/source/latex/tugboat/tugboat.dtx @@ -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 @@ %\ProvidesPackage{ltugboat} %\ProvidesPackage{ltugproc} % \ProvidesPackage{ltugcomn} - [2021-10-12 v2.26 + [2022-05-19 v2.27 % TUGboat journal class% % TUG conference proceedings class% % 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@series\bfseries@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@th$\fontsize\sf@size\z@\selectfont $\m@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@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@nr@#1\endcsname\@secondoftwo{#1}} +\AtBeginDocument{% + \providecommand\nameref[1]{% + \expandafter\@setref + \csname r@nr@#1\endcsname\@secondoftwo{#1}% + }% +} % \end{macrocode} % % \subsection{Float captions} @@ -3504,7 +3563,7 @@ % % \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 diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls index f41e2b75b22..8c4f187781b 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls +++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls @@ -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@series\bfseries@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@th$\fontsize\sf@size\z@\selectfont $\m@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@skip } \def\normalspaces{\spaceskip\z@skip \xspaceskip\z@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@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@nr@#1\endcsname\@secondoftwo{#1}} +\AtBeginDocument{% + \providecommand\nameref[1]{% + \expandafter\@setref + \csname r@nr@#1\endcsname\@secondoftwo{#1}% + }% +} \newdimen\@tubfullpageindent \@tubfullpageindent = \if@tubtwocolumn 4.875pc \else 3.875pc \fi \let\tubcaptionleftglue=\hfil diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty b/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty index d83a8d1e575..da339b44dbf 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty +++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty @@ -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} diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty index daca63edbd5..c24aa60a101 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty +++ b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty @@ -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@series\bfseries@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@th$\fontsize\sf@size\z@\selectfont $\m@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@skip } \def\normalspaces{\spaceskip\z@skip \xspaceskip\z@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@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} diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls b/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls index c5257285851..46e985ba7d6 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls +++ b/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls @@ -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} diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty b/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty index d555424ccba..ebd34f2d6ad 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty +++ b/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty @@ -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} -- cgit v1.2.3