texlive[59732] Master/texmf-dist: tugboat (27jun21)

commits+karl at tug.org commits+karl at tug.org
Sun Jun 27 23:02:12 CEST 2021


Revision: 59732
          http://tug.org/svn/texlive?view=revision&revision=59732
Author:   karl
Date:     2021-06-27 23:02:12 +0200 (Sun, 27 Jun 2021)
Log Message:
-----------
tugboat (27jun21)

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/source/latex/tugboat/tugboat.ins
    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	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/bibtex/bst/tugboat/tugboat.bst	2021-06-27 21:02:12 UTC (rev 59732)
@@ -1,23 +1,27 @@
-%%% $Id: tugboat.bst 314 2020-11-15 02:06:03Z karl $
+%%% $Id: tugboat.bst 375 2021-06-25 14:40:52Z karl $
 %%% TUGboat changes are public domain.
 %%% 
 %%% Modified for TUGboat from abbrvurl.bst:
+%%%   New entry types @ctan (see ctanbib) and @online (alias for @misc).
+%%%   New field bookauthor for @incollection and @inproceedings.
 %%%   Abbreviate "page(s)" to "p(p).",
 %%%     "volume" to "vol.",
 %%%     "editor(s)" to "ed(s)".
 %%%   Output "Ph.D." rather than "PhD".
 %%%   Output "No." and "no." for number field.
+%%%   Omit spaces between author initials, like "A.B. Smith".
 %%%   Set urlintro="".
 %%%   Always use https://doi.org/ for the doi url, and omit doi: prefix
-%%%     (incomplete: doi urls not linked correctly).
-%%%   Omit spaces between author initials, like "A.B. Smith".
+%%%     (todo: doi urls not linked correctly).
 %%%   Truncate long author lists in format.names (max.names, trunc.num)
 %%%     and omit "and" from author lists, per Oren P.
-%%%   New field bookauthor for @incollection and @inproceedings.
+%%%   Use \emph instead of \em so we get automatic italic corrections.
 %%%   New fields for editors:
+%%%     "journaltie" - ~ instead of space after journal name.
 %%%     "newpage" - force page break after entry;
+%%%     "prebibitem" - material output before \bibitem, with newline appended.
 %%%     "urlnewline" - force line break before url value;
-%%%     "journaltie" - ~ instead of space after journal name.
+%%%     
 %%% --karl, originally created 24jul18.
 %%% 
 %%% Modification of BibTeX style file /usr/local/texlive/2009/texmf-dist/bibtex/bst/base/abbrv.bst
@@ -69,9 +73,13 @@
     pubmed % urlbst
     url % urlbst
     lastchecked % urlbst
+    date       % ctan
+    urldate    % ctan
+    version    % ctan
+    journaltie % tub
     newpage    % tub
+    prebibitem % tub
     urlnewline % tub
-    journaltie % tub
   }
   {}
   { label }
@@ -246,6 +254,7 @@
       }
   if$
 }
+
 FUNCTION {output.nonnull}
 { % Save the thing we've been asked to output
   's :=
@@ -315,8 +324,10 @@
   if$
 }
 
+% tub: if prebibitem is nonempty, output it, plus a newline.
 FUNCTION {output.bibitem.original} % urlbst (renamed from output.bibitem, so it can be wrapped below)
 { newline$
+  prebibitem empty$ { skip$ } { prebibitem write$ newline$ } if$
   "\bibitem{" write$
   cite$ write$
   "}" write$
@@ -334,7 +345,19 @@
   newline$
 }
 
+% ctan
+FUNCTION {add.blank}
+{  " " * before.all 'output.state :=
+}
 
+% ctan
+FUNCTION {add.colon}
+{ empty$
+    'skip$
+    { before.all 'output.state := ":" output add.blank }
+  if$
+}
+
 FUNCTION {new.block}
 { output.state before.all =
     'skip$
@@ -392,10 +415,11 @@
   if$
 }
 
+% italic correction should not be added before period or comma, so use \emph.
 FUNCTION {emphasize}
 { duplicate$ empty$
     { pop$ "" }
-    { "{\em " swap$ * "}" * }
+    { "\emph{" swap$ * "}" * }
   if$
 }
 
@@ -567,6 +591,15 @@
   if$
 }
 
+% output the date field, instead of using month/year.
+FUNCTION {format.date.direct}
+{ date empty$
+    {""}
+    { date }
+  if$
+}
+
+
 FUNCTION {format.btitle}
 { title emphasize
 }
