diff options
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/base/ltpage.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex-dev/base/ltpage.dtx | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex-dev/base/ltpage.dtx b/Master/texmf-dist/source/latex-dev/base/ltpage.dtx index 4d5601556db..c5ce52b1c65 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltpage.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltpage.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% Copyright (C) 1993-2019 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -13,7 +13,7 @@ % The latest version of this license is in % https://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% version 2008 or later. % % This file has the LPPL maintenance status "maintained". % @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltpage.dtx} - [2000/06/02 v1.0k LaTeX Kernel (page style setup)] + [2019/08/27 v1.0l LaTeX Kernel (page style setup)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltpage.dtx} @@ -63,6 +63,7 @@ % \changes{v1.0a}{1994/03/07}{Initial version, split from ltherest.dtx} % \changes{v1.0b}{1994/04/19}{Improve documentation} % \changes{v1.0i}{1996/04/18}{Improve documentation} +% \changes{v1.0l}{2019/08/27}{Make various commands robust} % % % \subsection{Page Style Commands} @@ -175,6 +176,14 @@ % \end{macro} % \end{macro} % +% +% \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2019/10/01}% +%<latexrelease> {\markboth}{Make commands robust}% +% \end{macrocode} +% % \begin{macro}{\markboth} % \begin{macro}{\markright} % \changes{v1.0d}{1994/05/20}{Changed setting for \cs{protect}.} @@ -193,7 +202,7 @@ % \changes{v1.0j}{2000/05/26}{Reimplementation to fix expansion % error (pr/3203).} % \begin{macrocode} -\def\markboth#1#2{% +\DeclareRobustCommand\markboth[2]{% \begingroup \let\label\relax \let\index\relax \let\glossary\relax \unrestored@protected@xdef\@themark {{#1}{#2}}% @@ -201,7 +210,10 @@ \mark{\the\@temptokena}% \endgroup \if@nobreak\ifvmode\nobreak\fi\fi} -\def\markright#1{% +% \end{macrocode} +% +% \begin{macrocode} +\DeclareRobustCommand\markright[1]{% \begingroup \let\label\relax \let\index\relax \let\glossary\relax % \end{macrocode} @@ -216,6 +228,21 @@ % \end{macro} % \end{macro} % +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\markboth}{Make commands robust}% +%<latexrelease> +%<latexrelease>\kernel@make@fragile\markboth +%<latexrelease>\kernel@make@fragile\markright +%<latexrelease> +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> +% \end{macrocode} +% +% +% % % \begin{macro}{\@markright} % \changes{v1.0j}{2000/05/26}{Reimplementation to fix expansion @@ -269,7 +296,7 @@ % interfering with the 1fil space of |\newpage|.) % % \begin{macrocode} -\def\raggedbottom{% +\DeclareRobustCommand\raggedbottom{% \def\@textbottom{\vskip \z@ \@plus.0001fil}\let\@texttop\relax} % \end{macrocode} % \end{macro} @@ -278,7 +305,7 @@ % |\flushbottom|: % Inverse of |\raggedbottom| --- makes all pages the same height. % \begin{macrocode} -\def\flushbottom{% +\DeclareRobustCommand\flushbottom{% \let\@textbottom\relax \let\@texttop\relax} % \end{macrocode} % \end{macro} @@ -290,7 +317,7 @@ % \changes{LaTeX2e}{1993/12/18}{Added \cs{emergencystretch}} % \changes{v1.0h}{1994/07/20}{Save a few tokens} % \begin{macrocode} -\def\sloppy{% +\DeclareRobustCommand\sloppy{% \tolerance 9999% \emergencystretch 3em% \hfuzz .5\p@ @@ -310,7 +337,7 @@ % \changes{v1.0f}{1995/04/24}{reset \cs{emergencystretch} latex/1344} % Resets \TeX's parameters to their normal finicky values. % \begin{macrocode} -\def\fussy{% +\DeclareRobustCommand\fussy{% \emergencystretch\z@ \tolerance 200% \hfuzz .1\p@ |