texlive[66494] Master/texmf-dist: tugboat (9mar23)
commits+karl at tug.org
commits+karl at tug.org
Thu Mar 9 22:11:02 CET 2023
Revision: 66494
http://tug.org/svn/texlive?view=revision&revision=66494
Author: karl
Date: 2023-03-09 22:11:02 +0100 (Thu, 09 Mar 2023)
Log Message:
-----------
tugboat (9mar23)
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.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 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst 2023-03-09 21:11:02 UTC (rev 66494)
@@ -1,4 +1,4 @@
-%%% $Id: tugboat.bst 457 2023-01-16 18:43:54Z karl $
+%%% $Id: tugboat.bst 462 2023-03-08 17:26:54Z karl $
%%% TUGboat changes are public domain.
%%%
%%% Modified for TUGboat from abbrvurl.bst:
@@ -735,7 +735,7 @@
{ chapter empty$
'format.pages
{ type empty$
- { "chapter" }
+ { "ch." }
{ type "l" change.case$ }
if$
chapter tie.or.space.connect
@@ -972,7 +972,8 @@
% (aka the doiurl variable), and only add it if needed.
%
% This code is from https://tex.stackexchange.com/questions/119237
-% (thank you, mafp).
+% (thank you, mafp). The original urlbst package solved the problem in a
+% different (simpler) way in its 0.9.1 (January 2023) release.
%
% The "X Y contains" function checks if string Y is contained in X.
% Although we only need to check if Y is at the beginning of X,
Modified: trunk/Master/texmf-dist/doc/latex/tugboat/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tugboat/NEWS 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/doc/latex/tugboat/NEWS 2023-03-09 21:11:02 UTC (rev 66494)
@@ -1,7 +1,16 @@
-$Id: NEWS 458 2023-01-16 18:44:30Z karl $
+$Id: NEWS 463 2023-03-08 21:59:19Z karl $
This file records noteworthy changes. This file is public domain.
-----------------
+2.29 (2023-03-08):
+
+ltugboat.cls:
+- \url: the fallback definition now typesets (in tt) more special characters.
+- omit TUG-specific doi when not typesetting in the production environment.
+
+tugboat.bst: abbreviate "chapter" to "ch." in tugboat.bst.
+
+-----------------
2.28 (2023-01-16):
ltugboat.cls:
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 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/source/latex/tugboat/tugboat.dtx 2023-03-09 21:11:02 UTC (rev 66494)
@@ -1,5 +1,5 @@
% \iffalse (this is a meta-comment (so they say))
-% $Id: tugboat.dtx 459 2023-01-16 21:05:37Z karl $
+% $Id: tugboat.dtx 462 2023-03-08 17:26:54Z karl $
% tugboat.dtx - main source for LaTeX TUGboat classes.
%
% Copyright 1994-2023 TeX Users Group.
@@ -28,7 +28,7 @@
%<ltugboatsty>\ProvidesPackage{ltugboat}
%<ltugprocsty>\ProvidesPackage{ltugproc}
%<ltugcomn> \ProvidesPackage{ltugcomn}
- [2023-01-16 v2.28
+ [2023-03-08 v2.29
%<ltugboatcls> TUGboat journal class%
%<ltugproccls> TUG conference proceedings class%
%<ltugboatsty|ltugprocsty> TUG compatibility package%
@@ -1308,7 +1308,13 @@
\def\tburl{\url}%
\def\tbsurl{\url}% no hyperref, so just \url is fine.
\def\tbhurl{\url}%
- \ifx\url\undefined \let\url\texttt \fi % er, make sure \url is defined
+ \ifx\url\undefined % make sure \url is defined
+ \def\url{\begingroup % might as well catch common special chars
+ \catcode`\#=12 \catcode`\$=12 \catcode`\%=12 \catcode`\^=12
+ \catcode`\&=12 \catcode`\_=12 \catcode`\~=12
+ \finish at tub@url}
+ \def\finish at tub@url#1{\tt #1\endgroup}
+ \fi
\else
% This hyperref hook-in is due to Ulrike Fischer.
% \url{https://github.com/latex3/hyperref/issues/125}.
@@ -3544,21 +3550,27 @@
\def\tubdoiprefix{10.47397/tb} % the number crossref assigned us
\def\tubabovedoi{} % fudge spacing or whatever.
%
-\def\tubtypesetdoi{\iftubomitdoioption\else % if not explicit omission ...
- \iftubfinaloption % do this if [final], even if pageno>900
- \vbox to 0pt{% don't impact normal layout
- \edef\thedoi{\ifnum\count0>900 xnot\fi % but make url invalid if >900
- doi.org/\tubdoiprefix/\volno-\issno/\jobname}%
- \scriptsize
- \vskip\baselineskip
- \tubabovedoi
- \iftubsecondcolstart \moveright \tubcolwidthandgutter \fi
- \rlap{\expandafter\tbsurl\expandafter{\thedoi}}%
- \vss
- }%
+\def\tubtypesetdoi{%
+ \iftubomitdoioption\else % do if not explicit omission ...
+ \ifnum\volno>0 % and if being run for production ...
+ \iftubfinaloption % and if [final], even if pageno>900
+ \vbox to 0pt{% don't impact normal layout
+ \edef\thedoi{% but make url invalid if >900
+ \ifnum\count0>900 example.org%
+ \else doi.org\fi
+ /\tubdoiprefix/\volno-\issno/\jobname}%
+ \scriptsize
+ \vskip\baselineskip
+ \tubabovedoi
+ \iftubsecondcolstart \moveright \tubcolwidthandgutter \fi
+ \rlap{\expandafter\tbsurl\expandafter{\thedoi}}%
+ \vss
+ }%
+ \fi % tubfinaloption
+ \fi % volno>0
+ \fi % !tubomitdoioption
\global\let\tubtypesetdoi\@empty % only do it once, no matter what.
- \fi
-\fi}
+}
%
%
% \end{macrocode}
Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls 2023-03-09 21:11:02 UTC (rev 66494)
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass {ltugboat}
- [2023-01-16 v2.28
+ [2023-03-08 v2.29
TUGboat journal class%
]
\newif\ifTBunicodeengine
@@ -572,7 +572,13 @@
\def\tburl{\url}%
\def\tbsurl{\url}% no hyperref, so just \url is fine.
\def\tbhurl{\url}%
- \ifx\url\undefined \let\url\texttt \fi % er, make sure \url is defined
+ \ifx\url\undefined % make sure \url is defined
+ \def\url{\begingroup % might as well catch common special chars
+ \catcode`\#=12 \catcode`\$=12 \catcode`\%=12 \catcode`\^=12
+ \catcode`\&=12 \catcode`\_=12 \catcode`\~=12
+ \finish at tub@url}
+ \def\finish at tub@url#1{\tt #1\endgroup}
+ \fi
\else
% This hyperref hook-in is due to Ulrike Fischer.
% \url{https://github.com/latex3/hyperref/issues/125}.
@@ -1666,21 +1672,27 @@
\pagestyle{headings}
\def\tubdoiprefix{10.47397/tb} % the number crossref assigned us
\def\tubabovedoi{} % fudge spacing or whatever.
-\def\tubtypesetdoi{\iftubomitdoioption\else % if not explicit omission ...
- \iftubfinaloption % do this if [final], even if pageno>900
- \vbox to 0pt{% don't impact normal layout
- \edef\thedoi{\ifnum\count0>900 xnot\fi % but make url invalid if >900
- doi.org/\tubdoiprefix/\volno-\issno/\jobname}%
- \scriptsize
- \vskip\baselineskip
- \tubabovedoi
- \iftubsecondcolstart \moveright \tubcolwidthandgutter \fi
- \rlap{\expandafter\tbsurl\expandafter{\thedoi}}%
- \vss
- }%
+\def\tubtypesetdoi{%
+ \iftubomitdoioption\else % do if not explicit omission ...
+ \ifnum\volno>0 % and if being run for production ...
+ \iftubfinaloption % and if [final], even if pageno>900
+ \vbox to 0pt{% don't impact normal layout
+ \edef\thedoi{% but make url invalid if >900
+ \ifnum\count0>900 example.org%
+ \else doi.org\fi
+ /\tubdoiprefix/\volno-\issno/\jobname}%
+ \scriptsize
+ \vskip\baselineskip
+ \tubabovedoi
+ \iftubsecondcolstart \moveright \tubcolwidthandgutter \fi
+ \rlap{\expandafter\tbsurl\expandafter{\thedoi}}%
+ \vss
+ }%
+ \fi % tubfinaloption
+ \fi % volno>0
+ \fi % !tubomitdoioption
\global\let\tubtypesetdoi\@empty % only do it once, no matter what.
- \fi
-\fi}
+}
\def\@outputdblcol{\if at firstcolumn \global\@firstcolumnfalse
\global\setbox\@leftcolumn\box\@outputbox
\global\brokenpenalty10000
Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty 2023-03-09 21:11:02 UTC (rev 66494)
@@ -31,7 +31,7 @@
%% extension .ins) which are part of the distribution.
%%
\ProvidesPackage{ltugboat}
- [2023-01-16 v2.28
+ [2023-03-08 v2.29
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 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty 2023-03-09 21:11:02 UTC (rev 66494)
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesPackage{ltugcomn}
- [2023-01-16 v2.28
+ [2023-03-08 v2.29
TUGboat `common macros' package%
]
\newif\ifTBunicodeengine
@@ -469,7 +469,13 @@
\def\tburl{\url}%
\def\tbsurl{\url}% no hyperref, so just \url is fine.
\def\tbhurl{\url}%
- \ifx\url\undefined \let\url\texttt \fi % er, make sure \url is defined
+ \ifx\url\undefined % make sure \url is defined
+ \def\url{\begingroup % might as well catch common special chars
+ \catcode`\#=12 \catcode`\$=12 \catcode`\%=12 \catcode`\^=12
+ \catcode`\&=12 \catcode`\_=12 \catcode`\~=12
+ \finish at tub@url}
+ \def\finish at tub@url#1{\tt #1\endgroup}
+ \fi
\else
% This hyperref hook-in is due to Ulrike Fischer.
% \url{https://github.com/latex3/hyperref/issues/125}.
Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls 2023-03-09 21:11:02 UTC (rev 66494)
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesClass {ltugproc}
- [2023-01-16 v2.28
+ [2023-03-08 v2.29
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 2023-03-09 21:10:41 UTC (rev 66493)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty 2023-03-09 21:11:02 UTC (rev 66494)
@@ -31,7 +31,7 @@
%% extension .ins) which are part of the distribution.
%%
\ProvidesPackage{ltugproc}
- [2023-01-16 v2.28
+ [2023-03-08 v2.29
TUG compatibility package%
]
\@obsoletefile{ltugproc.cls}{ltugproc.sty}
More information about the tex-live-commits
mailing list.