@@ -753,7 +786,7 @@
           warning$
           ""
         }
-        { "In {\em " journal * "\/}" * }
+        { "In \emph{" journal * "}" * }
       if$
     }
     { "In " key * }
@@ -796,7 +829,7 @@
               crossref * warning$
               "" *
             }
-            { "{\em " * series * "\/}" * }
+            { "\emph{" * series * "}" * }
           if$
         }
         { key * }
@@ -817,7 +850,7 @@
               crossref * warning$
               ""
             }
-            { "In {\em " booktitle * "\/}" * }
+            { "In \emph{" booktitle * "}" * }
           if$
         }
         { "In " key * }
@@ -880,6 +913,23 @@
   if$
 }
 
+FUNCTION {format.urldate}
+{ urldate empty$
+    {""}
+%    {'skip$}
+    {"last visited: " urldate *}
+  if$
+}
+
+FUNCTION {format.version}
+{ version empty$
+    {""}
+    {"version " version * }
+  if$
+}
+
+
+
 FUNCTION {format.eprint}
 { eprint empty$
     { "" }
@@ -1337,6 +1387,32 @@
   fin.entry
 }
 
+% original for ctan entry:
+%{ output.bibitem
+%  format.authors output
+%  author add.colon
+%  format.title output
+%  format.version output
+%  note output
+%  format.longdate output
+%  format.url output
+%  format.urldate output
+%  fin.entry.original
+%}
+
+% don't like printing urldates; and url is better last. Break up entry.
+FUNCTION {ctan}
+{ output.bibitem
+  format.authors "author" output.check
+  new.block
+  format.title "title" output.check
+  format.version output
+  format.date.direct "date" output.check
+  new.block
+  note "note" output.check
+  fin.entry
+}
+
 FUNCTION {default.type} { misc }
 
 MACRO {jan} {"Jan."}

Modified: trunk/Master/texmf-dist/doc/latex/tugboat/NEWS
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tugboat/NEWS	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/doc/latex/tugboat/NEWS	2021-06-27 21:02:12 UTC (rev 59732)
@@ -1,8 +1,20 @@
-$Id: NEWS 314 2020-11-15 02:06:03Z karl $
+$Id: NEWS 376 2021-06-27 16:27:44Z karl $
 This file records noteworthy changes.  This file is public domain.
 
+2.25 (2021-06-27):
+ltugboat.cls:
+- new abbrevations: \RIT, \tbUTF.
+
+\tbUTF expands to \acro{UTF}, and, if the next character is a -
+(e.g., \tbUTF-8), don't allow breaking at it. (We don't define \UTF
+since other packages already do.)
+
+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.
 - new abbrevations: \macOS, \OpTeX.

Modified: trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/doc/latex/tugboat/ltubguid.ltx	2021-06-27 21:02:12 UTC (rev 59732)
@@ -1,7 +1,7 @@
-% $Id: ltubguid.ltx 313 2020-11-15 01:52:20Z karl $
+% $Id: ltubguid.ltx 375 2021-06-25 14:40:52Z karl $
 % ltubguid.ltx - documentation for ltugboat classes.
 % 
-% Copyright 1994-2020 TeX Users Group.
+% Copyright 1994-2021 TeX Users Group.
 % 
 % This file is part of the tugboat package.
 % 
