[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Some \providecommand needed (d86ed7d6)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jul 2 19:15:23 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/d86ed7d643536c6e89741a8ba93bac762ab02d1a

>---------------------------------------------------------------

commit d86ed7d643536c6e89741a8ba93bac762ab02d1a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jul 2 18:15:23 2019 +0100

    Some \providecommand needed


>---------------------------------------------------------------

d86ed7d643536c6e89741a8ba93bac762ab02d1a
 doc/ltnews30.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/ltnews30.tex b/doc/ltnews30.tex
index 7c08a1d5..a6c4fd8a 100644
--- a/doc/ltnews30.tex
+++ b/doc/ltnews30.tex
@@ -45,7 +45,7 @@
 \providecommand\LuaTeX{\hologo{LuaTeX}}
 \providecommand\pdfTeX{\hologo{pdfTeX}}
 
-\newcommand\githubissue[2][]{\ifhmode\unskip\fi
+\providecommand\githubissue[2][]{\ifhmode\unskip\fi
      \quad\penalty500\strut\nobreak\hfill
      \mbox{\small\slshape(%
        \href{https://github.com/latex3/latex2e/issues/\getfirstgithubissue#2 \relax}%
@@ -56,12 +56,12 @@
 % simple solution right now (just link to the first issue if there are more)
 \def\getfirstgithubissue#1 #2\relax{#1}
 
-\newcommand\sxissue[1]{\ifhmode\unskip\fi
+\providecommand\sxissue[1]{\ifhmode\unskip\fi
      \quad\penalty500\strut\nobreak\hfill
      \mbox{\small\slshape(\url{https://tex.stackexchange.com/#1})}\par}
 
 \let\cls\pkg
-\newcommand\env[1]{\texttt{#1}}
+\providecommand\env[1]{\texttt{#1}}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \iffalse % only for TUB production





More information about the latex3-commits mailing list