[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: make a number of commands short again that got \long by mistake (#358) (801abb8c)
GitHub
noreply at github.com
Wed Jul 29 19:51:59 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/801abb8cd4de628fb5ffa3b7de555949b09c0f56
>---------------------------------------------------------------
commit 801abb8cd4de628fb5ffa3b7de555949b09c0f56
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Wed Jul 29 19:51:59 2020 +0200
make a number of commands short again that got \long by mistake (#358)
>---------------------------------------------------------------
801abb8cd4de628fb5ffa3b7de555949b09c0f56
base/changes.txt | 19 +++++++++++++++++++
base/ltmath.dtx | 11 +++++++----
base/ltoutenc.dtx | 8 +++++---
base/ltpage.dtx | 8 +++++---
base/ltpictur.dtx | 5 +++--
base/ltsect.dtx | 8 +++++---
6 files changed, 44 insertions(+), 15 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 1ef6f2cd..061838fd 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -1,3 +1,4 @@
+
================================================================================
This file lists changes to the LaTeX2e files in reverse chronological order of
publication (therefore the dates might be out of sequence if there are hotfixes).
@@ -6,6 +7,24 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2020-07-27 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltpage.dtx (section| command.):
+ \markboth and \markright should not be \long (gh/354)}
+
+ * ltsect.dtx (subsection{The Title}):
+ \author and \date should not be \long (gh/354)}
+ \title and \thanks kept as \long.
+
+ * ltoutenc.dtx (subsubsection{Declaration commands}):
+ \UseTextAccent and \UseTextSymbol should not be \long (gh/354)}
+
+ * ltmath.dtx (subsubsection{The UNSORTED Rest}):
+ \cases, \matrix and \pmatrix should not be \long (gh/354)}
+
+ * ltpictur.dtx (section{Picture Mode}):
+ \linethickness should not be \long (gh/354)}
+
2020-07-16 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltmiscen.dtx: \begin should not be long for better
diff --git a/base/ltmath.dtx b/base/ltmath.dtx
index c4963cf0..36b8bb7e 100644
--- a/base/ltmath.dtx
+++ b/base/ltmath.dtx
@@ -38,7 +38,7 @@
%<*driver>
% \fi
\ProvidesFile{ltmath.dtx}
- [2020/04/21 v1.2f LaTeX Kernel (Math Setup)]
+ [2020/07/27 v1.2g LaTeX Kernel (Math Setup)]
% \iffalse
%</driver>
%
@@ -407,15 +407,17 @@
% \begin{macro}{\cases}
% \changes{LaTeX2.09}{1991/08/14}
% {(RmS) inserted extra braces around entry for NFSS}
+% \changes{v1.2g}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\cases[1]{\left\{\,\vcenter{\normalbaselines\m at th
+\DeclareRobustCommand*\cases[1]{\left\{\,\vcenter{\normalbaselines\m at th
\ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\right.}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\matrix}
+% \changes{v1.2g}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\matrix[1]{\null\,\vcenter{\normalbaselines\m at th
+\DeclareRobustCommand*\matrix[1]{\null\,\vcenter{\normalbaselines\m at th
\ialign{\hfil$##$\hfil&&\quad\hfil$##$\hfil\crcr
\mathstrut\crcr\noalign{\kern-\baselineskip}
#1\crcr\mathstrut\crcr\noalign{\kern-\baselineskip}}}\,}
@@ -423,8 +425,9 @@
% \end{macro}
%
% \begin{macro}{\pmatrix}
+% \changes{v1.2g}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\pmatrix[1]{\left(\matrix{#1}\right)}
+\DeclareRobustCommand*\pmatrix[1]{\left(\matrix{#1}\right)}
% \end{macrocode}
% \end{macro}
%
diff --git a/base/ltoutenc.dtx b/base/ltoutenc.dtx
index 59c20f37..986e40b5 100644
--- a/base/ltoutenc.dtx
+++ b/base/ltoutenc.dtx
@@ -44,7 +44,7 @@
%<*driver>
% \fi
\ProvidesFile{ltoutenc.dtx}
- [2021/07/04 v2.0q LaTeX Kernel (font encodings)]
+ [2020/07/21 v2.0r LaTeX Kernel (font encodings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltoutenc.dtx}
@@ -1082,8 +1082,9 @@
% deficiencies, see pr/3160.
% \task{?}{Improve this and document its problems, see pr/3160}
% \changes{v1.9z}{2000/01/30}{Macro reimplemented (pr/3160)}
+% \changes{v2.0r}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\UseTextAccent[3]{%
+\DeclareRobustCommand*\UseTextAccent[3]{%
\hmode at start@before at group
{%
% \end{macrocode}
@@ -1098,8 +1099,9 @@
% \end{macrocode}
%
% \changes{v1.9z}{2000/01/30}{Macro reimplemented (pr/3160)}
+% \changes{v2.0r}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\UseTextSymbol[2]{%
+\DeclareRobustCommand*\UseTextSymbol[2]{%
\hmode at start@before at group
{%
\def\@wrong at font@char{\MessageBreak
diff --git a/base/ltpage.dtx b/base/ltpage.dtx
index f926f330..8c7aac0a 100644
--- a/base/ltpage.dtx
+++ b/base/ltpage.dtx
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltpage.dtx}
- [2019/08/27 v1.0l LaTeX Kernel (page style setup)]
+ [2020/07/27 v1.0m LaTeX Kernel (page style setup)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltpage.dtx}
@@ -201,8 +201,9 @@
% expansion, CAR}
% \changes{v1.0j}{2000/05/26}{Reimplementation to fix expansion
% error (pr/3203).}
+% \changes{v1.0m}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\markboth[2]{%
+\DeclareRobustCommand*\markboth[2]{%
\begingroup
\let\label\relax \let\index\relax \let\glossary\relax
\unrestored at protected@xdef\@themark {{#1}{#2}}%
@@ -212,8 +213,9 @@
\if at nobreak\ifvmode\nobreak\fi\fi}
% \end{macrocode}
%
+% \changes{v1.0m}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\markright[1]{%
+\DeclareRobustCommand*\markright[1]{%
\begingroup
\let\label\relax \let\index\relax \let\glossary\relax
% \end{macrocode}
diff --git a/base/ltpictur.dtx b/base/ltpictur.dtx
index bdac744e..8cc4c344 100644
--- a/base/ltpictur.dtx
+++ b/base/ltpictur.dtx
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltpictur.dtx}
- [2020/05/12 v1.1o LaTeX Kernel (Picture Mode)]
+ [2020/07/27 v1.1p LaTeX Kernel (Picture Mode)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltpictur.dtx}
@@ -289,8 +289,9 @@
%
% \begin{macro}{\linethickness}
% \changes{v1.1n}{2020/02/14}{Suppress spaces following the declaration (gh/274)}
+% \changes{v1.1p}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\linethickness[1]
+\DeclareRobustCommand*\linethickness[1]
{\@wholewidth #1\relax \@halfwidth .5\@wholewidth \ignorespaces}
% \end{macrocode}
% \end{macro}
diff --git a/base/ltsect.dtx b/base/ltsect.dtx
index 9ccd042f..9f379ea2 100644
--- a/base/ltsect.dtx
+++ b/base/ltsect.dtx
@@ -31,7 +31,7 @@
%%% From File: ltsect.dtx
%<*driver>
% \fi
-\ProvidesFile{ltsect.dtx}[2019/08/27 v1.1d LaTeX Kernel (Sectioning)]
+\ProvidesFile{ltsect.dtx}[2020/07/27 v1.1e LaTeX Kernel (Sectioning)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltsect.dtx}
@@ -137,20 +137,22 @@
%
% \begin{macro}{\author}
% \changes{LaTeX2e}{1993/12/11}{Added default}
+% \changes{v1.1e}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
%
% |\author| for use in |\maketitle|. If not given |\maketitle| will
% produce a warning message.
%
% \begin{macrocode}
-\DeclareRobustCommand\author[1]{\gdef\@author{#1}}
+\DeclareRobustCommand*\author[1]{\gdef\@author{#1}}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\date}
% |\date| for use in |\maketitle|. If not given |\maketitle| will
% produce |\today| as the default.
+% \changes{v1.1e}{2020/07/27}{Don't make the command \cs{long} (gh/354)}
% \begin{macrocode}
-\DeclareRobustCommand\date[1]{\gdef\@date{#1}}
+\DeclareRobustCommand*\date[1]{\gdef\@date{#1}}
% \end{macrocode}
% \end{macro}
%
More information about the latex3-commits
mailing list.