diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty b/Master/texmf-dist/tex/latex/tugboat/ltugcomn.sty index f39780180ce..1aefaceb7c2 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} - [2024-04-15 v2.32 + [2024-10-26 v2.33 TUGboat `common macros' package% ] \newif\ifTBunicodeengine @@ -170,6 +170,7 @@ \def\Hawaii{Hawai`i} \def\HTML{\acro{HTML}} \def\HTTP{\acro{HTTP}} +\def\HTTPS{\acro{HTTPS}} \def\iOS{i\acro{OS}} \def\IDE{\acro{IDE}} \def\IEEE{\acro{IEEE}} @@ -307,7 +308,7 @@ \def\XeT{X\kern-.125em\lower.424ex\hbox{E}\kern-.1667emT\@} \def\XML{\acro{XML}} \def\XMP{\acro{XMP}} -\def\WEB{\texttt{WEB}\@} +\def\WEB{\texorpdfstring{\texttt{WEB}\@}{WEB}} \def\WEAVE{\texttt{WEAVE}\@} \def\WYSIWYG{\acro{WYSIWYG}} \def\YAML{\acro{YAML}} @@ -326,19 +327,21 @@ \def\tubhideheight#1{\setbox0=\hbox{#1}\ht0=0pt \dp0=0pt \box0 } \def\XekernbeforeE{-.125em} \def\XekernafterE{-.1667em} -\DeclareRobustCommand{\Xe}{\leavevmode +\NewDocumentCommand\tub@Xe{}{\leavevmode \tubhideheight{\hbox{X% \setbox0=\hbox{\TeX}\setbox1=\hbox{E}% \ifdim \fontdimen1\font>0pt - % XeTeX logo needs tinkering when slanted/italic font. + % XeTeX logo needs tinkering when slanted/italic font, + % so make kerns changeable \def\XekernbeforeE{-.11em}% \def\XekernafterE{-.16em}% \dp1=-.17ex \fi \lower\dp0\hbox{\raise\dp1\hbox{\kern\XekernbeforeE\tubreflect{E}}}% \kern\XekernafterE}}} -\def\XeTeX{\Xe\TeX} -\def\XeLaTeX{\Xe{\kern.11em \LaTeX}} +\newcommand\Xe{\texorpdfstring{\tub@Xe}{Xe}} +\def\XeTeX{\texorpdfstring{\Xe\TeX}{XeTeX}} +\def\XeLaTeX{\texorpdfstring{\Xe{\kern.11em \LaTeX}}{XeLaTeX}} \def\XHTML{\acro{XHTML}} \def\XSL{\acro{XSL}} \def\XSLFO{\acro{XSL}\raise.08ex\hbox{-}\acro{FO}} @@ -443,7 +446,8 @@ \raise\p@\vbox{\baselineskip6\p@\vskip7\p@\hbox{.}\hbox{.}\hbox{.}} } \def\bull{\vrule \@height 1ex \@width .8ex \@depth -.2ex } -\def\cents{{\rm\raise.2ex\rlap{\kern.05em$\scriptstyle/$}c}} +\DeclareRobustCommand{\cents}{\textcent} +\def\tubcentsold{{\rm\raise.2ex\rlap{\kern.05em$\scriptstyle/$}c}} \def\careof{\leavevmode\hbox{\raise.75ex\hbox{c}\kern-.15em /\kern-.125em\smash{\lower.3ex\hbox{o}}} \ignorespaces} \def\Dag{\raise .6ex\hbox{$\scriptstyle\dagger$}} @@ -462,7 +466,7 @@ \ensuremath{\rangle}% } \DeclareRobustCommand{\cs}[1]{\texorpdfstring - {{\tt \char`\\#1}}% + {{\tt \char`\\#1}\@}% {\textbackslash #1}% } \DeclareRobustCommand{\tubbraced}[1]{\texorpdfstring @@ -480,7 +484,7 @@ \DeclareRobustCommand{\thinskip}{\hskip 0.16667em\relax} \AtBeginDocument{% \ifx\hyper@normalise\undefined - \ifx\url\undefined % make sure \url is defined + \ifx\url\undefined % define our own simplistic non-hyperref \url \def\url{\begingroup % might as well catch common special chars \catcode`\#=12 \catcode`\$=12 \catcode`\%=12 \catcode`\^=12 \catcode`\&=12 \catcode`\_=12 \catcode`\~=12 |