@@ -33,7 +33,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 \begin{filecontents}{tubguide.bib}
-% BibTeX bibliography file (generated by aux2bib)
+% BibTeX bibliography file (originally generated by aux2bib)
 
 @Misc{pkg:fancyvrb,
   author = {Timothy Van Zandt and others},
@@ -132,7 +132,8 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-\documentclass[final]{ltugboat}
+\documentclass[final,letterpaper]{ltugboat}
+\usepackage{graphics} % just so letterpaper takes effect
 \usepackage{microtype}
 \usepackage{ctandir}
 \IfFileExists{booktabs.sty}%
@@ -610,7 +611,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 \\
@@ -802,6 +803,10 @@
 
 \item Defines an \textsf{@online} entry type as an alias for \textsf{@misc}.
 
+\item Defines an \textsf{@ctan} entry type to reference packages on
+\CTAN, following the fields output by the \pkgname{ctanbib} script (in
+the package of the same name, \url{ctan.org/pkg/ctanbib}).
+
 \item For completeness only: \verb|tugboat.bst| provides editor-intended
 fields \textsf{newpage} to force a page break after the current item,
 \textsf{urlnewline} to force a line break before the \textsf{url} value,

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	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/source/latex/tugboat/tugboat.dtx	2021-06-27 21:02:12 UTC (rev 59732)
@@ -1,8 +1,8 @@
 % \iffalse (this is a meta-comment (so they say))
-% $Id: tugboat.dtx 314 2020-11-15 02:06:03Z karl $
+% $Id: tugboat.dtx 376 2021-06-27 16:27:44Z karl $
 % tugboat.dtx - main source for LaTeX TUGboat classes.
 %
-% Copyright 1994-2020 TeX Users Group.
+% Copyright 1994-2021 TeX Users Group.
 %
 % This file is part of the tugboat package.
 %
@@ -28,7 +28,7 @@
 %<ltugboatsty>\ProvidesPackage{ltugboat}
 %<ltugprocsty>\ProvidesPackage{ltugproc}
 %<ltugcomn>   \ProvidesPackage{ltugcomn}
-                   [2020-11-14 v2.24
+                   [2021-06-27 v2.25
 %<ltugboatcls>                       TUGboat journal class%
 %<ltugproccls>                       TUG conference proceedings class%
 %<ltugboatsty|ltugprocsty>           TUG compatibility package%
@@ -39,13 +39,6 @@
                    ]
 %    \end{macrocode}
 %
-% ^^A behold, a horrible hack...
-%    \begin{macrocode}
-%<*dtx>
-\newif\ifoldlongtable
-%</dtx>
-%    \end{macrocode}
-%
 % \iffalse
 %
 % Note that the version control Id above relates to the number of times
@@ -65,37 +58,6 @@
 %
 \usepackage{array,longtable}
 %
-% If longtable.sty is not ancient, then it doesn't need
-% \cs{setlongtables}, so we avoid the setlong.tab game.
-\GetFileInfo{longtable.sty}
-\def\extractdate#1/#2/#3\relax{\def\fileyear{#1}%
-  \def\filemonth{#2}%
-  \def\fileday{#3}}
-\expandafter\extractdate\filedate\relax
-\expandafter\ifnum\fileyear>1996\relax
-  \oldlongtablefalse
-\else
-  \oldlongtabletrue
-  \expandafter\ifnum\fileyear=1996\relax
-    \expandafter\ifnum\filemonth>5\relax
-      \oldlongtablefalse
-    \else
-      \expandafter\ifnum\filemonth=5\relax
-        \expandafter\ifnum\fileday>23\relax
-          \oldlongtablefalse
-        \fi
-      \fi
-    \fi
-  \fi
-\fi
-\ifoldlongtable
-  \InputIfFileExists{setlong.tab}{}% if this file exists, it should
-%                                  % contain (only) \setlongtables
-    {\typeout{*** create a file `setlong.tab' containing only}
-     \typeout{***\space\space\space\string\setlongtables}
-     \typeout{*** to get the tables of commands, etc., lined up}}
-\fi
-%
 \begin{document}
  \GetFileInfo{tugboat.dtx}
  \title{The \textsf{tugboat} package\thanks{This file
@@ -446,8 +408,6 @@
 %
 % The section-numbering style, so that we can allow the same heading
 % layout as in the plain macros.
-% \changes{v1.4a}{1996/09/14}{Added nonumber and numbersec (default)
-% options}
 %
 %    \begin{macrocode}
 \DeclareOption{numbersec}{\let\if at numbersec\iftrue}
@@ -465,6 +425,17 @@
 \DeclareOption{runningfull}{\AtEndOfClass{\@tubrunningfull}}
 %    \end{macrocode}
 %
+% Usually we want to print the doi if [final], else not.
+% But sometimes we want to omit it even if [final], namely when we're
+% posting a review or other item early.
+% 
+%    \begin{macrocode}
+\newif\iftubomitdoioption
+\DeclareOption{omitdoi}{%
+   \tubomitdoioptiontrue
+}
+%    \end{macrocode}
+%
 % \begin{macro}{\if at tubtwocolumn}
 % Occasionally (|tb107jackowski|, and past conference preprints), we
 % need the option |onecolumn|.  For alternative approaches to one-column
@@ -715,7 +686,7 @@
 \def\CPU{\acro{CPU}}
 \def\CSczabbr{\ensuremath{\cal C}\kern-.1667em\lower.5ex\hbox{$\cal S$}}
 \def\CSS{\acro{CSS}}
-\def\CSTUG{\CSczabbr\acro{TUG}}
+\def\CSTUG{\CSczabbr\kern.05em\acro{TUG}}
 \def\CSV{\acro{CSV}}
 \def\CTAN{\acro{CTAN}}
 \def\DTD{\acro{DTD}}
@@ -797,7 +768,7 @@
 %
 %    \begin{macrocode}
 \def\mf{\textsc{Metafont}}
-\def\MFB{\textsl{The \MF\kern1pt book}}
+\def\MFB{\textsl{The \MF\kern.1em\-book}}
 \def\MkIV{Mk\acro{IV}}
 \let\TB@@mp\mp
 \DeclareRobustCommand{\mp}{\ifmmode\TB@@mp\else MetaPost\fi}
@@ -840,6 +811,7 @@
 \def\POBox{P.\thinspace O.~Box }
 \def\PS{{Post\-Script}}
 \def\PSTricks{\acro{PST}ricks}
+\def\RIT{\acro{RIT}}
 \def\RTF{\acro{RTF}}
 \def\SC{Steering Committee}
 \def\SGML{\acro{SGML}}
@@ -851,9 +823,9 @@
 \def\STIX{\acro{STIX}}
 \def\SVG{\acro{SVG}}
 \def\TANGLE{\texttt{TANGLE}\@}
-\def\TB{\textsl{The \TeX book}}
+\def\TB{\textsl{The \TeX\-book}}
 \def\TIFF{\acro{TIFF}}
-\def\TP{\textsl{\TeX}: \textsl{The Program}}
+\def\TP{\textsl{\TeX}:\ \textsl{The Program}}
 \DeclareRobustCommand{\TeX}{T\kern-.1667em\lower.424ex\hbox{E}\kern-.125emX\@}
 \def\TeXhax{\TeX hax}
 \def\TeXMaG{\TeX M\kern-.1667em\lower.5ex\hbox{A}%
@@ -863,7 +835,7 @@
 \def\TeXworks{\TeX\kern-.07em works}
 \def\TeXXeT{\TeX-{}-\XeT}
 \def\TFM{\acro{TFM}}
-\ifx\Umathchardef\@thisisundefined % xetex|luatex
+\ifx\Umathchardef\@thisisundefined % not (xetex|luatex)
 \def\Thanh{H\`an~Th\^e\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh}% non-XeTeX
 \else
 \def\Thanh{H\`an~Th\textcircumacute{e}~Th\`anh}% else xunicode drops the acute
@@ -876,7 +848,15 @@
 \def\tug{\acro{TUG}}
 \def\UG{Users Group}
 \def\UNIX{\acro{UNIX}}
-% omit \UTF, since other packages use it for Unicode character access.
+% Don't define \UTF, since other packages use it for Unicode character access.
+% On the other hand, we want a macro for UTF-8 that doesn't break at the -.
+\def\tbUTF{\acro{UTF}\futurelet\@nextchar\@tbUTFcheck}
+  \def\@tbUTFcheck{\ifx\@nextchar-%
+                      \mbox{-}\let\next=\tbgobbledash
+                    \else
+                      \let\next=\empty
+                    \fi\next}
+  \def\tbgobbledash-{}
 \def\VAX{V\kern-.12em A\kern-.1em X\@}
 \def\VnTeX{V\kern-.03em n\kern-.02em \TeX}
 \def\VorTeX{V\kern-2.7\p@\lower.5ex\hbox{O\kern-1.4\p@ R}\kern-2.6\p@\TeX}
@@ -889,15 +869,16 @@
 %
 % Xe\TeX{} requires reflecting the first E, hence we complain if the
 % graphics package is not present.  (For plain documents, this can be
-% loaded via Eplain.)  Also, at Barbara's suggestion, if the current
-% font is slanted, we rotate by 180 instead of reflecting so there is at
-% least a chance to look ok.  (The magic values here seem more or less
-% ok for \texttt{cmsl} and \texttt{cmti}.)
+% loaded via \texttt{miniltx} or Eplain.)  Also, at Barbara's
+% suggestion, if the current font is slanted, we rotate by 180 instead
+% of reflecting so there is a better chance to look ok.  (The magic
+% values here seem more or less ok for \texttt{cmsl} and \texttt{cmti}.)
 %
 %    \begin{macrocode}
 \def\tubreflect#1{%
   \@ifundefined{reflectbox}{%
-    \TBError{A graphics package must be loaded for \string\XeTeX}%
+    \TBError{A graphics package must be loaded to use \string\XeTeX}
+            {Load graphicx or graphics.}%
   }{%
     \ifdim \fontdimen1\font>0pt
       \raise 1.75ex \hbox{\kern.1em\rotatebox{180}{#1}}\kern-.1em
@@ -2749,12 +2730,11 @@
 %    \begin{macrocode}
 \newdimen\@tubfullpageindent
 \@tubfullpageindent = \if at tubtwocolumn 4.875pc \else 3.875pc \fi
-\let\tubcaptionleftglue=\hfil
 %    \end{macrocode}
 % \end{macro}
 %
 % One-line captions are normally centered, but sometimes we want to set
-% them flush-left for consistency with other nearby figures. 
+% them flush left for consistency with other nearby figures. 
 % \begin{macro}{\tubcaptionleftglue}
 %    \begin{macrocode}
 \let\tubcaptionleftglue=\hfil
@@ -2761,12 +2741,17 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% For \TUB, we like 9pt captions to help differentiate from the main text.
+%    \begin{macrocode}
+\def\tubcaptionfonts{\small}%
+%    \end{macrocode}
+%
 % Ok, here is \cs{@makecaption}.
 %    \begin{macrocode}
-\def\tubcaptionfonts{\small}%
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{\tubcaptionfonts \frenchspacing \tubmakecaptionbox{#1}{#2}}% try in an hbox
+  % try in an hbox:
+  \sbox\@tempboxa{\tubcaptionfonts \frenchspacing \tubmakecaptionbox{#1}{#2}}%
   \ifdim \wd\@tempboxa > \hsize
     {% caption doesn't fit on one line; set as a paragraph.
      \tubcaptionfonts \raggedright \hyphenpenalty=\@M \parindent=1em
@@ -2956,7 +2941,7 @@
   \def\tubverb at meta##1>{\meta{##1}}
 %    \end{macrocode}
 %
-% The default verbatim defines `'<>,- as active characters to do
+% The default verbatim defines `'<>,- as active characters to
 % stop ligatures; remove <> from the list so we get normal characters.
 % Just hope that the CM <> ligatures aren't used.
 %    \begin{macrocode}
@@ -3356,26 +3341,26 @@
 %
 % Typeset the doi. The format we decided on looks like:
 % \texttt{https://doi.org/10.47397/tb/41-3/tb129mansour-nonlatin}
-% where the last element is (usually) the |\jobname|.
+% where the last element is the |\jobname|.
 % 
 % We put this below the footline. The footer definitions above specify
 % that it is always called, even if the regular footer is empty.
 %
 % If the article started in the second column (option [secondcolstart]),
-% have to manually move the doi over.
+% we manually move the doi over.
 % 
-% We do not check for validity of |\volno|, etc. For testing, etc.,
-% seems simpler to just typeset what we've got.
+% We do not check for validity of |\volno|, |\issno|, |\jobname|. For
+% testing, etc., seems simpler to just typeset what we've got. Other
+% scripts will verify consistency.
 % 
-% But don't do any of this yet. Maybe for 42:1.
-% 
 %    \begin{macrocode}
 %
 \def\tubdoiprefix{10.47397/tb} % the number crossref assigned us
 %
-\def\notyettubtypesetdoi{\iftubfinaloption % do this if [final], even if pageno>900
+\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\value{page}>900 xnot\fi % but make url invalid if >900
+    \edef\thedoi{\ifnum\count0>900 xnot\fi % but make url invalid if >900
                  doi.org/\tubdoiprefix/\volno-\issno/\jobname}%
     \scriptsize
     \vskip\baselineskip
@@ -3384,9 +3369,9 @@
     \vss
   }%
   \global\let\tubtypesetdoi\@empty % only do it once, no matter what.
+ \fi
 \fi}
 %
-\def\tubtypesetdoi{}
 %
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/tugboat/tugboat.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/tugboat/tugboat.ins	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/source/latex/tugboat/tugboat.ins	2021-06-27 21:02:12 UTC (rev 59732)
@@ -1,10 +1,10 @@
-% $Id: tugboat.ins 274 2020-03-12 16:47:21Z karl $
+% $Id: tugboat.ins 376 2021-06-27 16:27:44Z karl $
 % tugboat.ins
 %% This file will generate fast loadable files and documentation
 %% driver files from the doc files in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright 1994-2020 TeX Users Group.
+%% Copyright 1994-2021 TeX Users Group.
 %% 
 %% This file is part of the tugboat package.
 %% 
@@ -38,7 +38,7 @@
 
 This is a generated file.
 
-Copyright 1994-2020 TeX Users Group.
+Copyright 1994-2021 TeX Users Group.
 
 It may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls	2021-06-27 21:02:12 UTC (rev 59732)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright 1994-2020 TeX Users Group.
+%% Copyright 1994-2021 TeX Users Group.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +32,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
 \ProvidesClass  {ltugboat}
-                   [2020-11-14 v2.24
+                   [2021-06-27 v2.25
                        TUGboat journal class%
                    ]
 \csname tugstyloaded@\endcsname
@@ -107,6 +107,10 @@
 \DeclareOption{runningoff}{\AtEndOfClass{\@tubrunningoff}}
 \DeclareOption{runningminimal}{\AtEndOfClass{\@tubrunningminimal}}
 \DeclareOption{runningfull}{\AtEndOfClass{\@tubrunningfull}}
+\newif\iftubomitdoioption
+\DeclareOption{omitdoi}{%
+   \tubomitdoioptiontrue
+}
 \newif\if at tubtwocolumn  \@tubtwocolumntrue
 \DeclareOption{onecolumn}{\@tubtwocolumnfalse}
 \newif\iftubsecondcolstart
@@ -214,7 +218,7 @@
 \def\CPU{\acro{CPU}}
 \def\CSczabbr{\ensuremath{\cal C}\kern-.1667em\lower.5ex\hbox{$\cal S$}}
 \def\CSS{\acro{CSS}}
-\def\CSTUG{\CSczabbr\acro{TUG}}
+\def\CSTUG{\CSczabbr\kern.05em\acro{TUG}}
 \def\CSV{\acro{CSV}}
 \def\CTAN{\acro{CTAN}}
 \def\DTD{\acro{DTD}}
@@ -273,7 +277,7 @@
 \def\Mc{\setbox\TestBox=\hbox{M}M\vbox
    to\ht\TestBox{\hbox{c}\vfil}} %  for Robert McGaffey
 \def\mf{\textsc{Metafont}}
-\def\MFB{\textsl{The \MF\kern1pt book}}
+\def\MFB{\textsl{The \MF\kern.1em\-book}}
 \def\MkIV{Mk\acro{IV}}
 \let\TB@@mp\mp
 \DeclareRobustCommand{\mp}{\ifmmode\TB@@mp\else MetaPost\fi}
@@ -305,6 +309,7 @@
 \def\POBox{P.\thinspace O.~Box }
 \def\PS{{Post\-Script}}
 \def\PSTricks{\acro{PST}ricks}
+\def\RIT{\acro{RIT}}
 \def\RTF{\acro{RTF}}
 \def\SC{Steering Committee}
 \def\SGML{\acro{SGML}}
@@ -316,9 +321,9 @@
 \def\STIX{\acro{STIX}}
 \def\SVG{\acro{SVG}}
 \def\TANGLE{\texttt{TANGLE}\@}
-\def\TB{\textsl{The \TeX book}}
+\def\TB{\textsl{The \TeX\-book}}
 \def\TIFF{\acro{TIFF}}
-\def\TP{\textsl{\TeX}: \textsl{The Program}}
+\def\TP{\textsl{\TeX}:\ \textsl{The Program}}
 \DeclareRobustCommand{\TeX}{T\kern-.1667em\lower.424ex\hbox{E}\kern-.125emX\@}
 \def\TeXhax{\TeX hax}
 \def\TeXMaG{\TeX M\kern-.1667em\lower.5ex\hbox{A}%
@@ -328,7 +333,7 @@
 \def\TeXworks{\TeX\kern-.07em works}
 \def\TeXXeT{\TeX-{}-\XeT}
 \def\TFM{\acro{TFM}}
-\ifx\Umathchardef\@thisisundefined % xetex|luatex
+\ifx\Umathchardef\@thisisundefined % not (xetex|luatex)
 \def\Thanh{H\`an~Th\^e\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh}% non-XeTeX
 \else
 \def\Thanh{H\`an~Th\textcircumacute{e}~Th\`anh}% else xunicode drops the acute
@@ -341,6 +346,13 @@
 \def\tug{\acro{TUG}}
 \def\UG{Users Group}
 \def\UNIX{\acro{UNIX}}
+\def\tbUTF{\acro{UTF}\futurelet\@nextchar\@tbUTFcheck}
+  \def\@tbUTFcheck{\ifx\@nextchar-%
+                      \mbox{-}\let\next=\tbgobbledash
+                    \else
+                      \let\next=\empty
+                    \fi\next}
+  \def\tbgobbledash-{}
 \def\VAX{V\kern-.12em A\kern-.1em X\@}
 \def\VnTeX{V\kern-.03em n\kern-.02em \TeX}
 \def\VorTeX{V\kern-2.7\p@\lower.5ex\hbox{O\kern-1.4\p@ R}\kern-2.6\p@\TeX}
@@ -351,7 +363,8 @@
 \def\WYSIWYG{\acro{WYSIWYG}}
 \def\tubreflect#1{%
   \@ifundefined{reflectbox}{%
-    \TBError{A graphics package must be loaded for \string\XeTeX}%
+    \TBError{A graphics package must be loaded to use \string\XeTeX}
+            {Load graphicx or graphics.}%
   }{%
     \ifdim \fontdimen1\font>0pt
       \raise 1.75ex \hbox{\kern.1em\rotatebox{180}{#1}}\kern-.1em
@@ -1243,11 +1256,11 @@
 \newdimen\@tubfullpageindent
 \@tubfullpageindent = \if at tubtwocolumn 4.875pc \else 3.875pc \fi
 \let\tubcaptionleftglue=\hfil
-\let\tubcaptionleftglue=\hfil
 \def\tubcaptionfonts{\small}%
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{\tubcaptionfonts \frenchspacing \tubmakecaptionbox{#1}{#2}}% try in an hbox
+  % try in an hbox:
+  \sbox\@tempboxa{\tubcaptionfonts \frenchspacing \tubmakecaptionbox{#1}{#2}}%
   \ifdim \wd\@tempboxa > \hsize
     {% caption doesn't fit on one line; set as a paragraph.
      \tubcaptionfonts \raggedright \hyphenpenalty=\@M \parindent=1em
@@ -1554,9 +1567,10 @@
 \def\ps at headings{}
 \pagestyle{headings}
 \def\tubdoiprefix{10.47397/tb} % the number crossref assigned us
-\def\notyettubtypesetdoi{\iftubfinaloption % do this if [final], even if pageno>900
+\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\value{page}>900 xnot\fi % but make url invalid if >900
+    \edef\thedoi{\ifnum\count0>900 xnot\fi % but make url invalid if >900
                  doi.org/\tubdoiprefix/\volno-\issno/\jobname}%
     \scriptsize
     \vskip\baselineskip
@@ -1565,8 +1579,8 @@
     \vss
   }%
   \global\let\tubtypesetdoi\@empty % only do it once, no matter what.
+ \fi
 \fi}
-\def\tubtypesetdoi{}
 \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	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugboat.sty	2021-06-27 21:02:12 UTC (rev 59732)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright 1994-2020 TeX Users Group.
+%% Copyright 1994-2021 TeX Users Group.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -31,7 +31,7 @@
 %% extension .ins) which are part of the distribution.
 %% 
 \ProvidesPackage{ltugboat}
-                   [2020-11-14 v2.24
+                   [2021-06-27 v2.25
            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	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty	2021-06-27 21:02:12 UTC (rev 59732)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright 1994-2020 TeX Users Group.
+%% Copyright 1994-2021 TeX Users Group.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +32,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
    \ProvidesPackage{ltugcomn}
-                   [2020-11-14 v2.24
+                   [2021-06-27 v2.25
                           TUGboat `common macros' package%
                    ]
 \IfFileExists{mflogo.sty}%
@@ -128,7 +128,7 @@
 \def\CPU{\acro{CPU}}
 \def\CSczabbr{\ensuremath{\cal C}\kern-.1667em\lower.5ex\hbox{$\cal S$}}
 \def\CSS{\acro{CSS}}
-\def\CSTUG{\CSczabbr\acro{TUG}}
+\def\CSTUG{\CSczabbr\kern.05em\acro{TUG}}
 \def\CSV{\acro{CSV}}
 \def\CTAN{\acro{CTAN}}
 \def\DTD{\acro{DTD}}
@@ -187,7 +187,7 @@
 \def\Mc{\setbox\TestBox=\hbox{M}M\vbox
    to\ht\TestBox{\hbox{c}\vfil}} %  for Robert McGaffey
 \def\mf{\textsc{Metafont}}
-\def\MFB{\textsl{The \MF\kern1pt book}}
+\def\MFB{\textsl{The \MF\kern.1em\-book}}
 \def\MkIV{Mk\acro{IV}}
 \let\TB@@mp\mp
 \DeclareRobustCommand{\mp}{\ifmmode\TB@@mp\else MetaPost\fi}
@@ -219,6 +219,7 @@
 \def\POBox{P.\thinspace O.~Box }
 \def\PS{{Post\-Script}}
 \def\PSTricks{\acro{PST}ricks}
+\def\RIT{\acro{RIT}}
 \def\RTF{\acro{RTF}}
 \def\SC{Steering Committee}
 \def\SGML{\acro{SGML}}
@@ -230,9 +231,9 @@
 \def\STIX{\acro{STIX}}
 \def\SVG{\acro{SVG}}
 \def\TANGLE{\texttt{TANGLE}\@}
-\def\TB{\textsl{The \TeX book}}
+\def\TB{\textsl{The \TeX\-book}}
 \def\TIFF{\acro{TIFF}}
-\def\TP{\textsl{\TeX}: \textsl{The Program}}
+\def\TP{\textsl{\TeX}:\ \textsl{The Program}}
 \DeclareRobustCommand{\TeX}{T\kern-.1667em\lower.424ex\hbox{E}\kern-.125emX\@}
 \def\TeXhax{\TeX hax}
 \def\TeXMaG{\TeX M\kern-.1667em\lower.5ex\hbox{A}%
@@ -242,7 +243,7 @@
 \def\TeXworks{\TeX\kern-.07em works}
 \def\TeXXeT{\TeX-{}-\XeT}
 \def\TFM{\acro{TFM}}
-\ifx\Umathchardef\@thisisundefined % xetex|luatex
+\ifx\Umathchardef\@thisisundefined % not (xetex|luatex)
 \def\Thanh{H\`an~Th\^e\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh}% non-XeTeX
 \else
 \def\Thanh{H\`an~Th\textcircumacute{e}~Th\`anh}% else xunicode drops the acute
@@ -255,6 +256,13 @@
 \def\tug{\acro{TUG}}
 \def\UG{Users Group}
 \def\UNIX{\acro{UNIX}}
+\def\tbUTF{\acro{UTF}\futurelet\@nextchar\@tbUTFcheck}
+  \def\@tbUTFcheck{\ifx\@nextchar-%
+                      \mbox{-}\let\next=\tbgobbledash
+                    \else
+                      \let\next=\empty
+                    \fi\next}
+  \def\tbgobbledash-{}
 \def\VAX{V\kern-.12em A\kern-.1em X\@}
 \def\VnTeX{V\kern-.03em n\kern-.02em \TeX}
 \def\VorTeX{V\kern-2.7\p@\lower.5ex\hbox{O\kern-1.4\p@ R}\kern-2.6\p@\TeX}
@@ -265,7 +273,8 @@
 \def\WYSIWYG{\acro{WYSIWYG}}
 \def\tubreflect#1{%
   \@ifundefined{reflectbox}{%
-    \TBError{A graphics package must be loaded for \string\XeTeX}%
+    \TBError{A graphics package must be loaded to use \string\XeTeX}
+            {Load graphicx or graphics.}%
   }{%
     \ifdim \fontdimen1\font>0pt
       \raise 1.75ex \hbox{\kern.1em\rotatebox{180}{#1}}\kern-.1em

Modified: trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.cls	2021-06-27 21:02:12 UTC (rev 59732)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright 1994-2020 TeX Users Group.
+%% Copyright 1994-2021 TeX Users Group.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -32,7 +32,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
 \ProvidesClass  {ltugproc}
-                   [2020-11-14 v2.24
+                   [2021-06-27 v2.25
                        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	2021-06-27 21:01:56 UTC (rev 59731)
+++ trunk/Master/texmf-dist/tex/latex/tugboat/ltugproc.sty	2021-06-27 21:02:12 UTC (rev 59732)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright 1994-2020 TeX Users Group.
+%% Copyright 1994-2021 TeX Users Group.
 %% 
 %% It may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -31,7 +31,7 @@
 %% extension .ins) which are part of the distribution.
 %% 
 \ProvidesPackage{ltugproc}
-                   [2020-11-14 v2.24
+                   [2021-06-27 v2.25
            TUG compatibility package%
                    ]
 \@obsoletefile{ltugproc.cls}{ltugproc.sty}



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