texlive[71875] Master/texmf-dist: fancyhdr (23jul24)
commits+karl at tug.org
commits+karl at tug.org
Tue Jul 23 21:53:53 CEST 2024
Revision: 71875
https://tug.org/svn/texlive?view=revision&revision=71875
Author: karl
Date: 2024-07-23 21:53:53 +0200 (Tue, 23 Jul 2024)
Log Message:
-----------
fancyhdr (23jul24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fancyhdr/README
trunk/Master/texmf-dist/doc/latex/fancyhdr/fancyhdr.pdf
trunk/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx
trunk/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty
trunk/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Modified: trunk/Master/texmf-dist/doc/latex/fancyhdr/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fancyhdr/README 2024-07-23 14:27:43 UTC (rev 71874)
+++ trunk/Master/texmf-dist/doc/latex/fancyhdr/README 2024-07-23 19:53:53 UTC (rev 71875)
@@ -27,7 +27,7 @@
boxedminipage.sty (CTAN:/macros/latex/contrib/boxedminipage) and
refcount.sty (CTAN:/macros/latex/contrib/oberdiek/) installed.
-This is version 4.3 of fancyhdr.sty and extramarks.sty. They are
+This is version 4.3.1 of fancyhdr.sty and extramarks.sty. They are
described in the third edition of The LaTeX Companion.
Extramarks.sty has not been changed, except for the version and
copyright information.
Modified: trunk/Master/texmf-dist/doc/latex/fancyhdr/fancyhdr.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx 2024-07-23 14:27:43 UTC (rev 71874)
+++ trunk/Master/texmf-dist/source/latex/fancyhdr/fancyhdr.dtx 2024-07-23 19:53:53 UTC (rev 71875)
@@ -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,13 +3068,20 @@
% \item Version 4.3, July 17, 2024
% \begin{itemize}
% \item Changed \cs{f at 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 at 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 at nch@centering}
% \begin{macro}{\f at nch@everypar}
% \changes{fancyhdr v4.3}{2024/07/17}{Changed \cs{f at 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 at 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 at nch@everypar\tex_everypar:D
\newcommand\f at nch@resetpar{%
\f at 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
Modified: trunk/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty 2024-07-23 14:27:43 UTC (rev 71874)
+++ trunk/Master/texmf-dist/tex/latex/fancyhdr/extramarks.sty 2024-07-23 19:53:53 UTC (rev 71875)
@@ -21,7 +21,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{extramarks}
- [2024/07/18 v4.3
+ [2024/07/23 v4.3.1
Extra marks for LaTeX]
% Copyright (C) 1994-2024 by Pieter van Oostrum <pieter at vanoostrum.org>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty 2024-07-23 14:27:43 UTC (rev 71874)
+++ trunk/Master/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty 2024-07-23 19:53:53 UTC (rev 71875)
@@ -21,7 +21,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fancyhdr}%
- [2024/07/18 v4.3
+ [2024/07/23 v4.3.1
Extensive control of page headers and footers]%
% Copyright (C) 1994-2024 by Pieter van Oostrum <pieter at vanoostrum.org>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -232,6 +232,7 @@
\let\f at nch@everypar\tex_everypar:D
\newcommand\f at nch@resetpar{%
\f at 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
More information about the tex-live-commits
mailing list.