[latex3-commits] [latex3/latex2e] cleanup-firstaid: remove unneeded bidi firstaid (1ec2223d)
github at latex-project.org
github at latex-project.org
Tue Jul 18 20:56:41 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : cleanup-firstaid
Link : https://github.com/latex3/latex2e/commit/1ec2223d95ec4c4947ea98afe566f93bb42a1733
>---------------------------------------------------------------
commit 1ec2223d95ec4c4947ea98afe566f93bb42a1733
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Jul 18 20:56:41 2023 +0200
remove unneeded bidi firstaid
>---------------------------------------------------------------
1ec2223d95ec4c4947ea98afe566f93bb42a1733
required/firstaid/changes.txt | 1 +
.../latex2e-first-aid-for-external-files.dtx | 52 ----------------------
2 files changed, 1 insertion(+), 52 deletions(-)
diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index aeb16867..c7efb81b 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,6 +1,7 @@
2023-07-18 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
* latex2e-first-aid-for-external-files.dtx: remove no longer needed code for
everysel
+ * latex2e-first-aid-for-external-files.dtx: remove no longer needed code for bidi
2023-05-20 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 2c1951e9..8754d500 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -285,62 +285,10 @@
%</filehook-ltx>
% \end{macrocode}
%
-%
-%
-%
-% \subsection{The \pkg{bidi} package first aid}
-%
-% The \pkg{bidi} package adds a lot of hooks in various places and
-% those added to \cs{document} and \cs{enddocument} are now no
-% longer necessary as the kernel already provides the right hooks
-% there.
-%
-% However, we aren't trying to change that but instead only make
-% sure that the existing patches still work by adding some first
-% aid after \pkg{biditools} has been loaded.
-%
-% If the package gets updated one can easily take that out simply
-% through
-%\begin{verbatim}
-% \RemoveFromHook{file/biditools.sty/after}[firstaid]
-%\end{verbatim}
-% This makes it easy to test new bidi code while the first aid code
-% is still in the kernel.
-%
% \begin{macrocode}
%<*kernel>
% \end{macrocode}
%
-% Bidi is now ar a new version: patches are no longer needed.
-% \begin{macrocode}
-%\AddToHook{file/biditools.sty/after}[firstaid]{%
-% \FirstAidNeededT{biditools}{sty}%
-% {2020/05/13 v2 Programming tools for bidi package}%
-% {%
-% \end{macrocode}
-% \pkg{bidi} adds some code to the beginning of \cs{document} which
-% contains \cs{endgroup} and \cs{begingroup} which is no longer
-% correct.
-%
-% Patching \cs{document} using \cs{bidi at patchcmd} doesn't work so
-% we take the extra groups out by hand:
-% \begin{macrocode}
-% \def\firstaid at bidi@document at patch
-% \endgroup#1\begingroup#2\firstaid at bidi@document at patch
-% {\unexpanded{#1#2}}%
-% \edef\document{\expandafter\firstaid at bidi@document at patch\document
-% \firstaid at bidi@document at patch}%
-% \end{macrocode}
-% There are also some patches into \cs{enddocument}, some continue
-% to go in but one fails, so we add that now into the right place.
-% \begin{macrocode}
-% \AddToHook{enddocument/info}%
-% {\let\bidi at AfterEndDocumentCheckLabelsRerun\@firstofone
-% \bidi at afterenddocumentchecklabelsrerunhook}%
-% }%
-%}
-% \end{macrocode}
-%
% \subsection{The \pkg{dinbrief} class first aid}
%
% Again a case of a no longer correct \cs{endgroup} in document.
More information about the latex3-commits
mailing list.