[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: provide def for \pkg :-( (87c4ad60)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Aug 21 23:39:12 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks2
Link       : https://github.com/latex3/latex2e/commit/87c4ad60716403061e8917064d8862a6c1be6be5

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

commit 87c4ad60716403061e8917064d8862a6c1be6be5
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Aug 21 23:39:12 2020 +0200

    provide def for \pkg :-(


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

87c4ad60716403061e8917064d8862a6c1be6be5
 base/ltclass.dtx   | 3 +++
 base/ltexpl.dtx    | 3 +++
 base/ltfiles.dtx   | 2 ++
 base/ltshipout.dtx | 2 +-
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index c878a190..91ebb480 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -44,6 +44,9 @@
 \date{\filedate}
  \MaintainedByLaTeXTeam{latex}
  \maketitle
+
+ \providecommand\pkg[1]{\texttt{#1}}
+
  \DocInput{\filename}
 \end{document}
 %</driver>
diff --git a/base/ltexpl.dtx b/base/ltexpl.dtx
index 0f30011c..880e956f 100644
--- a/base/ltexpl.dtx
+++ b/base/ltexpl.dtx
@@ -41,6 +41,9 @@
 \date{\filedate}
 \author{%
   Joseph Wright}
+
+\providecommand\pkg[1]{\texttt{#1}}
+
 \begin{document}
  \MaintainedByLaTeXTeam{latex}
  \maketitle
diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index d55a91be..a5ad754b 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -47,6 +47,8 @@
   Chris Rowley\and
   Rainer Sch\"opf}
 
+\providecommand\pkg[1]{\texttt{#1}}
+
 \begin{document}
  \MaintainedByLaTeXTeam{latex}
  \maketitle
diff --git a/base/ltshipout.dtx b/base/ltshipout.dtx
index fd472fed..58f0615f 100644
--- a/base/ltshipout.dtx
+++ b/base/ltshipout.dtx
@@ -331,7 +331,7 @@
 %
 %  \begin{variable}{\PreviousTotalPages}
 %   \begin{syntax}
-%     \thetotalpages/\cs{PreviousTotalPages}
+%     \cs{thetotalpages}/\cs{PreviousTotalPages}
 %   \end{syntax}
 %    Command that expands to the number of total pages from the
 %    previous run.  If there was no previous run or if usedin the





More information about the latex3-commits mailing list.