[latex3-commits] [git/LaTeX3-latex3-latex2e] gh385: documentation for gh385 (c08714f0)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Oct 26 16:10:54 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh385
Link       : https://github.com/latex3/latex2e/commit/c08714f08a37bd56383acc77c36a4d1c2d396880

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

commit c08714f08a37bd56383acc77c36a4d1c2d396880
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Oct 26 16:10:54 2020 +0100

    documentation for gh385


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

c08714f08a37bd56383acc77c36a4d1c2d396880
 base/doc/ltnews33.tex | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/base/doc/ltnews33.tex b/base/doc/ltnews33.tex
index daa8fc69..c0b7c72b 100644
--- a/base/doc/ltnews33.tex
+++ b/base/doc/ltnews33.tex
@@ -114,6 +114,20 @@
 \section{Other changes to the \LaTeX{} kernel}
 
 
+\subsection{\cs{end}\texttt{\textbraceleft document\textbraceright}
+  should always start in v-mode}
+
+Until now \verb=\end{document}= executed the code from the
+\cs{AtEndDocument} hook as its first action. This meant that it was
+executed in horizontal mode if the user left no empty line after the
+last paragraph.  As a result one could get a spurious space added, for
+example, when that code contained a \cs{write} statement. This was
+fixed and now \cs{enddocument} first issues a \cs{par} to ensure that
+it always starts out in vertical mode.
+%
+\githubissue{385}
+
+
 \subsection{\ldots}
 
 %





More information about the latex3-commits mailing list.