[latex3-commits] [git/LaTeX3-latex3-latex2e] stocksize: Add \stock... registers (1bed5099)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Jun 23 13:47:42 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : stocksize
Link       : https://github.com/latex3/latex2e/commit/1bed509962c993ffc2d44d1168e068a34cf35875

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

commit 1bed509962c993ffc2d44d1168e068a34cf35875
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jun 23 12:45:29 2022 +0100

    Add \stock... registers


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

1bed509962c993ffc2d44d1168e068a34cf35875
 base/changes.txt  |  8 ++++++++
 base/classes.dtx  | 10 +++++++++-
 base/letter.dtx   |  9 ++++++++-
 base/ltoutput.dtx | 13 ++++++++++++-
 base/slides.dtx   | 10 +++++++++-
 5 files changed, 46 insertions(+), 4 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 595698b5..4f5512c3 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,14 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2022-06-23  Joseph Wright <Joseph.Wright at latex-project.org>
+
+	* ltoutput.dtx
+	Add registers \stockheight and \stockwidth
+
+	* classes.dtx, letter.dtx, slides.dtx
+	Set \stockheight and \stockwidth after loading standard classes
+
 ================================================================================
 All changes above are only part of the development branch for the next release.
 ================================================================================
diff --git a/base/classes.dtx b/base/classes.dtx
index 857cfc79..257f249d 100644
--- a/base/classes.dtx
+++ b/base/classes.dtx
@@ -53,7 +53,7 @@
 %<*driver>
 \ProvidesFile{classes.drv}
 %</driver>
-              [2021/10/04 v1.4n
+              [2022/06/23 v1.4o
 %<article|report|book> Standard LaTeX document class]
 %<10pt|11pt|12pt>      Standard LaTeX file (size option)]
 %    \end{macrocode}
@@ -519,6 +519,14 @@
 %</article|report|book>
 %    \end{macrocode}
 %
+% \changes{1.4o}{2022/06/23}{Set \cs{stock\dots} registers}
+% No trim marks in the standard classes, so the stock and the paper are
+% the same size.
+%    \begin{macrocode}
+\stockheight=\paperheight
+\stockwidth=\paperwidth
+%    \end{macrocode}
+%
 %  \section{Loading Packages}
 %
 %  The standard class files do not load additional packages.
diff --git a/base/letter.dtx b/base/letter.dtx
index 4052c260..9619865b 100644
--- a/base/letter.dtx
+++ b/base/letter.dtx
@@ -45,7 +45,7 @@
 %<*driver>
        \ProvidesFile{letter.drv}
 %</driver>
-              [2021/12/07 v1.3c
+              [2022/06/23 v1.3d
 %<+letter>               Standard LaTeX document class]
 %    \end{macrocode}
 %
@@ -332,6 +332,13 @@
 \input{size1\@ptsize.clo}
 %    \end{macrocode}
 %
+% \changes{1.3d}{2022/06/23}{Set \cs{stock\dots} registers}
+% No trim marks in the standard classes, so the stock and the paper are
+% the same size.
+%    \begin{macrocode}
+\stockheight=\paperheight
+\stockwidth=\paperwidth
+%    \end{macrocode}
 %
 %  \section{Loading Packages}
 %
diff --git a/base/ltoutput.dtx b/base/ltoutput.dtx
index c2cb8f66..69205a7c 100644
--- a/base/ltoutput.dtx
+++ b/base/ltoutput.dtx
@@ -30,7 +30,7 @@
 %%% From File: ltoutput.dtx
 %<flafter>\ProvidesPackage{flafter}
 %<fltrace>\ProvidesPackage{fltrace}
-%<flafter,fltrace>       [2021/07/31 v1.4e
+%<flafter,fltrace>       [2022/06/23 v1.4f
 %<flafter>                  Standard LaTeX floats after reference (FMi)]
 %<fltrace>                  Tracing LaTeX floats algorithm (FMi)]
 %
@@ -829,6 +829,17 @@
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
+% \begin{macro}{\stockheight}
+% \changes{v1.4f}{2022/06/23}{Register added}
+% \begin{macro}{\stockwidth}
+% \changes{v1.4f}{2022/06/23}{Register added}
+%    New |\stock|\ldots\ registers.
+%    \begin{macrocode}
+\newdimen\stockheight
+\newdimen\stockwidth
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
 %
 % \begin{macro}{\if at insert}
 % \begin{macro}{\if at fcolmade}
diff --git a/base/slides.dtx b/base/slides.dtx
index 5ea9e58d..fb7fcb54 100644
--- a/base/slides.dtx
+++ b/base/slides.dtx
@@ -53,7 +53,7 @@
 %<*driver>
        \ProvidesFile{slides.drv}
 %</driver>
-              [2022/05/18 v2.4b
+              [2022/06/23 v2.4c
 %<+class>               Standard LaTeX document class]
 %<+cmd>               SLiTeX definitions]
 %    \end{macrocode}
@@ -395,6 +395,14 @@
 \ProcessOptions
 %    \end{macrocode}
 %
+% \changes{1.4c}{2022/06/23}{Set \cs{stock\dots} registers}
+% No trim marks in the standard classes, so the stock and the paper are
+% the same size.
+%    \begin{macrocode}
+\stockheight=\paperheight
+\stockwidth=\paperwidth
+%    \end{macrocode}
+%
 %  \section{Loading Packages}
 %
 %  The standard class files do not load additional packages.





More information about the latex3-commits mailing list.