diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltlists.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltlists.dtx | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltlists.dtx b/Master/texmf-dist/source/latex/base/ltlists.dtx index 6841bafa40a..e71835583d9 100644 --- a/Master/texmf-dist/source/latex/base/ltlists.dtx +++ b/Master/texmf-dist/source/latex/base/ltlists.dtx @@ -31,7 +31,7 @@ %<*driver> % \fi \ProvidesFile{ltlists.dtx} - [2014/09/29 v1.0s LaTeX Kernel (List Environments)] + [2015/05/10 v1.0t LaTeX Kernel (List Environments)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltlists.dtx} @@ -56,7 +56,7 @@ %</driver> % \fi % -% \CheckSum{498} +% \CheckSum{521} % % \changes{v1.0b}{1994/03/28}{Improve documentation} % \changes{v1.0f}{1994/05/21}{Use new error commands} @@ -719,8 +719,20 @@ % \end{macrocode} % % \begin{macrocode} +%<latexrelease>\IncludeInRelease{2015/01/01}{\@doendpe}{clubpenalty fix}% \def\@doendpe{\@endpetrue - \def\par{\@restorepar\everypar{}\par\@endpefalse}\everypar + \def\par{\@restorepar +% \end{macrocode} +% If a section heading changes |\clubpenalty| to keep lines +% after it together then this modification is restored via the +% |\everypar| mechanism at the start of the next paragraph. As we +% destroy the contents of this token here we explicity set +% |\clubpenalty| back to its default. +% \changes{v1.0t}{2015/05/10}{Explicitly reset \cs{clubpenalty} before +% clearing \cs{everypar}; see also pr/0462 and pr/4065} +% \begin{macrocode} + \clubpenalty\@clubpenalty + \everypar{}\par\@endpefalse}\everypar % \end{macrocode} % % Use |\setbox0=\lastbox| instead of |\hskip -\parindent| @@ -729,7 +741,17 @@ % \changes{v1.0k}{1995/11/07}{Enclosed \cs{setbox0} assignment by a % group so that it leaves the contents of box $0$ intact.} % \begin{macrocode} - {{\setbox\z@\lastbox}\everypar{}\@endpefalse}} + {{\setbox\z@\lastbox}% + \everypar{}\@endpefalse}} +%<latexrelease>\EndIncludeInRelease +% \end{macrocode} +% +% \begin{macrocode} +%<latexrelease>\IncludeInRelease{0000/00/00}{\@doendpe}{clubpenalty fix}% +%<latexrelease>\def\@doendpe{\@endpetrue +%<latexrelease> \def\par{\@restorepar\everypar{}\par\@endpefalse}\everypar +%<latexrelease> {{\setbox\z@\lastbox}\everypar{}\@endpefalse}} +%<latexrelease>\EndIncludeInRelease % \end{macrocode} % \end{macro} % \end{macro} |