[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: avoid \par in \DeclareCurrentRelease (a35015cf)

David Carlisle d.p.carlisle at gmail.com
Wed Nov 6 16:52:54 CET 2019


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

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

commit a35015cf81fd09218c05b776af4cc91fa43b0d85
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Wed Nov 6 15:52:54 2019 +0000

    avoid \par in \DeclareCurrentRelease


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

a35015cf81fd09218c05b776af4cc91fa43b0d85
 base/ltclass.dtx | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 1e70a923..9dc65d2b 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -1737,8 +1737,6 @@
 %<latexrelease>\IncludeInRelease{2019/10/01}%
 %<latexrelease>                 {\filec at ntents}{Spaces in file names + optional arg}%
 %
-
-
 %    \end{macrocode}
 %    We use |@tempswa| to mean no preamble writing and reuse |@filesw|
 %    to indicate no overwriting:
@@ -2159,7 +2157,7 @@
 %  \end{macro}
 %  \end{macro}
 %  \end{macro}
-
+%
 %  \begin{macro}{\pkgcls at candidate}
 %  \begin{macro}{\pkgcls at releasedate}
 %    When looping through the |\DeclareRelease| declarations we
@@ -2394,10 +2392,7 @@
   \def\pkgcls at targetlabel{#1}}
 %    \end{macrocode}
 %  \end{macro}
-
-
-
-
+%
 %  \begin{macro}{\DeclareRelease}
 %    First argument is the ``name'' of the release and it can be left empty
 %    if one doesn't like to give a name to the release.
@@ -2503,10 +2498,7 @@
 }
 %    \end{macrocode}
 %  \end{macro}
-
-
-
-
+%
 %  \begin{macro}{\pkgcls at use@this at release}
 %    If a certain release has been selected (stored in the external
 %    file given in \verb=#1=) we need to input it and afterwards stop
@@ -2541,8 +2533,7 @@
 }
 %    \end{macrocode}
 %  \end{macro}
-
-
+%
 %  \begin{macro}{\pkgcls at show@selection}
 %    This command records what selection was made. As that is needed
 %    in two places (and it is rather lengthly) it was placed in a
@@ -2584,8 +2575,7 @@
 }
 %    \end{macrocode}
 %  \end{macro}
- 
-
+%
 %  \begin{macro}{\pkgcls at rollbackdate@error}
 %    This is called if the requested rollback date is earlier than the
 %    earliest known release of a package or class.
@@ -2641,7 +2631,6 @@
 %    |\DeclareCurrentRelease| but no declared older releases (so
 %    basically the use of the declaration is a bit dubious).
 %    \begin{macrocode}
-
         \ifx\pkgcls at candidate\@empty
           \pkgcls at rollbackdate@error{#2}%
         \else
@@ -2675,7 +2664,6 @@
 %  \end{macro}
 %
 %
-
 %  \begin{macro}{\IfTargetDateBefore}
 %    This enables a simple form of conditional code inside a class or
 %    package file. If there is a date request and the request date is





More information about the latex3-commits mailing list