diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-03 20:59:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-03 20:59:59 +0000 |
commit | 6447757b1efea3fddef454cd856841255f353d0c (patch) | |
tree | 4aef860f76bed4daa180860b82d325ebd37cd789 /Master | |
parent | 7a13d37503ca9d59e636a91a54338591e1e255a5 (diff) |
latex-firstaid-dev (3dec22)
git-svn-id: svn://tug.org/texlive/trunk@65181 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
4 files changed, 57 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex-dev/firstaid/changes.txt b/Master/texmf-dist/doc/latex-dev/firstaid/changes.txt index 3c6cb992c89..31e24397341 100644 --- a/Master/texmf-dist/doc/latex-dev/firstaid/changes.txt +++ b/Master/texmf-dist/doc/latex-dev/firstaid/changes.txt @@ -1,3 +1,13 @@ +2022-11-28 Ulrike Fischer <Ulrike.Fischer@latex-project.org> + + * latex2e-first-aid-for-external-files.dtx (subsection{the songs package first aid}): + A first aid for songs after a change to \obeylines + +2022-11-04 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * latex2e-first-aid-for-external-files.dtx (subsection{The unicode-math package first aid}): + A first aid for unicode-math used together with the doc package. + 2022-10-27 Joseph Wright <Joseph.Wright@latex-project.org> * latex2e-first-aid-for-external-files.dtx: diff --git a/Master/texmf-dist/doc/latex-dev/firstaid/latex2e-first-aid-for-external-files.pdf b/Master/texmf-dist/doc/latex-dev/firstaid/latex2e-first-aid-for-external-files.pdf Binary files differindex 9e850e52643..b525f8eea8f 100644 --- a/Master/texmf-dist/doc/latex-dev/firstaid/latex2e-first-aid-for-external-files.pdf +++ b/Master/texmf-dist/doc/latex-dev/firstaid/latex2e-first-aid-for-external-files.pdf diff --git a/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx b/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx index 9bc4969b2c9..0d9ce67bcad 100644 --- a/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx +++ b/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx @@ -111,8 +111,8 @@ % \end{macrocode} % % \begin{macrocode} -\def\LaTeXFirstAidDate{2022/10/29} -\def\LaTeXFirstAidVersion{v1.0u} +\def\LaTeXFirstAidDate{2022/11/28} +\def\LaTeXFirstAidVersion{v1.0w} % \end{macrocode} % % \begin{macrocode} @@ -353,6 +353,20 @@ % \end{macrocode} % % +% \subsection{The \pkg{unicode-math} package first aid} +% +% If \pkg{unicode-math} is used together with \pkg{doc} there is a +% problem because it changes the mathcodes without adjusting the +% use in \pkg{doc} that assume standard settings. Could be fixed on +% either side, but as \pkg{unicode-math} is derivating from the +% standard, the right place is probably a fix in this package. For +% now we do it here. See github/820. +% \begin{macrocode} +\AddToHook{package/unicode-math/after}{% + \AddToHook{cmd/mod@math@codes/after}{\mathcode`\|=28796 }} +% \end{macrocode} +% +% % % % \subsection{The \pkg{pgfpages} and \pkg{pgfmorepages} first aid} @@ -411,13 +425,27 @@ \AddToHook{file/babel.sty/before}[firstaid]{\def\BabelCaseHack{}} % \end{macrocode} % -% \begin{macrocode} -%</kernel> -% \end{macrocode} -% % +% \subsection{The \pkg{songs} package first aid} % +% The songs package uses \cs{obeylines} and redefines \cs{par} for special effect. +% this no longer works in LaTeX 2022-06-01 (gh issue 367). The following +% fixes at least one failure. +% \begin{macrocode} +\AddToHook{file/songs.sty/after}[firstaid]{% + \FirstAidNeededT{songs}{sty}{2018/09/12 v3.1 Songs package}% + {% + \renewcommand\SB@obeylines{% + \let\obeyedline\SB@par% + \obeylines% + \let\@par\SB@@par% + }}% +} +% \end{macrocode} % +% \begin{macrocode} +%</kernel> +% \end{macrocode} % % \subsection{The \pkg{everysel} package first aid} % diff --git a/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx b/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx index ebdf7f5f99c..0c905e9b814 100644 --- a/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx +++ b/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx @@ -34,8 +34,8 @@ %% %% The LaTeX Project and any individual authors listed elsewhere %% in this file. -\def\LaTeXFirstAidDate{2022/10/29} -\def\LaTeXFirstAidVersion{v1.0u} +\def\LaTeXFirstAidDate{2022/11/28} +\def\LaTeXFirstAidVersion{v1.0w} \ProvidesFile{latex2e-first-aid-for-external-files.ltx} [\LaTeXFirstAidDate\space \LaTeXFirstAidVersion\space LaTeX kernel fixes to external files and packages] @@ -56,6 +56,8 @@ \FirstAidNeededT{dinbrief}{cls}{2000/03/02 LaTeX2e class}% {\AddToHook{env/document/begin}{\begingroup}}% } +\AddToHook{package/unicode-math/after}{% + \AddToHook{cmd/mod@math@codes/after}{\mathcode`\|=28796 }} \ExplSyntaxOn \AddToHook{file/pgfpages.sty/after}[firstaid]{% \cs_gset_eq:NN \shipout \pgfpages@originalshipout @@ -72,6 +74,15 @@ } \ExplSyntaxOff \AddToHook{file/babel.sty/before}[firstaid]{\def\BabelCaseHack{}} +\AddToHook{file/songs.sty/after}[firstaid]{% + \FirstAidNeededT{songs}{sty}{2018/09/12 v3.1 Songs package}% + {% + \renewcommand\SB@obeylines{% + \let\obeyedline\SB@par% + \obeylines% + \let\@par\SB@@par% + }}% +} \AddToHook{file/bigfoot.sty/after}{% \ifnum\count10<\insc@unt \global\count10=\insc@unt |