diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty index 506e284e942..84e21f4ba31 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty +++ b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty @@ -8,20 +8,20 @@ %% %% This is a generated file. %% -%% Copyright 1994-2019 TeX Users Group. +%% Copyright 1994-2020 TeX Users Group. %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt +%% https://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2003/12/01 or later. %% %% This file has the LPPL maintenance status "maintained". %% %% The Current Maintainer of this work is the TeX Users Group -%% (http://tug.org/TUGboat). +%% (https://tug.org/TUGboat). %% %% The list of all files belonging to the distribution is given in the file %% `manifest.txt'. @@ -32,7 +32,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{ltugcomn} - [2019-11-09 v2.22 + [2020-03-12 v2.23 TUGboat `common macros' package% ] \IfFileExists{mflogo.sty}% @@ -404,6 +404,19 @@ \DeclareRobustCommand{\tubbraced}[1]{\mbox{\texttt{\char`\{#1\char`\}}}} \DeclareRobustCommand{\env}[1]{\cs{begin}\tubbraced{#1}} \DeclareRobustCommand{\thinskip}{\hskip 0.16667em\relax} +\AtBeginDocument{% +\ifx\hyper@normalise\undefined + \def\tbsurl{\url}% no hyperref, so just \url is fine. + \def\tbhurl{\url}% +\else + % This hyperref hook-in is due to Ulrike Fischer. + % \url{https://github.com/latex3/hyperref/issues/125}. + \DeclareRobustCommand*{\tbsurl}{\hyper@normalise\tbsurl@}% + \def\tbsurl@#1{\hyper@linkurl{\Hurl{#1}}{https://#1}}% + \DeclareRobustCommand*{\tbhurl}{\hyper@normalise\tbhurl@} + \def\tbhurl@#1{\hyper@linkurl{\Hurl{#1}}{http://#1}}% +\fi +} \DeclareRobustCommand{\!}{\ifmmode\mskip-\thinmuskip \else\kern-0.16667em \fi} \DeclareRobustCommand{\tubthinnerspace} {\ifmmode\mskip.5\thinmuskip \else\kern0.08333em \fi} |