diff options
author | Karl Berry <karl@freefriends.org> | 2024-07-23 19:53:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-07-23 19:53:53 +0000 |
commit | 294390aa44404e0c53fc23041f3f34375e0df279 (patch) | |
tree | 2c3b51b0065b448bd3b4d9a61adc99385accd788 /Master/texmf-dist/source/latex/fancyhdr | |
parent | 11a44ed3f880227bcac84ba0c302d4a75b867f7d (diff) |
fancyhdr (23jul24)
git-svn-id: svn://tug.org/texlive/trunk@71875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fancyhdr')
-rw-r--r-- | Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx b/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx index c75575ee616..c20c966b8b1 100644 --- a/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx +++ b/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx @@ -26,7 +26,7 @@ %<fancyhdr>\ProvidesPackage{fancyhdr}% %<fancyheadings>\ProvidesPackage{fancyheadings} %<extramarks>\ProvidesPackage{extramarks} -%<fancyhdr|extramarks> [2024/07/18 v4.3 +%<fancyhdr|extramarks> [2024/07/23 v4.3.1 %<fancyhdr> Extensive control of page headers and footers]% %<fancyheadings> [2022/11/09 v4.1 %<fancyheadings> Legacy package to call fancyhdr] @@ -3068,12 +3068,19 @@ % \item Version 4.3, July 17, 2024 % \begin{itemize} % \item Changed \cs{f@nch@everypar}. If the LaTeX kernel has -% \texttt{expl3}, use \cs{tex\_everypar:D}, and reset \cs{par}, -% \cs{@@par} and \cs{endgraf} to their original \TeX{} definitions, so that -% no paragraph hooks will intrude in \Package{fancyhdr} code\footnote -% {See \url{https://tex.stackexchange.com/q/691262/113546}}. -% Therefore paragraph hooks will not work inside \Package{fancyhdr} headers and -% footers to avoid unwanted interactions with the main text. +% \texttt{expl3}, use \cs{tex\_everypar:D}, and reset \cs{par}, +% \cs{@@par} and \cs{endgraf} to their original \TeX{} definitions, so that +% no paragraph hooks will intrude in \Package{fancyhdr} code\footnote +% {See \url{https://tex.stackexchange.com/q/691262/113546}}. +% Therefore paragraph hooks will not work inside \Package{fancyhdr} headers and +% footers to avoid unwanted interactions with the main text. +% \end{itemize} +% \item % Version 4.3.1, July 23, 2024 +% \begin{itemize} +% \item Also reset \cs{everypar} to its original \TeX{} value +% \cs{tex\_everypar:D} in \cs{f@nch@resetpar}, otherwise environments +% based on \cs{trivlist} will not work properly in \Package{fancyhdr} +% headers and footers. % \end{itemize} % \end{itemize} % @@ -4005,9 +4012,13 @@ % \begin{macro}{\f@nch@centering} % \begin{macro}{\f@nch@everypar} % \changes{fancyhdr v4.3}{2024/07/17}{Changed \cs{f@nch@everypar}. If the -% LaTeX kernel has expl3, use \cs{tex\_everypar:D}, and reset \cs{par}, -% \cs{@@par} and \cs{endgraf} to their original \TeX{} definitions, so that -% no paragraph hooks will intrude in \Package{fancyhdr} code.} +% LaTeX kernel has expl3, use \cs{tex\_everypar:D}, and reset \cs{par}, +% \cs{@@par} and \cs{endgraf} to their original \TeX{} definitions, so that +% no paragraph hooks will intrude in \Package{fancyhdr} code.} +% \changes{fancyhdr v4.3.1}{2024/07/23}{Also reset \cs{everypar} to its +% original \TeX{} value \cs{tex\_everypar:D} in \cs{f@nch@resetpar}, +% otherwise environments based on \cs{trivlist} +% will not work properly in \Package{fancyhdr} headers and footers.} % Save the standard definitions of \cs{raggedleft}, \cs{raggedright}, % \cs{centering} and \cs{everypar} so that we can reset them when we are % typesetting the headers and footers. Some packages change these to @@ -4021,6 +4032,7 @@ \let\f@nch@everypar\tex_everypar:D \newcommand\f@nch@resetpar{% \f@nch@everypar{}% + \cs_set_eq:NN \everypar\tex_everypar:D \cs_set_eq:NN \par \tex_par:D \cs_set_eq:NN \@@par \tex_par:D \cs_set_eq:NN \endgraf \tex_par:D |