texlive[73284] Master/texmf-dist: bidi (3jan25)
commits+karl at tug.org
commits+karl at tug.org
Fri Jan 3 23:48:37 CET 2025
Revision: 73284
https://tug.org/svn/texlive?view=revision&revision=73284
Author: karl
Date: 2025-01-03 23:48:37 +0100 (Fri, 03 Jan 2025)
Log Message:
-----------
bidi (3jan25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/xelatex/bidi/README
trunk/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.pdf
trunk/Master/texmf-dist/doc/xelatex/bidi/bidi.pdf
trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx
trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins
trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamer-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseboxes-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecolor-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecompatibility-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframecomponents-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframesize-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaselocalstructure-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasemisc-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseoverlay-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemecircles-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemedefault-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemefocus-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemeinmargin-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthememetropolis-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerectangles-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerounded-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemedefault-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemefocus-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeinfolines-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememetropolis-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememiniframes-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeshadow-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesidebar-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothbars-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothtree-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesplit-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemetree-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeHannover-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeSingapore-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-perpage.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex
trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls
trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls
trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls
trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty
trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/diagbox-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/footnotebackref-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/imsproc-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/lineno-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/lscape-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/mathtools-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/nicematrix-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/pdfbase-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/pdflscape-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/pgfsys.code-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tcolorbox-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def
trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def
Added Paths:
-----------
trunk/Master/texmf-dist/tex/xelatex/bidi/media9-xetex-bidi.def
Removed Paths:
-------------
trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def
Modified: trunk/Master/texmf-dist/doc/xelatex/bidi/README
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bidi/README 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/doc/xelatex/bidi/README 2025-01-03 22:48:37 UTC (rev 73284)
@@ -1,6 +1,6 @@
___________________
The bidi package
-v40.8
+v41.0
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -25,7 +25,7 @@
also appear in the Discussions space under the Announcements
category.
-Current version release date: 2024/12/28
+Current version release date: 2025/01/03
___________________________________________
Vafa Khalighi
Modified: trunk/Master/texmf-dist/doc/xelatex/bidi/bidi-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/xelatex/bidi/bidi.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
* Copyright (c) 2007--2025 Vafa Khalighi
* Copyright (c) 2018--2020 bidi-tex GitHub Organization
*
-* v40.8 (Release William Paul Thurston), 2024/12/28
+* v41.0 (Release Maryam Mirzakhani), 2025/01/03
*
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx 2025-01-03 22:48:37 UTC (rev 73284)
@@ -3,7 +3,7 @@
\begin{document}
\title{\textcolor{bidiblue}{\Huge The \textsf{bidi} \textit{Package}}\\
\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-\large User documentation for \textcolor{bidiblue}{version 40.8}}
+\large User documentation for \textcolor{bidiblue}{version 41.0}}
\author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team for maintaining the package in the period 2018--2020.}}
\setcounter{page}{0}
\thispagestyle{empty}
@@ -13,7 +13,7 @@
\textcolor{bidiblue}{\Huge The \textsf{bidi} \textit{Package}}
\Large
-User documentation for \textcolor{bidiblue}{version 40.8}}
+User documentation for \textcolor{bidiblue}{version 41.0}}
\vskip 0pt plus 3fill
\textit{\large to my Master, \textbf{Ferdowsi The Great}}
Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx 2025-01-03 22:48:37 UTC (rev 73284)
@@ -1,7 +1,7 @@
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={User documentation for version 40.8 of the bidi
+ pdftitle={User documentation for version 41.0 of the bidi
package}%
}
\begin{document}
Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx 2025-01-03 22:48:37 UTC (rev 73284)
@@ -5,7 +5,7 @@
%<*readme>
___________________
The bidi package
-v40.8
+v41.0
This package provides a convenient interface for typesetting
bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -30,7 +30,7 @@
also appear in the Discussions space under the Announcements
category.
-Current version release date: 2024/12/28
+Current version release date: 2025/01/03
___________________________________________
Vafa Khalighi
@@ -178,11 +178,11 @@
\generate{\file{lettrine-xetex-bidi.def}{\from{\jobname.dtx}{table,lettrine-xetex-bidi.def}}}
\generate{\file{lineno-xetex-bidi.def}{\from{\jobname.dtx}{table,lineno-xetex-bidi.def}}}
\generate{\file{listings-xetex-bidi.def}{\from{\jobname.dtx}{table,listings-xetex-bidi.def}}}
-\generate{\file{loadingorder-xetex-bidi.def}{\from{\jobname.dtx}{table,loadingorder-xetex-bidi.def}}}
\generate{\file{longtable-xetex-bidi.def}{\from{\jobname.dtx}{table,longtable-xetex-bidi.def}}}
\generate{\file{lscape-xetex-bidi.def}{\from{\jobname.dtx}{table,lscape-xetex-bidi.def}}}
\generate{\file{mathtools-xetex-bidi.def}{\from{\jobname.dtx}{table,mathtools-xetex-bidi.def}}}
\generate{\file{mdframed-xetex-bidi.def}{\from{\jobname.dtx}{table,mdframed-xetex-bidi.def}}}
+\generate{\file{media9-xetex-bidi.def}{\from{\jobname.dtx}{table,media9-xetex-bidi.def}}}
\generate{\file{bidi-media9.sty}{\from{\jobname.dtx}{table,bidi-media9.sty}}}
\generate{\file{memoir-xetex-bidi.def}{\from{\jobname.dtx}{table,memoir-xetex-bidi.def}}}
\generate{\file{midfloat-xetex-bidi.def}{\from{\jobname.dtx}{table,midfloat-xetex-bidi.def}}}
@@ -267,7 +267,7 @@
\documentclass{ltxdoc}
\input{bidi-doc-preamble.ltx}
\hypersetup{%
- pdftitle={Source documentation for version 40.8 of the bidi
+ pdftitle={Source documentation for version 41.0 of the bidi
package}%
}
\EnableCrossrefs
@@ -286,7 +286,7 @@
% \GetFileInfo{\jobname.dtx}
% \title{\textcolor{bidiblue}{\Huge The \textsf{bidi} \textit{Package}}\\
%\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Source documentation for \textcolor{bidiblue}{version 40.8}}
+%\large Source documentation for \textcolor{bidiblue}{version 41.0}}
% \author{Vafa Khalighi\thanks{Thanks to the bidi-tex GitHub organization consisted of David Carlisle and other members of the {\LaTeX} team for maintaining the package in the period 2018--2020.}}
%\setcounter{page}{0}
%\thispagestyle{empty}
@@ -296,7 +296,7 @@
%\textcolor{bidiblue}{\Huge The \textsf{bidi} \textit{Package}}
%
%\Large
-%Source documentation for \textcolor{bidiblue}{version 40.8}}
+%Source documentation for \textcolor{bidiblue}{version 41.0}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -345,7 +345,7 @@
%\iffalse
%<*table>
%\fi
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -550,12 +550,12 @@
%\fi
% \section{File \texttt{algorithm2e-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{algorithm2e-xetex-bidi.def}[2018/09/23 v0.2 bidi adaptations for algorithm2e package for XeTeX engine]
+\ProvidesFile{algorithm2e-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for algorithm2e package for XeTeX engine]
\expandafter\ifx\csname algocf at within\endcsname\relax% if \algocf at within doesn't exist
\else% else
\renewcommand\thealgocf{\csname the\algocf at within\endcsname\@SepMark\@arabic\c at algocf}%
\fi
-\@ifpackageloaded{color}{}{%
+\ApplyPatchIfPackageLoadedF{color}{%
\bidi at patchcmd{\@algocf at start}{\bgroup}{%
\bgroup
\if at RTL
@@ -581,6 +581,16 @@
\fi
}{}{}
}
+
+\@ifpackagewith{algorithm2e}{algonl}{%
+\renewcommand{\theAlgoLine}{\expandafter\csname the\algocf at float\endcsname\@SepMark\arabic{AlgoLine}}%
+}{}
+
+\@ifpackagewith{algorithm2e}{algopart}{\renewcommand{\algocf at within}{part}}{}
+
+\@ifpackagewith{algorithm2e}{algochapter}{\renewcommand{\algocf at within}{chapter}}{}
+
+\@ifpackagewith{algorithm2e}{algosection}{\renewcommand{\algocf at within}{section}}{}
% \end{macrocode}
%
%\iffalse
@@ -865,7 +875,8 @@
%\fi
% \section{File \texttt{article-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{article-xetex-bidi.def}[2024/12/07 v0.7 bidi adaptations for standard article class for XeTeX engine]
+\ProvidesFile{article-xetex-bidi.def}[2025/01/03 v0.8 bidi adaptations for standard article class for XeTeX engine]
+\IfClassLoadedT{svmult}{\endinput}
\if at titlepage
\renewcommand\maketitle{\begin{titlepage}%
\let\footnotesize\small
@@ -1852,7 +1863,7 @@
%\fi
% \section{File \texttt{arydshln-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{arydshln-xetex-bidi.def}[2010/08/01 v0.2 bidi adaptations for arydshln package for XeTeX engine]
+\ProvidesFile{arydshln-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for arydshln package for XeTeX engine]
\def\endarray{\adl at endarray \egroup \adl at arrayrestore \if at RTLtab\egroup\endR\egroup\fi\egroup}
\def\endtabular{\endarray $\if at RTLtab\endR\fi\egroup}
\expandafter\let\csname endtabular*\endcsname\endtabular
@@ -1940,7 +1951,7 @@
\def\adl at class@start{6}
\def\adl at class@iiiorvii{3}
\fi
-\@ifpackageloaded{colortbl}{%
+\ApplyPatchCodeToPackage{colortbl}{%
\def\adl at inactivate{\adl at org@inactivate \let\CT at setup\adl at CT@setup}
\def\adl at activate{\adl at org@activate \let\CT at setup\adl at act@CT at setup
\let\@endpbox\adl at org@endpbox}
@@ -1986,7 +1997,7 @@
\prepnext at tok}
\let\adl at act@classz\@classz
\let\adl at org@classz\@classz
-}{}
+}
% \end{macrocode}
% \iffalse
%</arydshln-xetex-bidi.def>
@@ -2019,7 +2030,7 @@
%\fi
% \section{File \texttt{beamerbaseauxtemplates-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{beamerbaseauxtemplates-xetex-bidi.def}[2024/12/20 v0.4 bidi adaptations for beamerbaseauxtemplates package for XeTeX engine]
+\ProvidesFile{beamerbaseauxtemplates-xetex-bidi.def}[2025/01/03 v0.5 bidi adaptations for beamerbaseauxtemplates package for XeTeX engine]
\bidi at csundef{beamer@@tmpop at subsection in toc at sections numbered}
\bidi at csundef{beamer@@tmpop at subsubsection in toc at sections numbered}
@@ -2329,7 +2340,7 @@
\end{minipage}
}
-\@ifpackageloaded{caption}{%
+\ApplyPatchCodeToPackage{caption}{%
\DeclareCaptionFont{beamer at font}{%
\usebeamerfont*{caption}%
% \usebeamercolor[fg]{caption}%
@@ -2337,7 +2348,7 @@
\SetCaptionDefault{font}{beamer at font}
\DeclareCaptionJustification{bidi at beamer@ragged}{\bidi at beamer@ragged}
\SetCaptionDefault{justification}{bidi at beamer@ragged}
-}{}
+}
% \end{macrocode}
% \iffalse
@@ -2612,7 +2623,7 @@
\usebeamertemplate***{sidebar left}%
\vfil%
}}%
- \@ifpackageloaded{beamerinnerthemeinmargin}{}{%
+ \ApplyPatchIfPackageLoadedF{beamerinnerthemeinmargin}{%
\hskip-\textwidth
}%
\fi
@@ -4719,9 +4730,9 @@
% \section{File \texttt{bidi.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2024/12/28}
-\def\bidi at version{40.8}
-\def\bidi at releasename{William Paul Thurston}
+\def\bididate{2025/01/03}
+\def\bidi at version{41.0}
+\def\bidi at releasename{Maryam Mirzakhani}
\newcommand*{\bidireleasename}{\bidi at releasename}
\ProvidesPackage{bidi}[\bididate\space v\bidi at version\space (Release \bidi at releasename)\space
Bidirectional typesetting in plain TeX and LaTeX]
@@ -4938,7 +4949,7 @@
}
\newcommand*{\@bidi at pdfcustomproperties}{%
This is the bidi package, Version \bidi at version\space (Release \bidi at releasename),
- Released December 28, 2024.
+ Released January 3, 2025.
}
\newcommand*{\bidi at beamer@ragged}{}
\@RTLmainfalse
@@ -5031,7 +5042,6 @@
\ExplSyntaxOff
\@onlypreamble\pdfencryptsetup
\input{latex-xetex-bidi.def}
-\input{loadingorder-xetex-bidi.def}
\pdfencryptsetup{%
userpassword,%
@@ -5122,10 +5132,10 @@
%\fi
% \section{File \texttt{bidi.tex}}
% \begin{macrocode}
-\def\bididate{2024/12/28}
+\def\bididate{2025/01/03}
\catcode`@=11
-\def\bidi at version{40.8}
-\def\bidi at releasename{William Paul Thurston}
+\def\bidi at version{41.0}
+\def\bidi at releasename{Maryam Mirzakhani}
\def\bidireleasename{\bidi at releasename}
\let \protect \relax
\newlinechar`\^^J
@@ -5239,7 +5249,7 @@
}
\def\@bidi at pdfcustomproperties{%
This is the bidi package, Version \bidi at version\space (Release \bidi at releasename),
- Released December 28, 2024.
+ Released January 3, 2025.
}
\def\bidi at pdfm@mark{%
\special{pdf:%
@@ -6046,7 +6056,7 @@
% \section{File \texttt{biditools.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biditools}[2024/12/07 v2.4 Programming tools for bidi package]
+\ProvidesPackage{biditools}[2025/01/03 v2.6 Programming tools for bidi package]
\providecommand{\@bidi at saveprimitive}[2]{\begingroup\escapechar`\\\relax
\edef\@tempa{\string#1}\edef\@tempb{\meaning#1}%
\ifx\@tempa\@tempb \global\let#2#1%
@@ -6132,12 +6142,6 @@
ill-advised in the old versions of bidi package.%
}%
}
-\def\@tagsextension{clo}
-\def\@definitionfileextension{def}
-\def\@texfileextension{tex}
-\def\@iftagsloaded{\@ifl at aded\@tagsextension}
-\def\@ifdefinitionfileloaded{\@ifl at aded\@definitionfileextension}
-\def\@iftexfileloaded{\@ifl at aded\@texfileextension}
\def\eqnewif#1#2{%
\count@\escapechar \escapechar\m at ne
\let#1\iffalse
@@ -6782,14 +6786,6 @@
\catcode\number`\@=\the\catcode`\@\relax}%
\bidi at resrvda}
-\newcommand\bidi at isloaded[2][]{
- \expandafter\ifx\csname if at bidi@#2loaded@\endcsname\relax
- \expandafter\newif\csname if at bidi@#2loaded@\endcsname
- \fi
- \@ifpackageloaded{#2}
- {\csname @bidi@#2loaded at true\endcsname #1}
- {\csname @bidi@#2loaded at false\endcsname}}
-
\protected\def\bidi at ifscanable#1{%
\begingroup
\edef\bidi at resrvda{%
@@ -7546,441 +7542,273 @@
% infinite loop
%\looprepeat \doloopbody {}
-
-\renewcommand{\InputIfFileExists}[2]{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #1- at bidi@alias\endcsname\relax
- \expandafter\@secondoftwo
- \else
- \bidi at replacefile@msg{\csname #1- at bidi@alias\endcsname}{#1}%
- \expandafter\@firstoftwo
- \fi
- {%
- \expandafter\InputIfFileExists\expandafter{\csname
- #1- at bidi@alias\endcsname}{#2}%
- }%
- {\IfFileExists{#1}{%
- \bidi at load@hook{before}{#1}%
- #2\@addtofilelist{#1}%
- \@@input \@filef at und
- \bidi at load@hook{after}{#1}%
- }}%
-}
-\newcommand*{\bidi@@loadwithoptions}{}
-\newcommand*{\bidi at loadwithoptions}{}
-\let\bidi at loadwithoptions\@loadwithoptions
+\ExplSyntaxOn
+\NewDocumentCommand \bidi at AfterClass { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \@ifclassloaded{ #2 }
+ { #4 }
+ {
+ \hook_gput_code:nnn
+ { file / #2.\@clsextension / after }
+ { #3 }
+ { #4 }
+ }
+ }
+ {
+ \hook_gput_code:nnn { file / #2.\@clsextension / after } { #3 } { #4 }
+ }
+ }
+
+\seq_new:N \g__biditools_input_file_seq
-\renewcommand*{\@loadwithoptions}[3]{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #3.#1- at bidi@aliasname\endcsname\relax
- \def\bidi@@loadwithoptions{\bidi at loadwithoptions{#1}{#2}{#3}}%
- \else
- \bidi at replacefile@msg{\csname #3.#1- at bidi@aliasname\endcsname.#1}{#3.#1}%
- \def\bidi@@loadwithoptions{%
- \@loadwithoptions{#1}{#2}{\csname #3.#1- at bidi@aliasname\endcsname}%
- }%
- \fi
- \bidi@@loadwithoptions
-}
+\prg_new_protected_conditional:Npnn \__bidi_if_loading:n #1 { T, F, TF }
+ {
+ \str_set:Nx \l_tmpa_str { #1 }
+ \seq_if_in:NxTF \g__biditools_input_file_seq { \str_use:N \l_tmpa_str }
+ { \prg_return_true: }
+ { \prg_return_false: }
+ }
-\newcommand*{\bidi at onefilewithoptions}{}
-\let\bidi at onefilewithoptions\@onefilewithoptions
-\def\@onefilewithoptions#1[#2][#3]#4{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #1.#4- at bidi@aliasname\endcsname\relax
- \def\bidi@@onefilewithoptions{\bidi at onefilewithoptions{#1}}%
- \else
- \bidi at replacefile@msg{\csname #1.#4- at bidi@aliasname\endcsname.#4}{#1.#4}%
- \edef\bidi@@onefilewithoptions{%
- \noexpand\@onefilewithoptions{\csname #1.#4- at bidi@aliasname\endcsname}}%
- \fi
- \bidi@@onefilewithoptions[{#2}][{#3}]{#4}%
- \bidi at load@hook{lateafter}{#1.#4}%
-}
+\prg_new_protected_conditional:Npnn \bidi_if_class_loaded:n #1 { T, F, TF }
+ {
+ \@ifclassloaded { #1 }
+ {
+ \__bidi_if_loading:nTF { #1.\@clsextension }
+ { \prg_return_false: }
+ { \prg_return_true: }
+ }
+ {
+ \prg_return_false:
+ }
+ }
+
+\prg_new_protected_conditional:Npnn \bidi_if_package_loaded:n #1 { T, F, TF }
+ {
+ \@ifpackageloaded { #1 }
+ {
+ \__bidi_if_loading:nTF { #1.\@pkgextension }
+ { \prg_return_false: }
+ { \prg_return_true: }
+ }
+ {
+ \prg_return_false:
+ }
+ }
-\newcommand*{\bidi at ReplaceInput}[2]{%
- \expandafter\edef\csname #1- at bidi@alias\endcsname{#2}%
-}
+\NewDocumentCommand \bidi at AfterAtEndOfClass { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \bidi_if_class_loaded:nTF { #2 }
+ { #4 }
+ { \hook_gput_code:nnn { class / #2 / after } { #3 } { #4 } }
+ }
+ {
+ \bidi_if_class_loaded:nF
+ { #2 }
+ { \hook_gput_code:nnn { class / #2 / after } { #3 } { #4 } }
+ }
+ }
+
+\NewDocumentCommand \bidi at AfterPackage { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \@ifpackageloaded{ #2 }
+ { #4 }
+ {
+ \hook_gput_code:nnn
+ { file / #2.\@pkgextension / after }
+ { #3 }
+ { #4 }
+ }
+ }
+ {
+ \hook_gput_code:nnn { file / #2.\@pkgextension / after } { #3 } { #4 }
+ }
+ }
+
+\NewDocumentCommand \bidi at AfterAtEndOfPackage { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \bidi_if_package_loaded:nTF { #2 }
+ { #4 }
+ { \hook_gput_code:nnn { package / #2 / after } { #3 } { #4 } }
+ }
+ {
+ \bidi_if_package_loaded:nF
+ { #2 }
+ { \hook_gput_code:nnn { package / #2 / after } { #3 } { #4 } }
+ }
+ }
+
+\clist_new:N \l__biditools_package_clist
+\msg_new:nnn { biditools } { cannot-prevent-for-already-loaded-package }
+ {
+ Can~not~prevent~package~`#1'~from~being~loaded,~
+ since~it~has~been~loaded~already~before~line~\msg_line_number:
+ }
+\clist_new:N \g__biditools_prevent_clist
-\newcommand*{\bidi at UnReplaceInput}[1]{%
- \ifcsname #1- at bidi@alias\endcsname
- \expandafter\let\csname #1- at bidi@alias\endcsname\relax
- \fi
-}
+\NewDocumentCommand \bidi at PreventPackageFromLoading { s +o m }
+ {
+ \clist_set:Nx \l__biditools_package_clist { #3 }
+ \clist_map_inline:Nn \l__biditools_package_clist
+ {
+ \@ifpackageloaded { ##1 }
+ {
+ \IfBooleanTF { #1 } { \msg_info:nnn } { \msg_warning:nnn }
+ { biditools } { cannot-prevent-for-already-loaded-package } { ##1 }
+ }
+ {
+ \clist_if_in:NnF \g__biditools_prevent_clist { ##1 }
+ { \clist_gput_right:Nn \g__biditools_prevent_clist { ##1 } }
+ \tl_if_exist:cF { g__biditools_exclude_package_##1_tl }
+ {
+ \tl_new:c { g__biditools_exclude_package_##1_tl }
+ }
+ \IfValueT { #2 }
+ {
+ \tl_gput_right:cn { g__biditools_exclude_package_##1_tl } { #2 }
+ }
+ \disable at package@load { ##1 }
+ { \tl_use:c { g__biditools_exclude_package_##1_tl } }
+ }
+ }
+ \clist_clear:N \l__biditools_package_clist
+ }
+
+\NewDocumentCommand \bidi at ResetPreventPackageFromLoading {}
+ {
+ \clist_map_function:NN \g__biditools_prevent_clist \reenable at package@load
+ \clist_gclear:N \g__biditools_prevent_clist
+ }
+
+\NewDocumentCommand \bidi at StorePreventPackageFromLoading { m }
+ { \edef #1 { \clist_use:Nn \g__biditools_prevent_clist { , } } }
-\newcommand*{\@bidi at replacefilewithext}[3]{%
- \expandafter\edef\csname #1.#3- at bidi@aliasname\endcsname{#2}%
- }
-\newcommand*{\bidi at ReplacePackage}[2]{%
- \@bidi at replacefilewithext{#1}{#2}\@pkgextension
-}
-\newcommand*{\bidi at ReplaceClass}[2]{%
- \@bidi at replacefilewithext{#1}{#2}\@clsextension
-}
-\newcommand*{\@bidi at unreplacefilewithext}[2]{%
- \ifcsname #1.#2- at bidi@aliasname\endcsname
- \expandafter\let\csname #1.#2- at bidi@aliasname\endcsname\relax
- \fi
-}
-\newcommand*{\bidi at UnReplacePackage}[1]{%
- \@bidi at unreplacefilewithext{#1}\@pkgextension
-}
-\newcommand*{\bidi at UnReplaceClass}[1]{%
- \@bidi at unreplacefilewithext{#1}\@clsextension
-}
-\newcommand*{\bidi at replacefile@msg}[2]{%
- \PackageInfo{biditools}{inputing `#1' instead of `#2'}%
-}
+\NewDocumentCommand \bidi at UnPreventPackageFromLoading { s m }
+ {
+ \clist_set:Nx \l__biditools_package_clist { #2 }
+ \clist_map_inline:Nn \l__biditools_package_clist
+ {
+ \clist_if_in:NnT \g__biditools_prevent_clist { ##1 }
+ {
+ \clist_gremove_all:Nn \g__biditools_prevent_clist { ##1 }
+ \reenable at package@load { ##1 }
+ \IfBooleanT { #1 }
+ { \cs_undefine:c { g__biditools_exclude_package_##1_tl } }
+ }
+ }
+ }
-\newcommand*{\bidi at load@hook}[2]{%
- \@ifundefined{#2-@#1}{}{%
- \@nameuse{#2-@#1}%
- \expandafter\let\csname #2-@#1\endcsname=\relax}}
-\newcommand*{\bidi at set@load at hook}[2]{%
- \@ifundefined{#2-@#1}{\@namedef{#2-@#1}{}}{}%
- \expandafter\g at addto@macro\csname #2-@#1\endcsname}
-\newcommand*{\bidi at BeforeFile}{\bidi at set@load at hook{before}}
-\newcommand*{\bidi at AfterFile}{\bidi at set@load at hook{after}}
-\newcommand*{\bidi at BeforeClass}[1]{%
- \bidi at set@load at hook{before}{#1.\@clsextension}}
-\newcommand*{\bidi at AfterClass}{%
- \@ifstar {\@s at bidi@AfterClass}{%
- \@ifnextchar +\@@bidi at AfterClass{%
- \@ifnextchar !\@@@bidi at AfterClass\@bidi at AfterClass
- }%
- }%
-}
+\NewDocumentCommand \bidi at BeforeClosingMainAux { o m }
+ {
+ \hook_gput_code:nnn { enddocument / afterlastpage } { #1 }
+ {
+ \debug_suspend:
+ \RenewDocumentCommand \bidi at BeforeClosingMainAux { m } { ##1 }
+ \cs_set_eq:NN \__biditools_protected at write:Nnn \protected at write
+ \cs_set_eq:NN \protected at write \bidi at protected@immediate at write
+ #2
+ \cs_set_eq:NN \protected at write \__biditools_protected at write:Nnn
+ \debug_resume:
+ }
+ }
-\newcommand*{\@@@bidi at AfterClass}[2]{%
- \begingroup\ifx\csname #2.\@clsextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterClass
- \else
- \aftergroup\bidi at AfterAtEndOfClass
- \fi
- \endgroup{#2}%
-}
+\NewDocumentCommand \bidi at AfterReadingMainAux { o m }
+ {
+ \hook_gput_code:nnn { enddocument / afteraux } { #1 }
+ {
+ \debug_suspend:
+ \RenewDocumentCommand \bidi at AfterReadingMainAux { m } { ##1 }
+ \cs_set_eq:NN \__biditools_protected at write:Nnn \protected at write
+ \cs_set_eq:NN \protected at write \bidi at protected@immediate at write
+ #2
+ \cs_set_eq:NN \protected at write \__biditools_protected at write:Nnn
+ \debug_resume:
+ }
+ }
+
+\clist_new:N \l__biditools_file_patch_clist
+
+\NewDocumentCommand \ApplyPatchToFiles { m O{def} O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_file_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_file_patch_clist
+ {
+ \ApplyPatchToFile { ##1 } [ #2 ] [ #3 ]
+ }
+ \clist_clear:N \l__biditools_file_patch_clist
+ }
-\newcommand*{\bidi at AfterAtEndOfClass}[1]{%
- \bidi at set@load at hook{lateafter}{#1.\@clsextension}}
-\newcommand*{\@@bidi at AfterClass}[2]{%
- \begingroup
- \expandafter\ifx\csname #2.\@clsextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterClass
- \else
- \aftergroup\@bidi at AfterClass
- \fi
- \endgroup{#2}%
-}
+\clist_new:N \l__biditools_package_patch_clist
+
+\NewDocumentCommand \ApplyPatchToPackages { m O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_package_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_package_patch_clist
+ {
+ \ApplyPatchToPackage { ##1 } [ #2 ]
+ }
+ \clist_clear:N \l__biditools_package_patch_clist
+ }
+
+\clist_new:N \l__biditools_class_patch_clist
+
+\NewDocumentCommand \ApplyPatchToClasses { m O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_class_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_class_patch_clist
+ {
+ \ApplyPatchToClass { ##1 } [ #2 ]
+ }
+ \clist_clear:N \l__biditools_class_patch_clist
+ }
+
+\NewDocumentCommand \ApplyPatchToClassesIfPackageLoadedF { m m O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_class_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_class_patch_clist
+ {
+ \ApplyPatchToClassIfPackageLoadedF { ##1 } { #2 } [ #3 ]
+ }
+ \clist_clear:N \l__biditools_class_patch_clist
+ }
+\ExplSyntaxOff
-\newcommand*{\@bidi at AfterClass}[1]{%
- \bidi at set@load at hook{after}{#1.\@clsextension}}
-\newcommand*{\@s at bidi@AfterClass}[1]{%
- \begingroup
- \@ifclassloaded{#1}{%
- \aftergroup\@secondoftwo
- }{%
- \aftergroup\@bidi at AfterClass
- }%
- \endgroup
- {#1}%
+\newcommand*{\bidi at ReplaceInput}{\declare at file@substitution}
+\newcommand*{\bidi at UnReplaceInput}
+{\undeclare at file@substitution}
+\newcommand*{\bidi at ReplacePackage}[2]{%
+ \declare at file@substitution{#1.\@pkgextension}{#2.\@pkgextension}%
}
-
-
-\newcommand*{\bidi at BeforePackage}[1]{%
- \bidi at set@load at hook{before}{#1.\@pkgextension}}
-\newcommand*{\bidi at AfterPackage}{%
- \@ifstar {\@s at bidi@AfterPackage}{%
- \@ifnextchar +\@@bidi at AfterPackage{%
- \@ifnextchar !\@@@bidi at AfterPackage\@bidi at AfterPackage
- }%
- }%
+\newcommand*{\bidi at UnReplacePackage}[1]{%
+ \undeclare at file@substitution{#1.\@pkgextension}%
}
-\newcommand*{\@@@bidi at AfterPackage}[2]{%
- \begingroup\ifx\csname #2.\@pkgextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterPackage
- \else
- \aftergroup\bidi at AfterAtEndOfPackage
- \fi
- \endgroup{#2}%
+\newcommand*{\bidi at ReplaceClass}[2]{%
+ \declare at file@substitution{#1.\@clsextension}{#2.\@clsextension}%
}
-\newcommand*{\bidi at AfterAtEndOfPackage}[1]{%
- \bidi at set@load at hook{lateafter}{#1.\@pkgextension}}
-\newcommand*{\@@bidi at AfterPackage}[2]{%
- \begingroup
- \expandafter\ifx\csname #2.\@pkgextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterPackage
- \else
- \aftergroup\@bidi at AfterPackage
- \fi
- \endgroup{#2}%
+\newcommand*{\bidi at UnReplaceClass}[1]{%
+ \undeclare at file@substitution{#1.\@clsextension}%
}
-\newcommand*{\@bidi at AfterPackage}[1]{%
- \bidi at set@load at hook{after}{#1.\@pkgextension}}
-\newcommand*{\@s at bidi@AfterPackage}[1]{%
- \begingroup
- \@ifpackageloaded{#1}{%
- \aftergroup\@secondoftwo
- }{%
- \aftergroup\@bidi at AfterPackage
- }%
- \endgroup
- {#1}%
+\newcommand*{\bidi at BeforeFile}[1]{%
+ \AddToHook{file/#1/before}%
}
-
-\newcommand*{\bidi at excludedpackages}{}
-\let\bidi at excludedpackages\@empty
-\newcommand*{\bidi at saved@RequirePackage}{}
-\newcommand*{\bidi at PreventPackageFromLoading}{%
- \@ifstar{\@bidi at PreventPackageFromLoading\PackageInfo}%
- {\@bidi at PreventPackageFromLoading\PackageWarning}%
+\newcommand*{\bidi at AfterFile}[1]{%
+ \AddToHook{file/#1/after}%
}
-\newcommand*{\@bidi at PreventPackageFromLoading}[1]{%
- \@ifnextchar [%]
- {\@@bidi at PreventPackageFromLoading#1}{\@@bidi at PreventPackageFromLoading#1[]}%
+\newcommand*{\bidi at BeforeClass}[1]{%
+ \bidi at BeforeFile{#1.\@clsextension}%
}
-\newcommand*{\@@bidi at PreventPackageFromLoading}{}
-
-\def\@@bidi at PreventPackageFromLoading#1[#2]#3{%
- \edef\reserved at b{\zap at space#3 \@empty}%
- \ifx \reserved at b\@empty
- #1{biditools}{%
- \string\bidi at PreventPackageFromLoading\space with empty packages\MessageBreak
- argument ignored%
- }%
- \else
- \ifx\bidi at excludedpackages\@empty
- \let\bidi at saved@RequirePackage\RequirePackage
- \let\RequirePackage\bidi at RequirePackage
- \def\reserved at a##1##{%
- \@latex at error
- {\noexpand \usepackage before \string\documentclass}%
- {\noexpand \usepackage may only appear in the document
- preamble, i.e.,\MessageBreak
- between \noexpand\documentclass and
- \string\begin{document}.}%
- \@gobble}%
- \ifx\reserved at a\usepackage\else
- \ifx\usepackage\bidi at saved@RequirePackage\else
- \PackageWarning{biditools}{%
- Maybe serious problem: unexpected definition of\MessageBreak
- \string\usepackage
- }%
- \fi
- \let\usepackage\RequirePackage
- \fi
- \fi
- \expandafter\@for \expandafter\reserved at a\expandafter:\expandafter=%
- \reserved at b\do {%
- \ifx\reserved at a\@empty
- #1{biditools}{%
- empty package argument for
- \string\bidi at PreventPackageFromLoading\MessageBreak
- ignored%
- }%
- \else
- \expandafter\@ifpackageloaded\expandafter{\reserved at a}{%
- #1{biditools}{%
- package `\reserved at a' already loaded.\MessageBreak
- Cannot prevent it from beeing loaded%
- }%
- }{%
- \edef\bidi at excludedpackages{\bidi at excludedpackages,%
- \reserved at a}%
- \if\relax\detokenize{#2}\relax\else
- \@ifundefined{bidi at exclude@package@\reserved at a @do}{%
- \@namedef{bidi at exclude@package@\reserved at a @do}{}%
- }{}%
- \expandafter\def
- \csname bidi at exclude@package@\reserved at a
- @do\expandafter\expandafter\expandafter\endcsname
- \expandafter\expandafter\expandafter{%
- \csname bidi at exclude@package@\reserved at a @do\endcsname
- #2%
- }%
- \fi
- }%
- \fi
- }%
- \ifx\bidi at excludedpackages\@empty
- \bidi at ResetPreventPackageFromLoading
- \fi
- \fi
+\newcommand*{\bidi at BeforePackage}[1]{%
+ \bidi at BeforeFile{#1.\@pkgextension}%
}
-\@onlypreamble\bidi at PreventPackageFromLoading
-\newcommand*{\bidi at ResetPreventPackageFromLoading}{%
- \let\bidi at excludedpackages\@empty
- \ifx\RequirePackage\bidi at RequirePackage
- \ifx\usepackage\RequirePackage
- \let\usepackage\bidi at saved@RequirePackage
- \fi
- \let\RequirePackage\bidi at saved@RequirePackage
- \fi
-}
-\@onlypreamble\bidi at ResetPreventPackageFromLoading
-\newcommand*{\bidi at StorePreventPackageFromLoading}[1]{%
- \let#1\bidi at excludedpackages
-}
-\@onlypreamble\bidi at StorePreventPackageFromLoading
-\newcommand*{\bidi at UnPreventPackageFromLoading}{%
- \@ifstar {\@tempswatrue\@bidi at UnPreventPackageFromLoading}%
- {\@tempswafalse\@bidi at UnPreventPackageFromLoading}%
-}
-
-\newcommand*{\@bidi at UnPreventPackageFromLoading}[1]{%
- \edef\reserved at b{\zap at space#1 \@empty}%
- \if at tempswa
- \@for\reserved at a:=\reserved at b\do {%
- \ifx\reserved at a\@empty \else
- \ifcsname bidi at exclude@package@\reserved at a @do\endcsname
- \expandafter\let
- \csname bidi at exclude@package@\reserved at a @do\endcsname
- \undefined
- \fi
- \fi
- }%
- \fi
- \ifcsname bidi at excludedpackages\endcsname
- \let\reserved at a\bidi at excludedpackages
- \let\bidi at excludedpackages\@empty
- \expandafter\@for\expandafter\reserved at c
- \expandafter:\expandafter=\reserved at a
- \do{%
- \ifx\reserved at c\@empty\else
- \@expandtwoargs\in@{,\reserved at c,}{,\reserved at b,}%
- \ifin@
- \else
- \edef\bidi at excludedpackages{%
- \bidi at excludedpackages,\reserved at c
- }%
- \fi
- \fi
- }%
- \ifx\bidi at excludedpackages\@empty\bidi at ResetPreventPackageFromLoading\fi
- \fi
-}
-
-
-\newcommand*{\bidi at RequirePackage}[2][]{%
- \let\reserved at c\@empty
- \let\reserved at d\@empty
- \edef\reserved at b{\zap at space#2 \@empty}%
- \expandafter\@for\expandafter\reserved at b\expandafter:\expandafter=\reserved at b
- \do {%
- \begingroup
- \@tempswatrue
- \@for\reserved at a:=\bidi at excludedpackages\do {%
- \ifx\reserved at a\reserved at b
- \@tempswafalse
- \fi
- }%
- \if at tempswa
- \xdef\reserved at c{\reserved at c,\reserved at b}%
- \else
- \ifx\reserved at b\@empty\else
- \PackageInfo{biditools}{Excluding package `\reserved at b'\MessageBreak
- from loading}%
- \@ifundefined{bidi at exclude@package@\reserved at b @do}{%
- }{%
- \expandafter\g at addto@macro\expandafter\reserved at d
- \csname bidi at exclude@package@\reserved at b @do\endcsname
- }%
- \fi
- \fi
- \endgroup
- }%
- \ifx\reserved at c\@empty
- \let\reserved at a\bidi at gobbleopt
- \else
- \edef\reserved at a{\noexpand\bidi at saved@RequirePackage[#1]{%
- \expandafter\@gobble\reserved at c\@empty}}%
- \fi
- \expandafter\reserved at d
- \reserved at a
-}
-
-\newcommand{\bidi at gobbleopt}[1][]{}
-\AtEndDocument{%
- \let\bidi at saved@checkend=\@checkend
- \renewcommand*{\@checkend}[1]{%
- \def\reserved at a{#1}\def\reserved at b{document}%
- \bidi at saved@checkend{#1}%
- \ifx\reserved at a\reserved at b
- \let\bidi at saved@clearpage=\clearpage
- \renewcommand*{\clearpage}{\bidi at saved@clearpage
- \bidi at hook@bcma
- \bidi at restore@newpage
- \let\clearpage=\bidi at saved@clearpage}%
- \fi%
- \let\bidi at saved@dofilelist\@dofilelist
- \def\@dofilelist{%
- \bidi at hook@acma
- \let\@dofilelist\bidi at saved@dofilelist
- \bidi at saved@dofilelist
- }%
- }%
-}
-
-
-\newcommand*{\bidi at saved@checkend}{}
-\newcommand*{\bidi at saved@dofilelist}{}
-\newcommand*{\bidi at redefine@newpage}{%
- \let\bidi at saved@newpage\newpage
- \def\bidi at restore@newpage{%
- \renewcommand*{\newpage}{%
- \PackageWarningNoLine{%
- biditools%
- }{%
- \string\newpage\space at main aux file!\MessageBreak
- You have output material at the main aux file.\MessageBreak
- Note, that the \string\bidi at BeforeClosingMainAux\space commands\MessageBreak
- are processed before the output from aux file%
- }%
- \let\newpage\bidi at saved@newpage
- \newpage
- }%
- }%
- \renewcommand*{\newpage}{%
- \PackageError{%
- biditools%
- }{%
- \string\newpage\space at \string\bidi at BeforeClosingMainAux
- }{%
- You should never use \string\newpage\space or
- \string\clear(double)page or other output material at the\MessageBreak
- argument of \string\bidi at BeforeClosingMainAux!\MessageBreak
- If you'll continue, the \string\newpage\space will be ignored to
- avoid corruption of\MessageBreak
- every prior use of \string\bidi at BeforeClosingMainAux.
- }%
- }%
-}
-
-\newcommand*{\bidi at restore@newpage}{}
-\newcommand*{\bidi at hook@bcma}{}
-\newcommand*{\bidi at hook@acma}{}
-\newcommand*{\bidi at BeforeClosingMainAux}{%
- \ifx\bidi at hook@bcma\@empty
- \gdef\bidi at hook@bcma{%
- \renewcommand*{\bidi at BeforeClosingMainAux}[1]{####1}%
- \let\protected at write\bidi at protected@immediate at write
- \bidi at redefine@newpage
- }%
- \fi
- \g at addto@macro\bidi at hook@bcma%
-}
-
-\newcommand*{\bidi at AfterReadingMainAux}{%
- \ifx\bidi at hook@acma\@empty
- \gdef\bidi at hook@acma{%
- \renewcommand*{\bidi at AfterReadingMainAux}[1]{####1}%
- \let\protected at write\bidi at protected@immediate at write
- }%
- \fi
- \g at addto@macro\bidi at hook@acma%
-}
-
\long\def\bidi at protected@immediate at write#1#2#3{%
\begingroup
#2%
@@ -7991,79 +7819,126 @@
\if at nobreak\ifvmode\nobreak\fi\fi
}
-\def\bidi at patch@counter{0}%
-\if at bidi@csundef{numexpr}{%
- \def\bidi at patch@stepcounter{%
- \begingroup
- \count@\bidi at patch@counter\relax
- \advance\count@\@ne\relax
- \edef\x{\endgroup
- \noexpand\def\noexpand\bidi at patch@counter{\the\count@}%
- }%
- \x
- }%
-}{%
- \def\bidi at patch@stepcounter{%
- \edef\bidi at patch@counter{%
- \the\numexpr\bidi at patch@counter+\@ne\relax
- }%
- }%
-}
-\def\bidi at patch@list{}
-\def\bidi at patch@Add{%
- \bidi at appto\bidi at patch@list
-}
\def\bidi at patch@AfterPackage#1{%
\@ifpackageloaded{#1}{%
\@firstofone
}{%
- \@bidi at patch@AfterPackage{#1}%
+ \AddToHook{package/#1/after}%
}%
}
-\def\@bidi at patch@AfterPackage#1{%
- \edef\bidi at patch@temp{#1}%
- \bidi at patch@stepcounter
- \expandafter\bidi at patch@@AfterPackage
- \csname @bidi at patch@\bidi at patch@counter\expandafter\endcsname{%
- \bidi at patch@temp
- }%
-}
-\def\bidi at patch@@AfterPackage#1#2#3{%
- \begingroup
- \toks@{#3}%
- \xdef\bidi at patch@gtemp{%
- \noexpand\@ifpackageloaded{#2}{%
- \noexpand\let\noexpand#1\noexpand\relax
- \the\toks@
- }{}%
- }%
- \endgroup
- \let#1\bidi at patch@gtemp
- \bidi at patch@Add#1%
- \bidi at patch@try{bidi at AfterPackage}{#2}#1%
-}
-\def\bidi at patch@try#1#2#3{%
- \if at bidi@csundef{#1}{}{%
- \csname #1\endcsname{#2}{#3}%
+\def\bidi at patch@AfterFile#1{%
+ \IfFileLoadedTF{#1}{%
+ \@firstofone
+ }{%
+ \AddToHook{file/#1/after}%
}%
}
-\AtBeginDocument{\bidi at patch@list}
+\NewDocumentCommand \ApplyPatchToFile { m O{def} O{bidi} }
+ {
+ \bidi at patch@AfterFile{#1.#2}{%
+ \ifnum\catcode`\@=11
+ \input{#1-xetex-#3.def}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \input{#1-xetex-#3.def}%
+ \bidi at restorecatcode\@
+ \fi
+ }%
+ }
+
+\NewDocumentCommand \ApplyPatchCodeToFile { m +m O{def} }
+ {
+ \bidi at patch@AfterFile{#1.#3}{#2}%
+ }
+
+\NewDocumentCommand \ApplyPatchToFilesIfPackageLoadedF { m m O{def} O{bidi} }
+ {
+ \AddToHook{begindocument/before}{%
+ \IfPackageLoadedF{#1}{%
+ \ApplyPatchToFiles{#2}[#3][#4]%
+ }%
+ }
+ }
+
+\NewDocumentCommand \ApplyPatchToClassIfPackageLoadedF { m m O{bidi} }
+ {
+ \AddToHook{begindocument/before}{%
+ \IfPackageLoadedF{#2}{%
+ \ifnum\catcode`\@=11
+ \@ifclassloaded{#1}{%
+ \input{#1-xetex-#3.def}%
+ }{}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \@ifclassloaded{#1}{%
+ \input{#1-xetex-#3.def}%
+ }{}%
+ \bidi at restorecatcode\@
+ \fi
+ }%
+ }
+ }
+
+\NewDocumentCommand \ApplyPatchToPackageIfPackageLoadedF { m m O{bidi} }
+ {
+ \AddToHook{begindocument/before}{%
+ \IfPackageLoadedF{#2}{%
+ \IfPackageLoadedT{#1}{%
+ \ifnum\catcode`\@=11
+ \input{#1-xetex-#3.def}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \input{#1-xetex-#3.def}%
+ \bidi at restorecatcode\@
+ \fi
+ }%
+ }%
+ }
+ }
+
+\NewDocumentCommand \ApplyPatchIfPackageLoaded { m +m +m }
+ {
+ \AddToHook{begindocument/before}{%
+ \ifnum\catcode`\@=11
+ \@ifpackageloaded{#1}{#2}{#3}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \@ifpackageloaded{#1}{#2}{#3}%
+ \bidi at restorecatcode\@
+ \fi
+ }
+ }
+
+\NewDocumentCommand \ApplyPatchIfPackageLoadedT { m +m }
+ {
+ \ApplyPatchIfPackageLoaded{#1}{#2}{}%
+ }
+
+\NewDocumentCommand \ApplyPatchIfPackageLoadedF { m +m }
+ {
+ \ApplyPatchIfPackageLoaded{#1}{}{#2}%
+ }
-\bidi at AtEndPreamble{\bidi at patch@list}%
+\NewDocumentCommand \ApplyPatchToPackage { m O{bidi} }
+ {
+ \bidi at patch@AfterPackage{#1}{\input{#1-xetex-#2.def}}%
+ }
-\bidi at AfterEndPreamble{%
- \let\bidi at patch@OrgIfPackageLoaded\@ifpackageloaded
- \let\bidi at patch@OrgIfPackageLater\@ifpackagelater
- \let\bidi at patch@OrgIfClassLoaded\@ifclassloaded
- \let\bidi at patch@OrgIfClassLater\@ifclasslater
- \bidi at patch@list
- \let\@ifpackageloaded\bidi at patch@OrgIfPackageLoaded
- \let\@ifpackagelater\bidi at patch@OrgIfPackageLater
- \let\@ifclassloaded\bidi at patch@OrgIfClassLoaded
- \let\@ifclasslater\bidi at patch@OrgIfClassLater
-}%
+\NewDocumentCommand \ApplyPatchCodeToPackage { m +m }
+ {
+ \bidi at patch@AfterPackage{#1}{#2}%
+ }
+
+\NewDocumentCommand \ApplyPatchToClass { m O{bidi} }
+ {
+ \@ifclassloaded{#1}{\input{#1-xetex-#2.def}}{}%
+ }
% \end{macrocode}
% \iffalse
%</biditools.sty>
@@ -8072,7 +7947,7 @@
% \section{File \texttt{bidituftefloat.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bidituftefloat}[2017/05/19 v0.2
+\ProvidesPackage{bidituftefloat}[2025/01/03 v0.3
bidi implementation of tufte float]
\RequirePackage{xifthen}
\newcommand{\@bidituftefloat at pkgname}{bidituftefloat}
@@ -8098,7 +7973,7 @@
\setboolean{@bidituftefloat at twoside}{false}%
\setboolean{@bidituftefloat at symmetric}{false}%
}
-\@ifclassloaded{book}{\ExecuteOptions{twoside}}{}
+\IfClassLoadedT{book}{\ExecuteOptions{twoside}}
\newboolean{@bidituftefloat at debug}
\newcommand*{\@bidituftefloat at caption@justification}{\@bidituftefloat at justification@autodetect}
\ProcessOptions
@@ -10530,7 +10405,7 @@
%\fi
% \section{File \texttt{book-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{book-xetex-bidi.def}[2017/06/09 v1.0 bidi adaptations for standard book class for XeTeX engine]
+\ProvidesFile{book-xetex-bidi.def}[2025/01/03 v1.1 bidi adaptations for standard book class for XeTeX engine]
\renewenvironment{theindex}
{\if at twocolumn
\@restonecolfalse
@@ -10546,7 +10421,7 @@
\parskip\z@ \@plus .3\p@\relax
\let\item\@idxitem}
{\if at restonecol\onecolumn\else\clearpage\fi}
-\@ifclassloaded{bookest}{}{%
+\IfClassLoadedF{bookest}{%
\if at titlepage
\renewcommand\maketitle{\begin{titlepage}%
\let\footnotesize\small
@@ -10997,7 +10872,9 @@
%\fi
% \section{File \texttt{crop-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{crop-xetex-bidi.def}[2013/04/10 v0.2 bidi adaptations for crop package for XeTeX engine]
+\ProvidesFile{crop-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for crop package for XeTeX engine]
+\IfClassLoadedT{memoir}{\endinput}
+\RequirePackage{graphicx}
\renewcommand*\CROP@@ulc{%
\if at RTLmain%
\begin{picture}(0,0)
@@ -12756,7 +12633,7 @@
%\fi
% \section{File \texttt{extrafootnotefeatures-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2023/08/02 v2.6 bidi extra footnote features for XeTeX engine]
+\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2025/01/03 v2.7 bidi extra footnote features for XeTeX engine]
\newdimen\bidi at columnwidth
\def\bidi at floathook{%
\bidi at columnwidth\columnwidth
@@ -12979,7 +12856,7 @@
\@bidi at after@Hy at hyperfootnotes
\@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
}
-\@ifclassloaded{memoir}{\let\plainfootnotes\normalfootnotes}{}
+\IfClassLoadedT{memoir}{\let\plainfootnotes\normalfootnotes}
\bidi at ensure@newcommand*{\setSingleSpace}[1]{%
\def\m at m@singlespace{#1}%
\def\m at m@footnote at spacing{#1}%
@@ -16931,7 +16808,8 @@
%\fi
% \section{File \texttt{floatrow-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{floatrow-xetex-bidi.def}[2013/04/08 v0.1 bidi adaptations for floatrow package for XeTeX engine]
+\ProvidesFile{floatrow-xetex-bidi.def}[2025/01/03 v0.2 bidi adaptations for floatrow package for XeTeX engine]
+\RequirePackage{color}
\renewcommand\flnew at within[1]{\@addtoreset{\FB at captype}{#1}%
\expandafter\edef\csname the\FB at captype\endcsname{%
\expandafter\noexpand\csname
@@ -16943,7 +16821,7 @@
%\fi
% \section{File \texttt{flowfram-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{flowfram-xetex-bidi.def}[2018/09/29 v0.5 bidi adaptations for flowfram package for XeTeX engine]
+\ProvidesFile{flowfram-xetex-bidi.def}[2025/01/03 v0.6 bidi adaptations for flowfram package for XeTeX engine]
\def\@outputdblcol{%
\@nxtcol=\c at thisframe
\c at curpg=\c at page
@@ -17062,7 +16940,7 @@
{\csname colheight\romannumeral#1\endcsname}{%
\expandafter\box\csname column\romannumeral#1\endcsname}%
}}}
-\@ifclassloaded{book}{%
+\IfClassLoadedT{book}{%
\renewcommand\theequation
{\ifnum \c at chapter>\z@ \thechapter\@SepMark\fi \@arabic\c at equation}
\renewcommand \thefigure
@@ -17074,8 +16952,8 @@
\renewcommand\thesubsection {\thesection\@SepMark\@arabic\c at subsection}
\renewcommand\thesubsubsection{\thesubsection \@SepMark\@arabic\c at subsubsection}
\renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c at paragraph}
-\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}{}
-\@ifclassloaded{report}{%
+\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}
+\IfClassLoadedT{report}{%
\renewcommand\theequation
{\ifnum \c at chapter>\z@ \thechapter\@SepMark\fi \@arabic\c at equation}
\renewcommand \thefigure
@@ -17087,7 +16965,7 @@
\renewcommand\thesubsection {\thesection\@SepMark\@arabic\c at subsection}
\renewcommand\thesubsubsection{\thesubsection \@SepMark\@arabic\c at subsubsection}
\renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c at paragraph}
-\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}{}
+\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}
\renewcommand{\rotateframe}[2]{\if at ttb@rotate
\rotatebox{#1}{\if at RTL\beginL\fi#2\if at RTL\endL\fi}%
\else
@@ -18448,7 +18326,7 @@
%\fi
% \section{File \texttt{hyperref-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{hyperref-xetex-bidi.def}[2018/11/11 v1.1 bidi adaptations for hyperref package for XeTeX engine]
+\ProvidesFile{hyperref-xetex-bidi.def}[2025/01/03 v1.2 bidi adaptations for hyperref package for XeTeX engine]
\AtBeginDocument{%
\def\contentsline#1#2#3#4{%
\ifx\\#4\\%
@@ -18598,7 +18476,7 @@
\fi
}%
}%
- \@ifpackageloaded{tabularx}{%
+ \ApplyPatchCodeToPackage{tabularx}{%
\let\HyOrg at TX@endtabularx\TX at endtabularx
\def\Hy at tabularx@hook{%
\let\@footnotetext\H@@footnotetext
@@ -18617,8 +18495,8 @@
}%
\endgroup
\let\TX at endtabularx\Hy at gtemp
- }{}%
- \@ifpackageloaded{longtable}{%
+ }%
+ \ApplyPatchCodeToPackage{longtable}{%
\CheckCommand*{\LT at p@LTRftntext}[1]{%
\edef\@tempa{%
\the\LT at p@ftn
@@ -18695,8 +18573,8 @@
\fi
}%
}%
- }{}%
- \@ifpackageloaded{bidipoem}{%
+ }%
+ \ApplyPatchCodeToPackage{bidipoem}{%
\long\def\bidipoem at p@ftntext#1{%
\edef\@tempx{%
\the\bidipoem at p@ftn
@@ -18790,7 +18668,7 @@
\fi
}%
}%
- }{}%
+ }%
\let\HyOrg at maketitle\maketitle
\def\maketitle{%
\let\Hy at saved@footnotemark\@footnotemark
@@ -18995,7 +18873,7 @@
\def\XeTeX{Xe\TeX}%
\def\XeLaTeX{Xe\LaTeX}%
}
-\@ifpackageloaded{longtable}{%
+\ApplyPatchCodeToPackage{longtable}{%
\begingroup
\def\y{\LT at array}%
\@ifundefined{scr at LT@array}{%
@@ -19025,7 +18903,7 @@
}%
}%
\expandafter\x\LT at start\@nil
-}{}
+}
\bidi at patchcmd\@TextField{%
\@pdfm at mark
}{%
@@ -19312,7 +19190,7 @@
%\fi
% \section{File \texttt{listings-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{listings-xetex-bidi.def}[2018/09/15 v1.5 bidi adaptations for listings package for XeTeX engine]
+\ProvidesFile{listings-xetex-bidi.def}[2025/01/03 v1.6 bidi adaptations for listings package for XeTeX engine]
\lst at Key{captiondirection}{textdirection}{%
\lstKV at SwitchCases{#1}%
{textdirection:\\%
@@ -19392,7 +19270,7 @@
\endgroup%
}{}{}%
}
-\@ifpackageloaded{caption}{%
+\ApplyPatchIfPackageLoaded{caption}{%
\AtBeginCaption{%
\bidi at lst@ensure at caption@script{\@nonlatintrue}{\@nonlatinfalse}%
\bidi at lst@ensure at caption@direction{\@RTLfalse}{\@RTLtrue}%
@@ -19419,312 +19297,11 @@
% \end{macrocode}
% \iffalse
%</listings-xetex-bidi.def>
-%<*loadingorder-xetex-bidi.def>
-%\fi
-% \section{File \texttt{loadingorder-xetex-bidi.def}}
-% \begin{macrocode}
-\ProvidesFile{loadingorder-xetex-bidi.def}[2024/12/08 v0.99 making sure that bidi is the last package loaded]
-\bidi at isloaded{amsmath}
-\bidi at isloaded{amstext}
-\bidi at isloaded{amsthm}
-\bidi at isloaded{animate}
-\bidi at isloaded{breqn}
-\bidi at isloaded{cals}
-\bidi at isloaded{caption}
-\bidi at isloaded{crop}
-\bidi at isloaded{cuted}
-\bidi at isloaded{cutwin}
-\bidi at isloaded{color}
-\bidi at isloaded{dblfnote}
-\bidi at isloaded{diagbox}
-\bidi at isloaded{xcolor}
-\bidi at isloaded{colortbl}
-\bidi at isloaded{float}
-\bidi at isloaded{floatrow}
-\bidi at isloaded{flowfram}
-\bidi at isloaded{framed}
-\bidi at isloaded{ftnright}
-\bidi at isloaded{xltxtra}
-\bidi at isloaded{xunicode}
-\bidi at isloaded{wrapfig}
-\bidi at isloaded{graphicx}
-\bidi at isloaded{geometry}
-\bidi at isloaded{hvfloat}
-\bidi at isloaded{mdframed}
-\bidi at isloaded{midfloat}
-\bidi at isloaded{ntheorem}
-\bidi at isloaded{ntheorem-hyper}
-\bidi at isloaded{hyperref}
-\bidi at isloaded{fancybox}
-\bidi at isloaded{fancyhdr}
-\bidi at isloaded{fix2col}
-\bidi at isloaded{draftwatermark}
-\bidi at isloaded{empheq}
-\bidi at isloaded{overpic}
-\bidi at isloaded{pdfpages}
-\bidi at isloaded{listings}
-\bidi at isloaded{lettrine}
-\bidi at isloaded{lineno}
-\bidi at isloaded{media9}
-\bidi at isloaded{pstricks}
-\bidi at isloaded{pgf}
-\bidi at isloaded{picinpar}
-\bidi at isloaded{quotchap}
-\bidi at isloaded{tikz}
-\bidi at isloaded{titlesec}
-\bidi at isloaded{titletoc}
-\bidi at isloaded{array}
-\bidi at isloaded{soul}
-\bidi at isloaded{stabular}
-\bidi at isloaded{subfig}
-\bidi at isloaded{subfigure}
-\bidi at isloaded{supertabular}
-\bidi at isloaded{xtab}
-\bidi at isloaded{longtable}
-\bidi at isloaded{arydshln}
-\bidi at isloaded{multicol}
-\bidi at isloaded{multienum}
-\bidi at isloaded{minitoc}
-\bidi at isloaded{natbib}
-\bidi at isloaded{newfloat}
-\bidi at isloaded{ragged2e}
-\bidi at isloaded{rotating}
-\bidi at isloaded{tabls}
-\bidi at isloaded{tabulary}
-\bidi at isloaded{tocbasic}
-\bidi at isloaded{tocstyle}
-\bidi at isloaded{tocbibind}
-\bidi at isloaded{fontspec}
-\bidi at isloaded{arabxetex}
-\bidi at isloaded{polyglossia}
-\bidi at isloaded{fancyvrb}
-\AtBeginDocument{
- \if at bidi@amsmathloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package amsmath after bidi package. Please load package amsmath before bidi package, and then try to run xelatex on your document again}{}]{amsmath}
- \fi%
- \if at bidi@amstextloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package amstext after bidi package. Please load package amstext before bidi package, and then try to run xelatex on your document again}{}]{amstext}
- \fi%
- \if at bidi@amsthmloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package amsthm after bidi package. Please load package amsthm before bidi package, and then try to run xelatex on your document again}{}]{amsthm}
- \fi%
- \if at bidi@animateloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package animate after bidi package. Please load package animate before bidi package, and then try to run xelatex on your document again}{}]{animate}
- \fi%
- \if at bidi@breqnloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package breqn after bidi package. Please load package breqn before bidi package, and then try to run xelatex on your document again}{}]{breqn}
- \fi%
- \if at bidi@calsloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package cals after bidi package. Please load package cals before bidi package, and then try to run xelatex on your document again}{}]{cals}
- \fi%
- \if at bidi@captionloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package caption after bidi package. Please load package caption before bidi package, and then try to run xelatex on your document again}{}]{caption}
- \fi%
- \if at bidi@croploaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package crop after bidi package. Please load package crop before bidi package, and then try to run xelatex on your document again}{}]{crop}
- \fi%
- \if at bidi@colorloaded@\else
- \@ifpackageloaded{hyperref}{}{%
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package color after bidi package. Please load package color before bidi package, and then try to run xelatex on your document again}{}]{color}}
- \fi%
- \if at bidi@cutwinloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package cutwin after bidi package. Please load package cutwin before bidi package, and then try to run xelatex on your document again}{}]{cutwin}
- \fi%
- \if at bidi@cutedloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package cuted after bidi package. Please load package cuted before bidi package, and then try to run xelatex on your document again}{}]{cuted}
- \fi%
- \if at bidi@dblfnoteloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package dblfnote after bidi package. Please load package dblfnote before bidi package, and then try to run xelatex on your document again}{}]{dblfnote}
- \fi%
- \if at bidi@diagboxloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package diagbox after bidi package. Please load package diagbox before bidi package, and then try to run xelatex on your document again}{}]{diagbox}
- \fi%
- \if at bidi@xcolorloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xcolor after bidi package. Please load package xcolor before bidi package, and then try to run xelatex on your document again}{}]{xcolor}
- \fi%
- \if at bidi@colortblloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package colortbl after bidi package. Please load package colortbl before bidi package, and then try to run xelatex on your document again}{}]{colortbl}
- \fi%
- \if at bidi@floatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package float after bidi package. Please load package float before bidi package, and then try to run xelatex on your document again}{}]{float}
- \fi%
- \if at bidi@floatrowloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package floatrow after bidi package. Please load package floatrow before bidi package, and then try to run xelatex on your document again}{}]{floatrow}
- \fi%
- \if at bidi@flowframloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package flowfram after bidi package. Please load package flowfram before bidi package, and then try to run xelatex on your document again}{}]{flowfram}
- \fi%
- \if at bidi@framedloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package framed after bidi package. Please load package framed before bidi package, and then try to run xelatex on your document again}{}]{framed}
- \fi%
- \if at bidi@ftnrightloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package ftnright after bidi package. Please load package ftnright before bidi package, and then try to run xelatex on your document again}{}]{ftnright}
- \fi%
- \if at bidi@xltxtraloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xltxtra after bidi package. Please load package xltxtra before bidi package, and then try to run xelatex on your document again}{}]{xltxtra}
- \fi%
- \if at bidi@xunicodeloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xunicode after bidi package. Please load package xunicode before bidi package, and then try to run xelatex on your document again}{}]{xunicode}
- \fi%
- \if at bidi@wrapfigloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package wrapfig after bidi package. Please load package wrapfig before bidi package, and then try to run xelatex on your document again}{}]{wrapfig}
- \fi%
- \if at bidi@graphicxloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package graphicx after bidi package. Please load package graphicx before bidi package, and then try to run xelatex on your document again}{}]{graphicx}
- \fi%
- \if at bidi@geometryloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package geometry after bidi package. Please load package geometry before bidi package, and then try to run xelatex on your document again}{}]{geometry}
- \fi%
- \if at bidi@hvfloatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package hvfloat after bidi package. Please load package hvfloat before bidi package, and then try to run xelatex on your document again}{}]{hvfloat}
- \fi%
- \if at bidi@mdframedloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package mdframed after bidi package. Please load package mdframed before bidi package, and then try to run xelatex on your document again}{}]{mdframed}
- \fi%
- \if at bidi@midfloatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package midfloat after bidi package. Please load package midfloat before bidi package, and then try to run xelatex on your document again}{}]{midfloat}
- \fi%
- \if at bidi@ntheoremloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package ntheorem after bidi package. Please load package ntheorem before bidi package, and then try to run xelatex on your document again}{}]{ntheorem}
- \fi%
- \if at bidi@hyperrefloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref}
- \fi%
- \if at bidi@fancyboxloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fancybox after bidi package. Please load package fancybox before bidi package, and then try to run xelatex on your document again}{}]{fancybox}
- \fi%
- \if at bidi@fancyhdrloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr}
- \fi%
- \if at bidi@draftwatermarkloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package draftwatermark after bidi package. Please load package draftwatermark before bidi package, and then try to run xelatex on your document again}{}]{draftwatermark}
- \fi%
- \if at bidi@empheqloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package empheq after bidi package. Please load package empheq before bidi package, and then try to run xelatex on your document again}{}]{empheq}
- \fi%
- \if at bidi@overpicloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package overpic after bidi package. Please load package overpic before bidi package, and then try to run xelatex on your document again}{}]{overpic}
- \fi%
- \if at bidi@pdfpagesloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package pdfpages after bidi package. Please load package pdfpages before bidi package, and then try to run xelatex on your document again}{}]{pdfpages}
- \fi%
- \if at bidi@lettrineloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package lettrine after bidi package. Please load package lettrine before bidi package, and then try to run xelatex on your document again}{}]{lettrine}
- \fi
- \if at bidi@linenoloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package lineno after bidi package. Please load package lineno before bidi package, and then try to run xelatex on your document again}{}]{lineno}
- \fi%
- \if at bidi@listingsloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package listings after bidi package. Please load package listings before bidi package, and then try to run xelatex on your document again}{}]{listings}
- \fi%
- \csname if at bidi@media9loaded@\endcsname\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package media9 after bidi package. Please load package media9 before bidi package, and then try to run xelatex on your document again}{}]{media9}
- \fi%
- \if at bidi@pstricksloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package pstricks after bidi package. Please load package pstricks before bidi package, and then try to run xelatex on your document again}{}]{pstricks}
- \fi%
- \if at bidi@pgfloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package pgf after bidi package. Please load package pgf before bidi package, and then try to run xelatex on your document again}{}]{pgf}
- \fi%
- \if at bidi@picinparloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package picinpar after bidi package. Please load package picinpar before bidi package, and then try to run xelatex on your document again}{}]{picinpar}
- \fi%
- \if at bidi@quotchaploaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package quotchap after bidi package. Please load package quotchap before bidi package, and then try to run xelatex on your document again}{}]{quotchap}
- \fi%
- \if at bidi@tikzloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tikz after bidi package. Please load package tikz before bidi package, and then try to run xelatex on your document again}{}]{tikz}
- \fi%
- \if at bidi@titlesecloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package titlesec after bidi package. Please load package titlesec before bidi package, and then try to run xelatex on your document again}{}]{titlesec}
- \fi%
- \if at bidi@titletocloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package titletoc after bidi package. Please load package titletoc before bidi package, and then try to run xelatex on your document again}{}]{titletoc}
- \fi%
- \if at bidi@arrayloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package array after bidi package. Please load package array before bidi package, and then try to run xelatex on your document again}{}]{array}
- \fi%
- \if at bidi@stabularloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package stabular after bidi package. Please load package stabular before bidi package, and then try to run xelatex on your document again}{}]{stabular}
- \fi%
- \if at bidi@soulloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package soul after bidi package. Please load package soul before bidi package, and then try to run xelatex on your document again}{}]{soul}
- \fi%
- \if at bidi@subfigloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package subfig after bidi package. Please load package subfig before bidi package, and then try to run xelatex on your document again}{}]{subfig}
- \fi%
- \if at bidi@subfigureloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package subfigure after bidi package. Please load package subfigure before bidi package, and then try to run xelatex on your document again}{}]{subfigure}
- \fi%
- \if at bidi@supertabularloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package supertabular after bidi package. Please load package supertabular before bidi package, and then try to run xelatex on your document again}{}]{supertabular}
- \fi%
- \if at bidi@xtabloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xtab after bidi package. Please load package xtab before bidi package, and then try to run xelatex on your document again}{}]{xtab}
- \fi%
- \if at bidi@longtableloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package longtable after bidi package. Please load package longtable before bidi package, and then try to run xelatex on your document again}{}]{longtable}
- \fi%
- \if at bidi@arydshlnloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package arydshln after bidi package. Please load package arydshln before bidi package, and then try to run xelatex on your document again}{}]{arydshln}
- \fi%
- \if at bidi@multicolloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package multicol after bidi package. Please load package multicol before bidi package, and then try to run xelatex on your document again}{}]{multicol}
- \fi%
- \if at bidi@multienumloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package multienum after bidi package. Please load package multienum before bidi package, and then try to run xelatex on your document again}{}]{multienum}
- \fi%
- \if at bidi@minitocloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package minitoc after bidi package. Please load package minitoc before bidi package, and then try to run xelatex on your document again}{}]{minitoc}
- \fi%
- \if at bidi@natbibloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package natbib after bidi package. Please load package natbib before bidi package, and then try to run xelatex on your document again}{}]{natbib}
- \fi%
- \if at bidi@newfloatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package newfloat after bidi package. Please load package newfloat before bidi package, and then try to run xelatex on your document again}{}]{newfloat}
- \fi%
- \csname if at bidi@ragged2eloaded@\endcsname\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package ragged2e after bidi package. Please load package ragged2e before bidi package, and then try to run xelatex on your document again}{}]{ragged2e}
- \fi%
- \if at bidi@rotatingloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package rotating after bidi package. Please load package rotating before bidi package, and then try to run xelatex on your document again}{}]{rotating}
- \fi%
- \if at bidi@tablsloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tabls after bidi package. Please load package tabls before bidi package, and then try to run xelatex on your document again}{}]{tabls}
- \fi%
- \if at bidi@tabularyloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tabulary after bidi package. Please load package tabulary before bidi package, and then try to run xelatex on your document again}{}]{tabulary}
- \fi%
- \if at bidi@tocbasicloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tocbasic after bidi package. Please load package tocbasic before bidi package, and then try to run xelatex on your document again}{}]{tocbasic}
- \fi%
- \if at bidi@tocstyleloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tocstyle after bidi package. Please load package tocstyle before bidi package, and then try to run xelatex on your document again}{}]{tocstyle}
- \fi%
- \if at bidi@tocbibindloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tocbibind after bidi package. Please load package tocbibind before bidi package, and then try to run xelatex on your document again}{}]{tocbibind}
- \fi%
- \if at bidi@fontspecloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fontspec after bidi package. Please load package fontspec before bidi package, and then try to run xelatex on your document again}{}]{fontspec}
- \fi%
- \if at bidi@arabxetexloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package arabxetex after bidi package. Please load package arabxetex before bidi package, and then try to run xelatex on your document again}{}]{arabxetex}
- \fi%
- \if at bidi@polyglossialoaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package polyglossia after bidi package. Please load package polyglossia before bidi package, and then try to run xelatex on your document again}{}]{polyglossia}
- \fi%
- \if at bidi@fancyvrbloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fancyvrb after bidi package. Please load package fancyvrb before bidi package, and then try to run xelatex on your document again}{}]{fancyvrb}
- \fi%
-}
-% \end{macrocode}
-% \iffalse
-%</loadingorder-xetex-bidi.def>
%<*longtable-xetex-bidi.def>
%\fi
% \section{File \texttt{longtable-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{longtable-xetex-bidi.def}[2022/05/20 v0.6 bidi adaptations for longtable package for XeTeX engine]
+\ProvidesFile{longtable-xetex-bidi.def}[2025/01/03 v0.7 bidi adaptations for longtable package for XeTeX engine]
\def\LT at array[#1]#2{%
\refstepcounter{table}\stepcounter{LT at tables}%
\if l#1%
@@ -19788,7 +19365,7 @@
\fi
\endgraf\vskip\baselineskip}%
\hss}}}
-\@ifpackageloaded{caption}{%
+\ApplyPatchCodeToPackage{caption}{%
\renewcommand\LT at makecaption[3]{%
\caption at LT@make{%
\caption at LT@settype\LTcaptype
@@ -19805,7 +19382,7 @@
\caption@@make{#2}{#3}\endgraf
\caption at make@below
\caption at end}}%
-}{}
+}
\def\LT at startpbox#1{%
\bgroup\color at begingroup
\let\@footnotetext\LT at p@ftntext
@@ -19857,7 +19434,8 @@
%\fi
% \section{File \texttt{lscape-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{lscape-xetex-bidi.def}[2022/07/14 v0.2 bidi adaptations for lscape package for XeTeX engine]
+\ProvidesFile{lscape-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for lscape package for XeTeX engine]
+\RequirePackage{graphicx}
\bidi at patchcmd{\LS at rot}{\rotatebox{90}{\box\@outputbox}}{%
\if at RTL
\rotatebox[origin=br]{-90}{\box\@outputbox}%
@@ -19894,7 +19472,8 @@
%\fi
% \section{File \texttt{mathtools-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{mathtools-xetex-bidi.def}[2018/01/07 v0.1 bidi adaptations for mathtools package for XeTeX engine]
+\ProvidesFile{mathtools-xetex-bidi.def}[2025/01/03 v0.2 bidi adaptations for mathtools package for XeTeX engine]
+\RequirePackage{graphicx}
\MHInternalSyntaxOn
\def\MT_define_tagform:nwnn #1[#2]#3#4{
\@namedef{MT_tagform_#1:n}##1
@@ -19987,6 +19566,15 @@
% \end{macrocode}
% \iffalse
%</mdframed-xetex-bidi.def>
+%<*media9-xetex-bidi.def>
+%\fi
+% \section{File \texttt{media9-xetex-bidi.def}}
+% \begin{macrocode}
+\ProvidesFile{media9-xetex-bidi.def}[2025/01/03 v0.1 bidi adaptations for media9 package for XeTeX engine]
+\RequirePackage{bidi-media9}
+% \end{macrocode}
+% \iffalse
+%</media9-xetex-bidi.def>
%<*bidi-media9.sty>
%\fi
% \section{File \texttt{bidi-media9.sty}}
@@ -20580,7 +20168,7 @@
%\fi
% \section{File \texttt{memoir-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{memoir-xetex-bidi.def}[2017/06/09 v0.6 bidi adaptations for memoir class for XeTeX engine]
+\ProvidesFile{memoir-xetex-bidi.def}[2025/01/03 v0.7 bidi adaptations for memoir class for XeTeX engine]
\renewcommand{\keepthetitle}{%
\@bsmtitlempty
\global\let\thanks\relax
@@ -20690,7 +20278,7 @@
} % end of the \parbox
\fi
\vskip\belowcaptionskip}
-\@ifpackageloaded{caption}{%
+\ApplyPatchCodeToPackage{caption}{%
\AtBeginPackage{caption}{
\ClassWarningNoLine{memoir}{%
You are using the caption package with the memoir \MessageBreak
@@ -20731,7 +20319,7 @@
\normalsize
\@makecaption{\csname fnum@##1\endcsname}{\ignorespaces ##3}\par
\endgroup}
-}}{}
+}}
\renewenvironment{thebibliography}[1]{%
\bibsection
\if at RTL\if at LTRbibitems\@RTLfalse\else\fi\else\if at RTLbibitems\@RTLtrue\else\fi\fi
@@ -25464,7 +25052,8 @@
%\fi
% \section{File \texttt{sidecap-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{sidecap-xetex-bidi.def}[2010/08/01 v0.1 bidi adaptations for sidecap package for XeTeX engine]
+\ProvidesFile{sidecap-xetex-bidi.def}[2025/01/03 v0.2 bidi adaptations for sidecap package for XeTeX engine]
+\RequirePackage{ragged2e}
\renewcommand*{\SC at FLOAT}[2]{\if at RTL%
\isSC at ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}\else%
\isSC at ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}\fi}
@@ -25471,6 +25060,31 @@
\renewcommand*\SC at justify@caption{\if at RTL%
\isSC at ODD{\RaggedLeft}{\RaggedRight}\else%
\isSC at ODD{\RaggedRight}{\RaggedLeft}\fi}
+
+\@ifpackagewith{sidecap}{innercaption}{%
+\if at RTL \renewcommand*{\SC at FLOAT}[2]{%
+ \isSC at ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}}
+ \renewcommand*\SC at justify@caption{%
+ \isSC at ODD{\RaggedRight}{\RaggedLeft}}\else
+ \renewcommand*{\SC at FLOAT}[2]{%
+ \isSC at ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}}
+ \renewcommand*\SC at justify@caption{%
+ \isSC at ODD{\RaggedLeft}{\RaggedRight}}\fi
+}{}
+
+\@ifpackagewith{sidecap}{rightcaption}{%
+ \if at RTL\renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
+ \def\SC at justify@caption{\RaggedLeft}\else%
+ \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
+ \def\SC at justify@caption{\RaggedRight}\fi%
+}{}
+
+\@ifpackagewith{sidecap}{leftcaption}{%
+\if at RTL \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
+ \def\SC at justify@caption{\RaggedRight}\else%
+ \renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
+ \def\SC at justify@caption{\RaggedLeft}\fi%
+}{}
% \end{macrocode}
% \iffalse
%</sidecap-xetex-bidi.def>
@@ -25895,9 +25509,10 @@
%\fi
% \section{File \texttt{tocbibind-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{tocbibind-xetex-bidi.def}[2017/06/09 v0.4 bidi adaptations for tocbibind package for XeTeX engine]
+\ProvidesFile{tocbibind-xetex-bidi.def}[2025/01/03 v0.5 bidi adaptations for tocbibind package for XeTeX engine]
+\IfClassLoadedT{memoir}{\endinput}
\if at dotocbib
- \@ifpackageloaded{natbib}{}{% natbib not loaded
+ \ApplyPatchIfPackageLoadedF{natbib}{% natbib not loaded
\renewcommand{\bibsection}{\t at cb@bchapsec}
\renewenvironment{thebibliography}[1]{%
\bibsection
@@ -25922,9 +25537,11 @@
{\@latex at warning{Empty `thebibliography' environment}}%
\endlist}
+\ApplyPatchCodeToPackage{chapterbib}{%
\@ifpackagewith{chapterbib}{sectionbib}%
{\renewcommand{\sectionbib}[2]{}}%
- {}
+ {}%
+ }
\fi
\if at inltxdoc\else
@@ -25983,7 +25600,8 @@
%\fi
% \section{File \texttt{tocloft-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{tocloft-xetex-bidi.def}[2023/08/02 v0.3 bidi adaptations for tocloft package for XeTeX engine]
+\ProvidesFile{tocloft-xetex-bidi.def}[2025/01/03 v0.4 bidi adaptations for tocloft package for XeTeX engine]
+\IfClassLoadedT{memoir}{\endinput}
\renewcommand{\cftpnumalign}{\if at RTL l\else r\fi}
\let\cftdot\@SepMark
\if at cfthaspart
@@ -27663,7 +27281,7 @@
%\fi
% \section{File \texttt{latex-xetex-bidi.def}}
% \begin{macrocode}
-\ProvidesFile{latex-xetex-bidi.def}[2024/12/08 v1.5.1 bidi adaptations for `latex.ltx' for XeTeX engine]
+\ProvidesFile{latex-xetex-bidi.def}[2025/01/03 v1.5.2 bidi adaptations for `latex.ltx' for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate\@ne}
\newcommand{\TeXXeTOff}{\TeXXeTstate\z@}
\TeXXeTOn
@@ -27781,7 +27399,7 @@
\let\setLR=\setLTR
\let\unsetRL=\setLTR
\def\bidi at tabular@RTLcases{\let\@halignto\@empty\@bidi at tabular@RTLcases}
-\@ifpackageloaded{array}{%
+\ApplyPatchIfPackageLoaded{array}{%
\def\@bidi at tabular@RTLcases{\@RTLtabtrue%
\leavevmode
\hbox \bgroup $\left.\col at sep\tabcolsep \let\d at llarbegin\begingroup
@@ -28466,7 +28084,7 @@
\let\bidi at saved@leqno=\leqno
\def\eqno{\ifnum\predisplaydirection<\z@ \bidi at saved@leqno \else \bidi at saved@eqno \fi}
\def\leqno{\ifnum\predisplaydirection<\z@ \bidi at saved@eqno \else \bidi at saved@leqno \fi}
-\@ifpackageloaded{amsmath}{}{
+\ApplyPatchIfPackageLoadedF{amsmath}{
\def\@eqnnum{{\normalfont \normalcolor \if at RTL\beginR\fi(\theequation)\if at RTL\endR\fi}}
}
\input{footnote-xetex-bidi.def}
@@ -28479,182 +28097,163 @@
\if at bidi@csundef{@idxitem}{}{%
\renewcommand\@idxitem{\par\hangindent \if at RTL-\fi40\p@}%
}
-\@ifpackageloaded{tocbasic}{\input{tocbasic-xetex-bidi.def}}{}
-\@ifclassloaded{article}{\@ifclassloaded{svmult}{}{\input{article-xetex-bidi.def}}}{}
-\@ifclassloaded{extarticle}{\input{extarticle-xetex-bidi.def}}{}
-\@ifclassloaded{artikel1}{\input{artikel1-xetex-bidi.def}}{}
-\@ifclassloaded{artikel2}{\input{artikel2-xetex-bidi.def}}{}
-\@ifclassloaded{artikel3}{\input{artikel3-xetex-bidi.def}}{}
-\@ifclassloaded{amsart}{\input{amsart-xetex-bidi.def}}{}
-\@ifclassloaded{beamer}{\input{beamer-xetex-bidi.def}}{}
-\@ifclassloaded{letter}{\input{letter-xetex-bidi.def}}{}
-\@ifclassloaded{extletter}{\input{extletter-xetex-bidi.def}}{}
-\@ifclassloaded{memoir}{\input{memoir-xetex-bidi.def}}{}
-\@ifclassloaded{refrep}{\input{refrep-xetex-bidi.def}}{}
-\@ifclassloaded{extreport}{\input{extreport-xetex-bidi.def}}{}
-\@ifclassloaded{report}{\@ifpackageloaded{flowfram}{}{\input{report-xetex-bidi.def}}}{}
-\@ifclassloaded{rapport1}{\input{rapport1-xetex-bidi.def}}{}
-\@ifclassloaded{rapport3}{\input{rapport3-xetex-bidi.def}}{}
-\@ifclassloaded{scrartcl}{\input{scrartcl-xetex-bidi.def}}{}
-\@ifclassloaded{scrbook}{\input{scrbook-xetex-bidi.def}}{}
-\@ifclassloaded{scrreprt}{\input{scrreprt-xetex-bidi.def}}{}
-\@ifclassloaded{amsbook}{\input{amsbook-xetex-bidi.def}}{}
-\@ifclassloaded{extbook}{\input{extbook-xetex-bidi.def}}{}
-\@ifclassloaded{boek}{\input{boek-xetex-bidi.def}}{}
-\@ifclassloaded{boek3}{\input{boek3-xetex-bidi.def}}{}
-\@ifclassloaded{book}{\@ifpackageloaded{flowfram}{}{\input{book-xetex-bidi.def}}}{}
-\@ifclassloaded{bookest}{\input{bookest-xetex-bidi.def}}{}
-\@ifclassloaded{combine}{\input{combine-xetex-bidi.def}}{}
-\@ifclassloaded{imsproc}{\input{imsproc-xetex-bidi.def}}{}
-\@ifpackageloaded{amsmath}{}{%
-\@iftagsloaded{leqno}{\input{leqno-xetex-bidi.def}}{}
-\@iftagsloaded{fleqn}{\input{fleqn-xetex-bidi.def}}{}
+
+\ApplyPatchToClassesIfPackageLoadedF{%
+ book, %
+ report %
+}{flowfram}
+
+\ApplyPatchToPackageIfPackageLoadedF{float}{floatrow}
+
+\ApplyPatchToFilesIfPackageLoadedF{amsmath}{%
+ fleqn, %
+ leqno%
+}[clo]
+
+\ApplyPatchToClasses{%
+ amsart, %
+ amsbook, %
+ article, %
+ artikel1, %
+ artikel2, %
+ artikel3, %
+ beamer, %
+ boek, %
+ boek3, %
+ bookest, %
+ combine, %
+ extbook, %
+ extletter, %
+ extarticle, %
+ extreport, %
+ imsproc, %
+ letter, %
+ memoir, %
+ rapport1, %
+ rapport3, %
+ refrep, %
+ scrartcl, %
+ scrbook, %
+ scrreprt %
}
-\@ifpackageloaded{mathtools}{%
- \RequirePackage{graphicx}%
- \input{mathtools-xetex-bidi.def}%
- }{}
-\@ifpackageloaded{crop}{\RequirePackage{graphicx}}{}
-\@ifpackageloaded{lscape}{\RequirePackage{graphicx}}{}
-\@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{}
-\@ifpackageloaded{floatrow}{\RequirePackage{color}}{}
-\@ifpackageloaded{algorithm2e}{\input{algorithm2e-xetex-bidi.def}}{}
-\@ifpackagewith{algorithm2e}{algonl}{%
-\renewcommand{\theAlgoLine}{\expandafter\csname the\algocf at float\endcsname\@SepMark\arabic{AlgoLine}}%
-}{}
-\@ifpackagewith{algorithm2e}{algopart}{\renewcommand{\algocf at within}{part}}{}
-\@ifpackagewith{algorithm2e}{algochapter}{\renewcommand{\algocf at within}{chapter}}{}
-\@ifpackagewith{algorithm2e}{algosection}{\renewcommand{\algocf at within}{section}}{}
-\@ifpackageloaded{amsmath}{\input{amsmath-xetex-bidi.def}}{}
-\@ifpackageloaded{amstext}{\input{amstext-xetex-bidi.def}}{}
-\@ifpackageloaded{amsthm}{\input{amsthm-xetex-bidi.def}}{}
-\@ifpackageloaded{breqn}{\input{breqn-xetex-bidi.def}}{}
-\@ifpackageloaded{cals}{\input{cals-xetex-bidi.def}}{}
-\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{}
-\@ifpackageloaded{caption3}{\input{caption3-xetex-bidi.def}}{}
-\@ifpackageloaded{floatrow}{\input{floatrow-xetex-bidi.def}}{}
-\@ifpackageloaded{crop}{\@ifclassloaded{memoir}{}{\input{crop-xetex-bidi.def}}}{}
-\@ifpackageloaded{color}{\input{color-xetex-bidi.def}}{}
-\@ifpackageloaded{cutwin}{\input{cutwin-xetex-bidi.def}}{}
-\@ifpackageloaded{cuted}{\input{cuted-xetex-bidi.def}}{}
-\@ifpackageloaded{xcolor}{\input{xcolor-xetex-bidi.def}}{}
-\@ifpackageloaded{colortbl}{\input{colortbl-xetex-bidi.def}}{}
-\@ifpackageloaded{float}{\@ifpackageloaded{floatrow}{}{\input{float-xetex-bidi.def}}}{}
-\@ifpackageloaded{flowfram}{\input{flowfram-xetex-bidi.def}}{}
-\@ifpackageloaded{xltxtra}{\input{xltxtra-xetex-bidi.def}}{}
-\@ifpackageloaded{wrapfig}{\input{wrapfig-xetex-bidi.def}}{}
-\@ifpackageloaded{graphicx}{\input{graphicx-xetex-bidi.def}}{}
-\@ifpackageloaded{geometry}{\input{geometry-xetex-bidi.def}}{}
-\@ifpackageloaded{hvfloat}{\input{hvfloat-xetex-bidi.def}}{}
-\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{}
-\@ifpackageloaded{tabularx}{\input{tabularx-xetex-bidi.def}}{}
-\@ifpackageloaded{longtable}{\input{longtable-xetex-bidi.def}}{}
-\@ifpackageloaded{lscape}{\input{lscape-xetex-bidi.def}}{}
-\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{}
-\@ifpackageloaded{footnotebackref}{\input{footnotebackref-xetex-bidi.def}}{}
-\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{}
-\@ifpackageloaded{fancybox}{\input{fancybox-xetex-bidi.def}}{}
-\@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{}
-\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{}
-\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{}
-\@ifpackageloaded{midfloat}{\input{midfloat-xetex-bidi.def}}{}
-\@ifpackageloaded{draftwatermark}{\input{draftwatermark-xetex-bidi.def}}{}
-\@ifpackageloaded{dblfnote}{\input{dblfnote-xetex-bidi.def}}{}
-\@ifpackageloaded{diagbox}{\input{diagbox-xetex-bidi.def}}{}
-\@ifpackageloaded{eso-pic}{\input{eso-pic-xetex-bidi.def}}{}
-\@ifpackageloaded{empheq}{\input{empheq-xetex-bidi.def}}{}
-\@ifpackageloaded{framed}{\input{framed-xetex-bidi.def}}{}
-\@ifpackageloaded{overpic}{\input{overpic-xetex-bidi.def}}{}
-\@ifpackageloaded{pdfbase}{\input{pdfbase-xetex-bidi.def}}{}
-\@ifpackageloaded{pdflscape}{\input{pdflscape-xetex-bidi.def}}{}
-\@ifpackageloaded{pdfpages}{\input{pdfpages-xetex-bidi.def}}{}
-\@ifpackageloaded{lettrine}{\input{lettrine-xetex-bidi.def}}{}
-\@ifpackageloaded{lineno}{\input{lineno-xetex-bidi.def}}{}
-\@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{}
-\@ifpackageloaded{media9}{\RequirePackage{bidi-media9}}{}
-\@iftexfileloaded{pstricks}{\input{pstricks-xetex-bidi.def}}{}
-\@iftexfileloaded{pgfcorescopes.code}{\input{pgfcorescopes.code-xetex-bidi.def}}{}
-\@ifpackageloaded{titlesec}{\input{titlesec-xetex-bidi.def}}{}
-\@ifpackageloaded{titletoc}{\input{titletoc-xetex-bidi.def}}{}
-\@ifpackageloaded{array}{\input{array-xetex-bidi.def}}{}
-\@ifpackageloaded{sidecap}{\input{sidecap-xetex-bidi.def}}{}
-\@ifpackagewith{sidecap}{innercaption}{%
-\if at RTL \renewcommand*{\SC at FLOAT}[2]{%
- \isSC at ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}}
- \renewcommand*\SC at justify@caption{%
- \isSC at ODD{\RaggedRight}{\RaggedLeft}}\else
- \renewcommand*{\SC at FLOAT}[2]{%
- \isSC at ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}}
- \renewcommand*\SC at justify@caption{%
- \isSC at ODD{\RaggedLeft}{\RaggedRight}}\fi
-}{}
-\@ifpackagewith{sidecap}{rightcaption}{%
- \if at RTL\renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
- \def\SC at justify@caption{\RaggedLeft}\else%
- \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
- \def\SC at justify@caption{\RaggedRight}\fi%
-}{}
-\@ifpackagewith{sidecap}{leftcaption}{%
-\if at RTL \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
- \def\SC at justify@caption{\RaggedRight}\else%
- \renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
- \def\SC at justify@caption{\RaggedLeft}\fi%
-}{}
-\@ifpackageloaded{soul}{\input{soul-xetex-bidi.def}}{}
-\@ifpackageloaded{stabular}{\input{stabular-xetex-bidi.def}}{}
-\@ifpackageloaded{subfigure}{\input{subfigure-xetex-bidi.def}}{}
-\@ifpackageloaded{arydshln}{\input{arydshln-xetex-bidi.def}}{}
-\@ifpackageloaded{mdframed}{\input{mdframed-xetex-bidi.def}}{}
-\@ifpackageloaded{multicol}{\input{multicol-xetex-bidi.def}}{}
-\@ifpackageloaded{adjmulticol}{\input{adjmulticol-xetex-bidi.def}}{}
-\@ifpackageloaded{multienum}{\input{multienum-xetex-bidi.def}}{}
-\@ifpackageloaded{natbib}{\input{natbib-xetex-bidi.def}}{}
-\@ifpackageloaded{newfloat}{\input{newfloat-xetex-bidi.def}}{}
-\@ifpackageloaded{nicematrix}{\input{nicematrix-xetex-bidi.def}}{}
-\@ifpackageloaded{minitoc}{\input{minitoc-xetex-bidi.def}}{}
-\@ifpackageloaded{pgfsys}{\input{pgfsys.code-xetex-bidi.def}}{}
-\@ifpackageloaded{picinpar}{\input{picinpar-xetex-bidi.def}}{}
-\@ifpackageloaded{quotchap}{\input{quotchap-xetex-bidi.def}}{}
-\@ifpackageloaded{ragged2e}{\input{ragged2e-xetex-bidi.def}}{}
-\@ifpackageloaded{rotating}{\input{rotating-xetex-bidi.def}}{}
-\@ifpackageloaded{tabls}{\input{tabls-xetex-bidi.def}}{}
-\@ifpackageloaded{tabulary}{\input{tabulary-xetex-bidi.def}}{}
-\@ifpackageloaded{tcolorbox}{\input{tcolorbox-xetex-bidi.def}}{}
-\@ifpackageloaded{tocstyle}{\input{tocstyle-xetex-bidi.def}}{}
-\@ifpackageloaded{tocbibind}{\@ifclassloaded{memoir}{}{\input{tocbibind-xetex-bidi.def}}}{}
-\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xetex-bidi.def}}}{}
-\@ifdefinitionfileloaded{tc-xetex}{\input{tc-xetex-bidi.def}}{}
-\@ifpackageloaded{todonotes}{\input{todonotes-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseauxtemplates}{\input{beamerbaseauxtemplates-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseboxes}{\input{beamerbaseboxes-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasecolor}{\input{beamerbasecolor-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasecompatibility}{\input{beamerbasecompatibility-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseframecomponents}{\input{beamerbaseframecomponents-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseframesize}{\input{beamerbaseframesize-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaselocalstructure}{\input{beamerbaselocalstructure-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasemisc}{\input{beamerbasemisc-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasenavigation}{\input{beamerbasenavigation-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseoverlay}{\input{beamerbaseoverlay-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemedefault}{\input{beamerinnerthemedefault-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemecircles}{\input{beamerinnerthemecircles-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemefocus}{\input{beamerinnerthemefocus-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemeinmargin}{\input{beamerinnerthemeinmargin-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthememetropolis}{\input{beamerinnerthememetropolis-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemerectangles}{\input{beamerinnerthemerectangles-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemerounded}{\input{beamerinnerthemerounded-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemedefault}{\input{beamerouterthemedefault-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemefocus}{\input{beamerouterthemefocus-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemeinfolines}{\input{beamerouterthemeinfolines-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthememetropolis}{\input{beamerouterthememetropolis-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthememiniframes}{\input{beamerouterthememiniframes-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesidebar}{\input{beamerouterthemesidebar-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesplit}{\input{beamerouterthemesplit-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemeshadow}{\input{beamerouterthemeshadow-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesmoothbars}{\input{beamerouterthemesmoothbars-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesmoothtree}{\input{beamerouterthemesmoothtree-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemetree}{\input{beamerouterthemetree-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerthemeHannover}{\input{beamerthemeHannover-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerthemeSingapore}{\input{beamerthemeSingapore-xetex-bidi.def}}{}
+
+\ApplyPatchToPackages{%
+ adjmulticol, %
+ algorithm2e, %
+ amsmath, %
+ amstext, %
+ amsthm, %
+ arydshln, %
+ array, %
+ beamerbaseauxtemplates, %
+ beamerbaseboxes, %
+ beamerbasecolor, %
+ beamerbasecompatibility, %
+ beamerbaseframecomponents, %
+ beamerbaseframesize, %
+ beamerbaselocalstructure, %
+ beamerbasemisc, %
+ beamerbasenavigation, %
+ beamerbaseoverlay, %
+ beamerinnerthemecircles, %
+ beamerinnerthemedefault, %
+ beamerinnerthemefocus, %
+ beamerinnerthemeinmargin, %
+ beamerinnerthememetropolis, %
+ beamerinnerthemerectangles, %
+ beamerinnerthemerounded, %
+ beamerouterthemedefault, %
+ beamerouterthemefocus, %
+ beamerouterthemeinfolines, %
+ beamerouterthememetropolis, %
+ beamerouterthememiniframes, %
+ beamerouterthemesidebar, %
+ beamerouterthemesplit, %
+ beamerouterthemeshadow, %
+ beamerouterthemesmoothbars, %
+ beamerouterthemesmoothtree, %
+ beamerouterthemetree, %
+ beamerthemeHannover, %
+ beamerthemeSingapore, %
+ breqn, %
+ cals, %
+ caption, %
+ caption3, %
+ color, %
+ colortbl, %
+ crop, %
+ cuted, %
+ cutwin, %
+ dblfnote, %
+ diagbox, %
+ draftwatermark, %
+ eso-pic, %
+ empheq, %
+ fancybox, %
+ fancyhdr, %
+ fix2col, %
+ float, %
+ floatrow, %
+ flowfram, %
+ footnotebackref, %
+ framed, %
+ ftnright, %
+ geometry, %
+ graphicx, %
+ hvfloat, %
+ hyperref, %
+ lettrine, %
+ lineno, %
+ listings, %
+ longtable, %
+ lscape, %
+ mathtools, %
+ mdframed, %
+ media9, %
+ midfloat, %
+ minitoc, %
+ multicol, %
+ multienum, %
+ natbib, %
+ newfloat, %
+ nicematrix, %
+ ntheorem, %
+ ntheorem-hyper, %
+ overpic, %
+ pdfbase, %
+ pdflscape, %
+ pdfpages, %
+ pgfsys, %
+ picinpar, %
+ quotchap, %
+ ragged2e, %
+ rotating, %
+ sidecap, %
+ soul, %
+ stabular, %
+ subfigure, %
+ tabls, %
+ tabularx, %
+ tabulary, %
+ tcolorbox, %
+ titlesec, %
+ titletoc, %
+ tocbasic, %
+ tocbibind, %
+ tocloft, %
+ tocstyle, %
+ todonotes, %
+ wrapfig, %
+ xcolor, %
+ xltxtra %
+}
+
+\ApplyPatchToFiles{%
+ pgfcorescopes.code, %
+ pstricks %
+}[tex]
+
+\ApplyPatchToFile{tc-xetex}
% \end{macrocode}
% \iffalse
%</latex-xetex-bidi.def>
Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins 2025-01-03 22:48:37 UTC (rev 73284)
@@ -147,11 +147,11 @@
\generate{\file{lettrine-xetex-bidi.def}{\from{\jobname.dtx}{table,lettrine-xetex-bidi.def}}}
\generate{\file{lineno-xetex-bidi.def}{\from{\jobname.dtx}{table,lineno-xetex-bidi.def}}}
\generate{\file{listings-xetex-bidi.def}{\from{\jobname.dtx}{table,listings-xetex-bidi.def}}}
-\generate{\file{loadingorder-xetex-bidi.def}{\from{\jobname.dtx}{table,loadingorder-xetex-bidi.def}}}
\generate{\file{longtable-xetex-bidi.def}{\from{\jobname.dtx}{table,longtable-xetex-bidi.def}}}
\generate{\file{lscape-xetex-bidi.def}{\from{\jobname.dtx}{table,lscape-xetex-bidi.def}}}
\generate{\file{mathtools-xetex-bidi.def}{\from{\jobname.dtx}{table,mathtools-xetex-bidi.def}}}
\generate{\file{mdframed-xetex-bidi.def}{\from{\jobname.dtx}{table,mdframed-xetex-bidi.def}}}
+\generate{\file{media9-xetex-bidi.def}{\from{\jobname.dtx}{table,media9-xetex-bidi.def}}}
\generate{\file{bidi-media9.sty}{\from{\jobname.dtx}{table,bidi-media9.sty}}}
\generate{\file{memoir-xetex-bidi.def}{\from{\jobname.dtx}{table,memoir-xetex-bidi.def}}}
\generate{\file{midfloat-xetex-bidi.def}{\from{\jobname.dtx}{table,midfloat-xetex-bidi.def}}}
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,12 +37,12 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{algorithm2e-xetex-bidi.def}[2018/09/23 v0.2 bidi adaptations for algorithm2e package for XeTeX engine]
+\ProvidesFile{algorithm2e-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for algorithm2e package for XeTeX engine]
\expandafter\ifx\csname algocf at within\endcsname\relax% if \algocf at within doesn't exist
\else% else
\renewcommand\thealgocf{\csname the\algocf at within\endcsname\@SepMark\@arabic\c at algocf}%
\fi
-\@ifpackageloaded{color}{}{%
+\ApplyPatchIfPackageLoadedF{color}{%
\bidi at patchcmd{\@algocf at start}{\bgroup}{%
\bgroup
\if at RTL
@@ -68,6 +68,16 @@
\fi
}{}{}
}
+
+\@ifpackagewith{algorithm2e}{algonl}{%
+\renewcommand{\theAlgoLine}{\expandafter\csname the\algocf at float\endcsname\@SepMark\arabic{AlgoLine}}%
+}{}
+
+\@ifpackagewith{algorithm2e}{algopart}{\renewcommand{\algocf at within}{part}}{}
+
+\@ifpackagewith{algorithm2e}{algochapter}{\renewcommand{\algocf at within}{chapter}}{}
+
+\@ifpackagewith{algorithm2e}{algosection}{\renewcommand{\algocf at within}{section}}{}
\endinput
%%
%% End of file `algorithm2e-xetex-bidi.def'.
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,8 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{article-xetex-bidi.def}[2024/12/07 v0.7 bidi adaptations for standard article class for XeTeX engine]
+\ProvidesFile{article-xetex-bidi.def}[2025/01/03 v0.8 bidi adaptations for standard article class for XeTeX engine]
+\IfClassLoadedT{svmult}{\endinput}
\if at titlepage
\renewcommand\maketitle{\begin{titlepage}%
\let\footnotesize\small
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{arydshln-xetex-bidi.def}[2010/08/01 v0.2 bidi adaptations for arydshln package for XeTeX engine]
+\ProvidesFile{arydshln-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for arydshln package for XeTeX engine]
\def\endarray{\adl at endarray \egroup \adl at arrayrestore \if at RTLtab\egroup\endR\egroup\fi\egroup}
\def\endtabular{\endarray $\if at RTLtab\endR\fi\egroup}
\expandafter\let\csname endtabular*\endcsname\endtabular
@@ -125,7 +125,7 @@
\def\adl at class@start{6}
\def\adl at class@iiiorvii{3}
\fi
-\@ifpackageloaded{colortbl}{%
+\ApplyPatchCodeToPackage{colortbl}{%
\def\adl at inactivate{\adl at org@inactivate \let\CT at setup\adl at CT@setup}
\def\adl at activate{\adl at org@activate \let\CT at setup\adl at act@CT at setup
\let\@endpbox\adl at org@endpbox}
@@ -171,7 +171,7 @@
\prepnext at tok}
\let\adl at act@classz\@classz
\let\adl at org@classz\@classz
-}{}
+}
\endinput
%%
%% End of file `arydshln-xetex-bidi.def'.
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamer-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamer-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamer-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{beamerbaseauxtemplates-xetex-bidi.def}[2024/12/20 v0.4 bidi adaptations for beamerbaseauxtemplates package for XeTeX engine]
+\ProvidesFile{beamerbaseauxtemplates-xetex-bidi.def}[2025/01/03 v0.5 bidi adaptations for beamerbaseauxtemplates package for XeTeX engine]
\bidi at csundef{beamer@@tmpop at subsection in toc at sections numbered}
\bidi at csundef{beamer@@tmpop at subsubsection in toc at sections numbered}
@@ -347,7 +347,7 @@
\end{minipage}
}
-\@ifpackageloaded{caption}{%
+\ApplyPatchCodeToPackage{caption}{%
\DeclareCaptionFont{beamer at font}{%
\usebeamerfont*{caption}%
}
@@ -354,7 +354,7 @@
\SetCaptionDefault{font}{beamer at font}
\DeclareCaptionJustification{bidi at beamer@ragged}{\bidi at beamer@ragged}
\SetCaptionDefault{justification}{bidi at beamer@ragged}
-}{}
+}
\endinput
%%
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseboxes-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseboxes-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseboxes-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecolor-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecolor-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecolor-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecompatibility-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecompatibility-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasecompatibility-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframecomponents-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframecomponents-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframecomponents-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -98,7 +98,7 @@
\usebeamertemplate***{sidebar left}%
\vfil%
}}%
- \@ifpackageloaded{beamerinnerthemeinmargin}{}{%
+ \ApplyPatchIfPackageLoadedF{beamerinnerthemeinmargin}{%
\hskip-\textwidth
}%
\fi
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframesize-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframesize-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseframesize-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaselocalstructure-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaselocalstructure-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaselocalstructure-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasemisc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasemisc-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasemisc-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbasenavigation-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseoverlay-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseoverlay-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerbaseoverlay-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemecircles-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemecircles-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemecircles-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemedefault-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemedefault-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemedefault-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemefocus-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemefocus-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemefocus-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemeinmargin-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemeinmargin-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemeinmargin-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthememetropolis-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthememetropolis-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthememetropolis-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerectangles-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerectangles-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerectangles-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerounded-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerounded-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerinnerthemerounded-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemedefault-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemedefault-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemedefault-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemefocus-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemefocus-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemefocus-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeinfolines-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeinfolines-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeinfolines-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememetropolis-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememetropolis-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememetropolis-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememiniframes-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememiniframes-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthememiniframes-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeshadow-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeshadow-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemeshadow-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesidebar-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesidebar-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesidebar-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothbars-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothbars-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothbars-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothtree-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothtree-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesmoothtree-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesplit-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesplit-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemesplit-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemetree-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemetree-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerouterthemetree-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeHannover-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeHannover-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeHannover-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeSingapore-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeSingapore-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/beamerthemeSingapore-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-perpage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-perpage.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-perpage.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -38,9 +38,9 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2024/12/28}
-\def\bidi at version{40.8}
-\def\bidi at releasename{William Paul Thurston}
+\def\bididate{2025/01/03}
+\def\bidi at version{41.0}
+\def\bidi at releasename{Maryam Mirzakhani}
\newcommand*{\bidireleasename}{\bidi at releasename}
\ProvidesPackage{bidi}[\bididate\space v\bidi at version\space (Release \bidi at releasename)\space
Bidirectional typesetting in plain TeX and LaTeX]
@@ -255,7 +255,7 @@
}
\newcommand*{\@bidi at pdfcustomproperties}{%
This is the bidi package, Version \bidi at version\space (Release \bidi at releasename),
- Released December 28, 2024.
+ Released January 3, 2025.
}
\newcommand*{\bidi at beamer@ragged}{}
\@RTLmainfalse
@@ -348,7 +348,6 @@
\ExplSyntaxOff
\@onlypreamble\pdfencryptsetup
\input{latex-xetex-bidi.def}
-\input{loadingorder-xetex-bidi.def}
\pdfencryptsetup{%
userpassword,%
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,10 +37,10 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\def\bididate{2024/12/28}
+\def\bididate{2025/01/03}
\catcode`@=11
-\def\bidi at version{40.8}
-\def\bidi at releasename{William Paul Thurston}
+\def\bidi at version{41.0}
+\def\bidi at releasename{Maryam Mirzakhani}
\def\bidireleasename{\bidi at releasename}
\let \protect \relax
\newlinechar`\^^J
@@ -154,7 +154,7 @@
}
\def\@bidi at pdfcustomproperties{%
This is the bidi package, Version \bidi at version\space (Release \bidi at releasename),
- Released December 28, 2024.
+ Released January 3, 2025.
}
\def\bidi at pdfm@mark{%
\special{pdf:%
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -38,7 +38,7 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biditools}[2024/12/07 v2.4 Programming tools for bidi package]
+\ProvidesPackage{biditools}[2025/01/03 v2.6 Programming tools for bidi package]
\providecommand{\@bidi at saveprimitive}[2]{\begingroup\escapechar`\\\relax
\edef\@tempa{\string#1}\edef\@tempb{\meaning#1}%
\ifx\@tempa\@tempb \global\let#2#1%
@@ -124,12 +124,6 @@
ill-advised in the old versions of bidi package.%
}%
}
-\def\@tagsextension{clo}
-\def\@definitionfileextension{def}
-\def\@texfileextension{tex}
-\def\@iftagsloaded{\@ifl at aded\@tagsextension}
-\def\@ifdefinitionfileloaded{\@ifl at aded\@definitionfileextension}
-\def\@iftexfileloaded{\@ifl at aded\@texfileextension}
\def\eqnewif#1#2{%
\count@\escapechar \escapechar\m at ne
\let#1\iffalse
@@ -761,14 +755,6 @@
\catcode\number`\@=\the\catcode`\@\relax}%
\bidi at resrvda}
-\newcommand\bidi at isloaded[2][]{
- \expandafter\ifx\csname if at bidi@#2loaded@\endcsname\relax
- \expandafter\newif\csname if at bidi@#2loaded@\endcsname
- \fi
- \@ifpackageloaded{#2}
- {\csname @bidi@#2loaded at true\endcsname #1}
- {\csname @bidi@#2loaded at false\endcsname}}
-
\protected\def\bidi at ifscanable#1{%
\begingroup
\edef\bidi at resrvda{%
@@ -1325,437 +1311,272 @@
-\renewcommand{\InputIfFileExists}[2]{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #1- at bidi@alias\endcsname\relax
- \expandafter\@secondoftwo
- \else
- \bidi at replacefile@msg{\csname #1- at bidi@alias\endcsname}{#1}%
- \expandafter\@firstoftwo
- \fi
- {%
- \expandafter\InputIfFileExists\expandafter{\csname
- #1- at bidi@alias\endcsname}{#2}%
- }%
- {\IfFileExists{#1}{%
- \bidi at load@hook{before}{#1}%
- #2\@addtofilelist{#1}%
- \@@input \@filef at und
- \bidi at load@hook{after}{#1}%
- }}%
-}
+\ExplSyntaxOn
+\NewDocumentCommand \bidi at AfterClass { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \@ifclassloaded{ #2 }
+ { #4 }
+ {
+ \hook_gput_code:nnn
+ { file / #2.\@clsextension / after }
+ { #3 }
+ { #4 }
+ }
+ }
+ {
+ \hook_gput_code:nnn { file / #2.\@clsextension / after } { #3 } { #4 }
+ }
+ }
-\newcommand*{\bidi@@loadwithoptions}{}
-\newcommand*{\bidi at loadwithoptions}{}
-\let\bidi at loadwithoptions\@loadwithoptions
+\seq_new:N \g__biditools_input_file_seq
-\renewcommand*{\@loadwithoptions}[3]{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #3.#1- at bidi@aliasname\endcsname\relax
- \def\bidi@@loadwithoptions{\bidi at loadwithoptions{#1}{#2}{#3}}%
- \else
- \bidi at replacefile@msg{\csname #3.#1- at bidi@aliasname\endcsname.#1}{#3.#1}%
- \def\bidi@@loadwithoptions{%
- \@loadwithoptions{#1}{#2}{\csname #3.#1- at bidi@aliasname\endcsname}%
- }%
- \fi
- \bidi@@loadwithoptions
-}
+\prg_new_protected_conditional:Npnn \__bidi_if_loading:n #1 { T, F, TF }
+ {
+ \str_set:Nx \l_tmpa_str { #1 }
+ \seq_if_in:NxTF \g__biditools_input_file_seq { \str_use:N \l_tmpa_str }
+ { \prg_return_true: }
+ { \prg_return_false: }
+ }
-\newcommand*{\bidi at onefilewithoptions}{}
-\let\bidi at onefilewithoptions\@onefilewithoptions
-\def\@onefilewithoptions#1[#2][#3]#4{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #1.#4- at bidi@aliasname\endcsname\relax
- \def\bidi@@onefilewithoptions{\bidi at onefilewithoptions{#1}}%
- \else
- \bidi at replacefile@msg{\csname #1.#4- at bidi@aliasname\endcsname.#4}{#1.#4}%
- \edef\bidi@@onefilewithoptions{%
- \noexpand\@onefilewithoptions{\csname #1.#4- at bidi@aliasname\endcsname}}%
- \fi
- \bidi@@onefilewithoptions[{#2}][{#3}]{#4}%
- \bidi at load@hook{lateafter}{#1.#4}%
-}
+\prg_new_protected_conditional:Npnn \bidi_if_class_loaded:n #1 { T, F, TF }
+ {
+ \@ifclassloaded { #1 }
+ {
+ \__bidi_if_loading:nTF { #1.\@clsextension }
+ { \prg_return_false: }
+ { \prg_return_true: }
+ }
+ {
+ \prg_return_false:
+ }
+ }
-\newcommand*{\bidi at ReplaceInput}[2]{%
- \expandafter\edef\csname #1- at bidi@alias\endcsname{#2}%
-}
+\prg_new_protected_conditional:Npnn \bidi_if_package_loaded:n #1 { T, F, TF }
+ {
+ \@ifpackageloaded { #1 }
+ {
+ \__bidi_if_loading:nTF { #1.\@pkgextension }
+ { \prg_return_false: }
+ { \prg_return_true: }
+ }
+ {
+ \prg_return_false:
+ }
+ }
-\newcommand*{\bidi at UnReplaceInput}[1]{%
- \ifcsname #1- at bidi@alias\endcsname
- \expandafter\let\csname #1- at bidi@alias\endcsname\relax
- \fi
-}
+\NewDocumentCommand \bidi at AfterAtEndOfClass { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \bidi_if_class_loaded:nTF { #2 }
+ { #4 }
+ { \hook_gput_code:nnn { class / #2 / after } { #3 } { #4 } }
+ }
+ {
+ \bidi_if_class_loaded:nF
+ { #2 }
+ { \hook_gput_code:nnn { class / #2 / after } { #3 } { #4 } }
+ }
+ }
-\newcommand*{\@bidi at replacefilewithext}[3]{%
- \expandafter\edef\csname #1.#3- at bidi@aliasname\endcsname{#2}%
- }
-\newcommand*{\bidi at ReplacePackage}[2]{%
- \@bidi at replacefilewithext{#1}{#2}\@pkgextension
-}
-\newcommand*{\bidi at ReplaceClass}[2]{%
- \@bidi at replacefilewithext{#1}{#2}\@clsextension
-}
-\newcommand*{\@bidi at unreplacefilewithext}[2]{%
- \ifcsname #1.#2- at bidi@aliasname\endcsname
- \expandafter\let\csname #1.#2- at bidi@aliasname\endcsname\relax
- \fi
-}
-\newcommand*{\bidi at UnReplacePackage}[1]{%
- \@bidi at unreplacefilewithext{#1}\@pkgextension
-}
-\newcommand*{\bidi at UnReplaceClass}[1]{%
- \@bidi at unreplacefilewithext{#1}\@clsextension
-}
-\newcommand*{\bidi at replacefile@msg}[2]{%
- \PackageInfo{biditools}{inputing `#1' instead of `#2'}%
-}
+\NewDocumentCommand \bidi at AfterPackage { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \@ifpackageloaded{ #2 }
+ { #4 }
+ {
+ \hook_gput_code:nnn
+ { file / #2.\@pkgextension / after }
+ { #3 }
+ { #4 }
+ }
+ }
+ {
+ \hook_gput_code:nnn { file / #2.\@pkgextension / after } { #3 } { #4 }
+ }
+ }
-\newcommand*{\bidi at load@hook}[2]{%
- \@ifundefined{#2-@#1}{}{%
- \@nameuse{#2-@#1}%
- \expandafter\let\csname #2-@#1\endcsname=\relax}}
-\newcommand*{\bidi at set@load at hook}[2]{%
- \@ifundefined{#2-@#1}{\@namedef{#2-@#1}{}}{}%
- \expandafter\g at addto@macro\csname #2-@#1\endcsname}
-\newcommand*{\bidi at BeforeFile}{\bidi at set@load at hook{before}}
-\newcommand*{\bidi at AfterFile}{\bidi at set@load at hook{after}}
-\newcommand*{\bidi at BeforeClass}[1]{%
- \bidi at set@load at hook{before}{#1.\@clsextension}}
-\newcommand*{\bidi at AfterClass}{%
- \@ifstar {\@s at bidi@AfterClass}{%
- \@ifnextchar +\@@bidi at AfterClass{%
- \@ifnextchar !\@@@bidi at AfterClass\@bidi at AfterClass
- }%
- }%
-}
+\NewDocumentCommand \bidi at AfterAtEndOfPackage { s m o +m }
+ {
+ \IfBooleanTF { #1 }
+ {
+ \bidi_if_package_loaded:nTF { #2 }
+ { #4 }
+ { \hook_gput_code:nnn { package / #2 / after } { #3 } { #4 } }
+ }
+ {
+ \bidi_if_package_loaded:nF
+ { #2 }
+ { \hook_gput_code:nnn { package / #2 / after } { #3 } { #4 } }
+ }
+ }
-\newcommand*{\@@@bidi at AfterClass}[2]{%
- \begingroup\ifx\csname #2.\@clsextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterClass
- \else
- \aftergroup\bidi at AfterAtEndOfClass
- \fi
- \endgroup{#2}%
-}
+\clist_new:N \l__biditools_package_clist
+\msg_new:nnn { biditools } { cannot-prevent-for-already-loaded-package }
+ {
+ Can~not~prevent~package~`#1'~from~being~loaded,~
+ since~it~has~been~loaded~already~before~line~\msg_line_number:
+ }
+\clist_new:N \g__biditools_prevent_clist
-\newcommand*{\bidi at AfterAtEndOfClass}[1]{%
- \bidi at set@load at hook{lateafter}{#1.\@clsextension}}
-\newcommand*{\@@bidi at AfterClass}[2]{%
- \begingroup
- \expandafter\ifx\csname #2.\@clsextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterClass
- \else
- \aftergroup\@bidi at AfterClass
- \fi
- \endgroup{#2}%
-}
+\NewDocumentCommand \bidi at PreventPackageFromLoading { s +o m }
+ {
+ \clist_set:Nx \l__biditools_package_clist { #3 }
+ \clist_map_inline:Nn \l__biditools_package_clist
+ {
+ \@ifpackageloaded { ##1 }
+ {
+ \IfBooleanTF { #1 } { \msg_info:nnn } { \msg_warning:nnn }
+ { biditools } { cannot-prevent-for-already-loaded-package } { ##1 }
+ }
+ {
+ \clist_if_in:NnF \g__biditools_prevent_clist { ##1 }
+ { \clist_gput_right:Nn \g__biditools_prevent_clist { ##1 } }
+ \tl_if_exist:cF { g__biditools_exclude_package_##1_tl }
+ {
+ \tl_new:c { g__biditools_exclude_package_##1_tl }
+ }
+ \IfValueT { #2 }
+ {
+ \tl_gput_right:cn { g__biditools_exclude_package_##1_tl } { #2 }
+ }
+ \disable at package@load { ##1 }
+ { \tl_use:c { g__biditools_exclude_package_##1_tl } }
+ }
+ }
+ \clist_clear:N \l__biditools_package_clist
+ }
-\newcommand*{\@bidi at AfterClass}[1]{%
- \bidi at set@load at hook{after}{#1.\@clsextension}}
-\newcommand*{\@s at bidi@AfterClass}[1]{%
- \begingroup
- \@ifclassloaded{#1}{%
- \aftergroup\@secondoftwo
- }{%
- \aftergroup\@bidi at AfterClass
- }%
- \endgroup
- {#1}%
-}
+\NewDocumentCommand \bidi at ResetPreventPackageFromLoading {}
+ {
+ \clist_map_function:NN \g__biditools_prevent_clist \reenable at package@load
+ \clist_gclear:N \g__biditools_prevent_clist
+ }
-\newcommand*{\bidi at BeforePackage}[1]{%
- \bidi at set@load at hook{before}{#1.\@pkgextension}}
-\newcommand*{\bidi at AfterPackage}{%
- \@ifstar {\@s at bidi@AfterPackage}{%
- \@ifnextchar +\@@bidi at AfterPackage{%
- \@ifnextchar !\@@@bidi at AfterPackage\@bidi at AfterPackage
- }%
- }%
-}
-\newcommand*{\@@@bidi at AfterPackage}[2]{%
- \begingroup\ifx\csname #2.\@pkgextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterPackage
- \else
- \aftergroup\bidi at AfterAtEndOfPackage
- \fi
- \endgroup{#2}%
-}
-\newcommand*{\bidi at AfterAtEndOfPackage}[1]{%
- \bidi at set@load at hook{lateafter}{#1.\@pkgextension}}
-\newcommand*{\@@bidi at AfterPackage}[2]{%
- \begingroup
- \expandafter\ifx\csname #2.\@pkgextension-h@@k\endcsname\relax
- \aftergroup\@s at bidi@AfterPackage
- \else
- \aftergroup\@bidi at AfterPackage
- \fi
- \endgroup{#2}%
-}
-\newcommand*{\@bidi at AfterPackage}[1]{%
- \bidi at set@load at hook{after}{#1.\@pkgextension}}
-\newcommand*{\@s at bidi@AfterPackage}[1]{%
- \begingroup
- \@ifpackageloaded{#1}{%
- \aftergroup\@secondoftwo
- }{%
- \aftergroup\@bidi at AfterPackage
- }%
- \endgroup
- {#1}%
-}
+\NewDocumentCommand \bidi at StorePreventPackageFromLoading { m }
+ { \edef #1 { \clist_use:Nn \g__biditools_prevent_clist { , } } }
-\newcommand*{\bidi at excludedpackages}{}
-\let\bidi at excludedpackages\@empty
-\newcommand*{\bidi at saved@RequirePackage}{}
-\newcommand*{\bidi at PreventPackageFromLoading}{%
- \@ifstar{\@bidi at PreventPackageFromLoading\PackageInfo}%
- {\@bidi at PreventPackageFromLoading\PackageWarning}%
-}
-\newcommand*{\@bidi at PreventPackageFromLoading}[1]{%
- \@ifnextchar [%]
- {\@@bidi at PreventPackageFromLoading#1}{\@@bidi at PreventPackageFromLoading#1[]}%
-}
-\newcommand*{\@@bidi at PreventPackageFromLoading}{}
+\NewDocumentCommand \bidi at UnPreventPackageFromLoading { s m }
+ {
+ \clist_set:Nx \l__biditools_package_clist { #2 }
+ \clist_map_inline:Nn \l__biditools_package_clist
+ {
+ \clist_if_in:NnT \g__biditools_prevent_clist { ##1 }
+ {
+ \clist_gremove_all:Nn \g__biditools_prevent_clist { ##1 }
+ \reenable at package@load { ##1 }
+ \IfBooleanT { #1 }
+ { \cs_undefine:c { g__biditools_exclude_package_##1_tl } }
+ }
+ }
+ }
-\def\@@bidi at PreventPackageFromLoading#1[#2]#3{%
- \edef\reserved at b{\zap at space#3 \@empty}%
- \ifx \reserved at b\@empty
- #1{biditools}{%
- \string\bidi at PreventPackageFromLoading\space with empty packages\MessageBreak
- argument ignored%
- }%
- \else
- \ifx\bidi at excludedpackages\@empty
- \let\bidi at saved@RequirePackage\RequirePackage
- \let\RequirePackage\bidi at RequirePackage
- \def\reserved at a##1##{%
- \@latex at error
- {\noexpand \usepackage before \string\documentclass}%
- {\noexpand \usepackage may only appear in the document
- preamble, i.e.,\MessageBreak
- between \noexpand\documentclass and
- \string\begin{document}.}%
- \@gobble}%
- \ifx\reserved at a\usepackage\else
- \ifx\usepackage\bidi at saved@RequirePackage\else
- \PackageWarning{biditools}{%
- Maybe serious problem: unexpected definition of\MessageBreak
- \string\usepackage
- }%
- \fi
- \let\usepackage\RequirePackage
- \fi
- \fi
- \expandafter\@for \expandafter\reserved at a\expandafter:\expandafter=%
- \reserved at b\do {%
- \ifx\reserved at a\@empty
- #1{biditools}{%
- empty package argument for
- \string\bidi at PreventPackageFromLoading\MessageBreak
- ignored%
- }%
- \else
- \expandafter\@ifpackageloaded\expandafter{\reserved at a}{%
- #1{biditools}{%
- package `\reserved at a' already loaded.\MessageBreak
- Cannot prevent it from beeing loaded%
- }%
- }{%
- \edef\bidi at excludedpackages{\bidi at excludedpackages,%
- \reserved at a}%
- \if\relax\detokenize{#2}\relax\else
- \@ifundefined{bidi at exclude@package@\reserved at a @do}{%
- \@namedef{bidi at exclude@package@\reserved at a @do}{}%
- }{}%
- \expandafter\def
- \csname bidi at exclude@package@\reserved at a
- @do\expandafter\expandafter\expandafter\endcsname
- \expandafter\expandafter\expandafter{%
- \csname bidi at exclude@package@\reserved at a @do\endcsname
- #2%
- }%
- \fi
- }%
- \fi
- }%
- \ifx\bidi at excludedpackages\@empty
- \bidi at ResetPreventPackageFromLoading
- \fi
- \fi
-}
+\NewDocumentCommand \bidi at BeforeClosingMainAux { o m }
+ {
+ \hook_gput_code:nnn { enddocument / afterlastpage } { #1 }
+ {
+ \debug_suspend:
+ \RenewDocumentCommand \bidi at BeforeClosingMainAux { m } { ##1 }
+ \cs_set_eq:NN \__biditools_protected at write:Nnn \protected at write
+ \cs_set_eq:NN \protected at write \bidi at protected@immediate at write
+ #2
+ \cs_set_eq:NN \protected at write \__biditools_protected at write:Nnn
+ \debug_resume:
+ }
+ }
-\@onlypreamble\bidi at PreventPackageFromLoading
-\newcommand*{\bidi at ResetPreventPackageFromLoading}{%
- \let\bidi at excludedpackages\@empty
- \ifx\RequirePackage\bidi at RequirePackage
- \ifx\usepackage\RequirePackage
- \let\usepackage\bidi at saved@RequirePackage
- \fi
- \let\RequirePackage\bidi at saved@RequirePackage
- \fi
+\NewDocumentCommand \bidi at AfterReadingMainAux { o m }
+ {
+ \hook_gput_code:nnn { enddocument / afteraux } { #1 }
+ {
+ \debug_suspend:
+ \RenewDocumentCommand \bidi at AfterReadingMainAux { m } { ##1 }
+ \cs_set_eq:NN \__biditools_protected at write:Nnn \protected at write
+ \cs_set_eq:NN \protected at write \bidi at protected@immediate at write
+ #2
+ \cs_set_eq:NN \protected at write \__biditools_protected at write:Nnn
+ \debug_resume:
+ }
+ }
+
+\clist_new:N \l__biditools_file_patch_clist
+
+\NewDocumentCommand \ApplyPatchToFiles { m O{def} O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_file_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_file_patch_clist
+ {
+ \ApplyPatchToFile { ##1 } [ #2 ] [ #3 ]
+ }
+ \clist_clear:N \l__biditools_file_patch_clist
+ }
+
+\clist_new:N \l__biditools_package_patch_clist
+
+\NewDocumentCommand \ApplyPatchToPackages { m O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_package_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_package_patch_clist
+ {
+ \ApplyPatchToPackage { ##1 } [ #2 ]
+ }
+ \clist_clear:N \l__biditools_package_patch_clist
+ }
+
+\clist_new:N \l__biditools_class_patch_clist
+
+\NewDocumentCommand \ApplyPatchToClasses { m O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_class_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_class_patch_clist
+ {
+ \ApplyPatchToClass { ##1 } [ #2 ]
+ }
+ \clist_clear:N \l__biditools_class_patch_clist
+ }
+
+\NewDocumentCommand \ApplyPatchToClassesIfPackageLoadedF { m m O{bidi} }
+ {
+ \clist_set:Nx \l__biditools_class_patch_clist { #1 }
+ \clist_map_inline:Nn \l__biditools_class_patch_clist
+ {
+ \ApplyPatchToClassIfPackageLoadedF { ##1 } { #2 } [ #3 ]
+ }
+ \clist_clear:N \l__biditools_class_patch_clist
+ }
+\ExplSyntaxOff
+
+\newcommand*{\bidi at ReplaceInput}{\declare at file@substitution}
+\newcommand*{\bidi at UnReplaceInput}
+{\undeclare at file@substitution}
+\newcommand*{\bidi at ReplacePackage}[2]{%
+ \declare at file@substitution{#1.\@pkgextension}{#2.\@pkgextension}%
}
-\@onlypreamble\bidi at ResetPreventPackageFromLoading
-\newcommand*{\bidi at StorePreventPackageFromLoading}[1]{%
- \let#1\bidi at excludedpackages
+\newcommand*{\bidi at UnReplacePackage}[1]{%
+ \undeclare at file@substitution{#1.\@pkgextension}%
}
-\@onlypreamble\bidi at StorePreventPackageFromLoading
-\newcommand*{\bidi at UnPreventPackageFromLoading}{%
- \@ifstar {\@tempswatrue\@bidi at UnPreventPackageFromLoading}%
- {\@tempswafalse\@bidi at UnPreventPackageFromLoading}%
+\newcommand*{\bidi at ReplaceClass}[2]{%
+ \declare at file@substitution{#1.\@clsextension}{#2.\@clsextension}%
}
-
-\newcommand*{\@bidi at UnPreventPackageFromLoading}[1]{%
- \edef\reserved at b{\zap at space#1 \@empty}%
- \if at tempswa
- \@for\reserved at a:=\reserved at b\do {%
- \ifx\reserved at a\@empty \else
- \ifcsname bidi at exclude@package@\reserved at a @do\endcsname
- \expandafter\let
- \csname bidi at exclude@package@\reserved at a @do\endcsname
- \undefined
- \fi
- \fi
- }%
- \fi
- \ifcsname bidi at excludedpackages\endcsname
- \let\reserved at a\bidi at excludedpackages
- \let\bidi at excludedpackages\@empty
- \expandafter\@for\expandafter\reserved at c
- \expandafter:\expandafter=\reserved at a
- \do{%
- \ifx\reserved at c\@empty\else
- \@expandtwoargs\in@{,\reserved at c,}{,\reserved at b,}%
- \ifin@
- \else
- \edef\bidi at excludedpackages{%
- \bidi at excludedpackages,\reserved at c
- }%
- \fi
- \fi
- }%
- \ifx\bidi at excludedpackages\@empty\bidi at ResetPreventPackageFromLoading\fi
- \fi
+\newcommand*{\bidi at UnReplaceClass}[1]{%
+ \undeclare at file@substitution{#1.\@clsextension}%
}
-
-\newcommand*{\bidi at RequirePackage}[2][]{%
- \let\reserved at c\@empty
- \let\reserved at d\@empty
- \edef\reserved at b{\zap at space#2 \@empty}%
- \expandafter\@for\expandafter\reserved at b\expandafter:\expandafter=\reserved at b
- \do {%
- \begingroup
- \@tempswatrue
- \@for\reserved at a:=\bidi at excludedpackages\do {%
- \ifx\reserved at a\reserved at b
- \@tempswafalse
- \fi
- }%
- \if at tempswa
- \xdef\reserved at c{\reserved at c,\reserved at b}%
- \else
- \ifx\reserved at b\@empty\else
- \PackageInfo{biditools}{Excluding package `\reserved at b'\MessageBreak
- from loading}%
- \@ifundefined{bidi at exclude@package@\reserved at b @do}{%
- }{%
- \expandafter\g at addto@macro\expandafter\reserved at d
- \csname bidi at exclude@package@\reserved at b @do\endcsname
- }%
- \fi
- \fi
- \endgroup
- }%
- \ifx\reserved at c\@empty
- \let\reserved at a\bidi at gobbleopt
- \else
- \edef\reserved at a{\noexpand\bidi at saved@RequirePackage[#1]{%
- \expandafter\@gobble\reserved at c\@empty}}%
- \fi
- \expandafter\reserved at d
- \reserved at a
+\newcommand*{\bidi at BeforeFile}[1]{%
+ \AddToHook{file/#1/before}%
}
-
-\newcommand{\bidi at gobbleopt}[1][]{}
-\AtEndDocument{%
- \let\bidi at saved@checkend=\@checkend
- \renewcommand*{\@checkend}[1]{%
- \def\reserved at a{#1}\def\reserved at b{document}%
- \bidi at saved@checkend{#1}%
- \ifx\reserved at a\reserved at b
- \let\bidi at saved@clearpage=\clearpage
- \renewcommand*{\clearpage}{\bidi at saved@clearpage
- \bidi at hook@bcma
- \bidi at restore@newpage
- \let\clearpage=\bidi at saved@clearpage}%
- \fi%
- \let\bidi at saved@dofilelist\@dofilelist
- \def\@dofilelist{%
- \bidi at hook@acma
- \let\@dofilelist\bidi at saved@dofilelist
- \bidi at saved@dofilelist
- }%
- }%
+\newcommand*{\bidi at AfterFile}[1]{%
+ \AddToHook{file/#1/after}%
}
-
-\newcommand*{\bidi at saved@checkend}{}
-\newcommand*{\bidi at saved@dofilelist}{}
-\newcommand*{\bidi at redefine@newpage}{%
- \let\bidi at saved@newpage\newpage
- \def\bidi at restore@newpage{%
- \renewcommand*{\newpage}{%
- \PackageWarningNoLine{%
- biditools%
- }{%
- \string\newpage\space at main aux file!\MessageBreak
- You have output material at the main aux file.\MessageBreak
- Note, that the \string\bidi at BeforeClosingMainAux\space commands\MessageBreak
- are processed before the output from aux file%
- }%
- \let\newpage\bidi at saved@newpage
- \newpage
- }%
- }%
- \renewcommand*{\newpage}{%
- \PackageError{%
- biditools%
- }{%
- \string\newpage\space at \string\bidi at BeforeClosingMainAux
- }{%
- You should never use \string\newpage\space or
- \string\clear(double)page or other output material at the\MessageBreak
- argument of \string\bidi at BeforeClosingMainAux!\MessageBreak
- If you'll continue, the \string\newpage\space will be ignored to
- avoid corruption of\MessageBreak
- every prior use of \string\bidi at BeforeClosingMainAux.
- }%
- }%
+\newcommand*{\bidi at BeforeClass}[1]{%
+ \bidi at BeforeFile{#1.\@clsextension}%
}
-
-\newcommand*{\bidi at restore@newpage}{}
-\newcommand*{\bidi at hook@bcma}{}
-\newcommand*{\bidi at hook@acma}{}
-\newcommand*{\bidi at BeforeClosingMainAux}{%
- \ifx\bidi at hook@bcma\@empty
- \gdef\bidi at hook@bcma{%
- \renewcommand*{\bidi at BeforeClosingMainAux}[1]{####1}%
- \let\protected at write\bidi at protected@immediate at write
- \bidi at redefine@newpage
- }%
- \fi
- \g at addto@macro\bidi at hook@bcma%
+\newcommand*{\bidi at BeforePackage}[1]{%
+ \bidi at BeforeFile{#1.\@pkgextension}%
}
-\newcommand*{\bidi at AfterReadingMainAux}{%
- \ifx\bidi at hook@acma\@empty
- \gdef\bidi at hook@acma{%
- \renewcommand*{\bidi at AfterReadingMainAux}[1]{####1}%
- \let\protected at write\bidi at protected@immediate at write
- }%
- \fi
- \g at addto@macro\bidi at hook@acma%
-}
-
\long\def\bidi at protected@immediate at write#1#2#3{%
\begingroup
#2%
@@ -1766,79 +1587,126 @@
\if at nobreak\ifvmode\nobreak\fi\fi
}
-\def\bidi at patch@counter{0}%
-\if at bidi@csundef{numexpr}{%
- \def\bidi at patch@stepcounter{%
- \begingroup
- \count@\bidi at patch@counter\relax
- \advance\count@\@ne\relax
- \edef\x{\endgroup
- \noexpand\def\noexpand\bidi at patch@counter{\the\count@}%
- }%
- \x
- }%
-}{%
- \def\bidi at patch@stepcounter{%
- \edef\bidi at patch@counter{%
- \the\numexpr\bidi at patch@counter+\@ne\relax
- }%
- }%
-}
-\def\bidi at patch@list{}
-\def\bidi at patch@Add{%
- \bidi at appto\bidi at patch@list
-}
\def\bidi at patch@AfterPackage#1{%
\@ifpackageloaded{#1}{%
\@firstofone
}{%
- \@bidi at patch@AfterPackage{#1}%
+ \AddToHook{package/#1/after}%
}%
}
-\def\@bidi at patch@AfterPackage#1{%
- \edef\bidi at patch@temp{#1}%
- \bidi at patch@stepcounter
- \expandafter\bidi at patch@@AfterPackage
- \csname @bidi at patch@\bidi at patch@counter\expandafter\endcsname{%
- \bidi at patch@temp
+
+\def\bidi at patch@AfterFile#1{%
+ \IfFileLoadedTF{#1}{%
+ \@firstofone
+ }{%
+ \AddToHook{file/#1/after}%
}%
}
-\def\bidi at patch@@AfterPackage#1#2#3{%
- \begingroup
- \toks@{#3}%
- \xdef\bidi at patch@gtemp{%
- \noexpand\@ifpackageloaded{#2}{%
- \noexpand\let\noexpand#1\noexpand\relax
- \the\toks@
- }{}%
+
+\NewDocumentCommand \ApplyPatchToFile { m O{def} O{bidi} }
+ {
+ \bidi at patch@AfterFile{#1.#2}{%
+ \ifnum\catcode`\@=11
+ \input{#1-xetex-#3.def}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \input{#1-xetex-#3.def}%
+ \bidi at restorecatcode\@
+ \fi
}%
- \endgroup
- \let#1\bidi at patch@gtemp
- \bidi at patch@Add#1%
- \bidi at patch@try{bidi at AfterPackage}{#2}#1%
-}
+ }
-\def\bidi at patch@try#1#2#3{%
- \if at bidi@csundef{#1}{}{%
- \csname #1\endcsname{#2}{#3}%
- }%
-}
+\NewDocumentCommand \ApplyPatchCodeToFile { m +m O{def} }
+ {
+ \bidi at patch@AfterFile{#1.#3}{#2}%
+ }
-\AtBeginDocument{\bidi at patch@list}
+\NewDocumentCommand \ApplyPatchToFilesIfPackageLoadedF { m m O{def} O{bidi} }
+ {
+ \AddToHook{begindocument/before}{%
+ \IfPackageLoadedF{#1}{%
+ \ApplyPatchToFiles{#2}[#3][#4]%
+ }%
+ }
+ }
-\bidi at AtEndPreamble{\bidi at patch@list}%
+\NewDocumentCommand \ApplyPatchToClassIfPackageLoadedF { m m O{bidi} }
+ {
+ \AddToHook{begindocument/before}{%
+ \IfPackageLoadedF{#2}{%
+ \ifnum\catcode`\@=11
+ \@ifclassloaded{#1}{%
+ \input{#1-xetex-#3.def}%
+ }{}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \@ifclassloaded{#1}{%
+ \input{#1-xetex-#3.def}%
+ }{}%
+ \bidi at restorecatcode\@
+ \fi
+ }%
+ }
+ }
-\bidi at AfterEndPreamble{%
- \let\bidi at patch@OrgIfPackageLoaded\@ifpackageloaded
- \let\bidi at patch@OrgIfPackageLater\@ifpackagelater
- \let\bidi at patch@OrgIfClassLoaded\@ifclassloaded
- \let\bidi at patch@OrgIfClassLater\@ifclasslater
- \bidi at patch@list
- \let\@ifpackageloaded\bidi at patch@OrgIfPackageLoaded
- \let\@ifpackagelater\bidi at patch@OrgIfPackageLater
- \let\@ifclassloaded\bidi at patch@OrgIfClassLoaded
- \let\@ifclasslater\bidi at patch@OrgIfClassLater
-}%
+\NewDocumentCommand \ApplyPatchToPackageIfPackageLoadedF { m m O{bidi} }
+ {
+ \AddToHook{begindocument/before}{%
+ \IfPackageLoadedF{#2}{%
+ \IfPackageLoadedT{#1}{%
+ \ifnum\catcode`\@=11
+ \input{#1-xetex-#3.def}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \input{#1-xetex-#3.def}%
+ \bidi at restorecatcode\@
+ \fi
+ }%
+ }%
+ }
+ }
+
+\NewDocumentCommand \ApplyPatchIfPackageLoaded { m +m +m }
+ {
+ \AddToHook{begindocument/before}{%
+ \ifnum\catcode`\@=11
+ \@ifpackageloaded{#1}{#2}{#3}%
+ \else
+ \bidi at storecatcode\@
+ \makeatletter
+ \@ifpackageloaded{#1}{#2}{#3}%
+ \bidi at restorecatcode\@
+ \fi
+ }
+ }
+
+\NewDocumentCommand \ApplyPatchIfPackageLoadedT { m +m }
+ {
+ \ApplyPatchIfPackageLoaded{#1}{#2}{}%
+ }
+
+\NewDocumentCommand \ApplyPatchIfPackageLoadedF { m +m }
+ {
+ \ApplyPatchIfPackageLoaded{#1}{}{#2}%
+ }
+
+\NewDocumentCommand \ApplyPatchToPackage { m O{bidi} }
+ {
+ \bidi at patch@AfterPackage{#1}{\input{#1-xetex-#2.def}}%
+ }
+
+\NewDocumentCommand \ApplyPatchCodeToPackage { m +m }
+ {
+ \bidi at patch@AfterPackage{#1}{#2}%
+ }
+
+\NewDocumentCommand \ApplyPatchToClass { m O{bidi} }
+ {
+ \@ifclassloaded{#1}{\input{#1-xetex-#2.def}}{}%
+ }
\endinput
%%
%% End of file `biditools.sty'.
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -38,7 +38,7 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bidituftefloat}[2017/05/19 v0.2
+\ProvidesPackage{bidituftefloat}[2025/01/03 v0.3
bidi implementation of tufte float]
\RequirePackage{xifthen}
\newcommand{\@bidituftefloat at pkgname}{bidituftefloat}
@@ -64,7 +64,7 @@
\setboolean{@bidituftefloat at twoside}{false}%
\setboolean{@bidituftefloat at symmetric}{false}%
}
-\@ifclassloaded{book}{\ExecuteOptions{twoside}}{}
+\IfClassLoadedT{book}{\ExecuteOptions{twoside}}
\newboolean{@bidituftefloat at debug}
\newcommand*{\@bidituftefloat at caption@justification}{\@bidituftefloat at justification@autodetect}
\ProcessOptions
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{book-xetex-bidi.def}[2017/06/09 v1.0 bidi adaptations for standard book class for XeTeX engine]
+\ProvidesFile{book-xetex-bidi.def}[2025/01/03 v1.1 bidi adaptations for standard book class for XeTeX engine]
\renewenvironment{theindex}
{\if at twocolumn
\@restonecolfalse
@@ -53,7 +53,7 @@
\parskip\z@ \@plus .3\p@\relax
\let\item\@idxitem}
{\if at restonecol\onecolumn\else\clearpage\fi}
-\@ifclassloaded{bookest}{}{%
+\IfClassLoadedF{bookest}{%
\if at titlepage
\renewcommand\maketitle{\begin{titlepage}%
\let\footnotesize\small
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,9 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{crop-xetex-bidi.def}[2013/04/10 v0.2 bidi adaptations for crop package for XeTeX engine]
+\ProvidesFile{crop-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for crop package for XeTeX engine]
+\IfClassLoadedT{memoir}{\endinput}
+\RequirePackage{graphicx}
\renewcommand*\CROP@@ulc{%
\if at RTLmain%
\begin{picture}(0,0)
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/diagbox-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/diagbox-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/diagbox-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2023/08/02 v2.6 bidi extra footnote features for XeTeX engine]
+\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2025/01/03 v2.7 bidi extra footnote features for XeTeX engine]
\newdimen\bidi at columnwidth
\def\bidi at floathook{%
\bidi at columnwidth\columnwidth
@@ -260,7 +260,7 @@
\@bidi at after@Hy at hyperfootnotes
\@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
}
-\@ifclassloaded{memoir}{\let\plainfootnotes\normalfootnotes}{}
+\IfClassLoadedT{memoir}{\let\plainfootnotes\normalfootnotes}
\bidi at ensure@newcommand*{\setSingleSpace}[1]{%
\def\m at m@singlespace{#1}%
\def\m at m@footnote at spacing{#1}%
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,8 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{floatrow-xetex-bidi.def}[2013/04/08 v0.1 bidi adaptations for floatrow package for XeTeX engine]
+\ProvidesFile{floatrow-xetex-bidi.def}[2025/01/03 v0.2 bidi adaptations for floatrow package for XeTeX engine]
+\RequirePackage{color}
\renewcommand\flnew at within[1]{\@addtoreset{\FB at captype}{#1}%
\expandafter\edef\csname the\FB at captype\endcsname{%
\expandafter\noexpand\csname
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{flowfram-xetex-bidi.def}[2018/09/29 v0.5 bidi adaptations for flowfram package for XeTeX engine]
+\ProvidesFile{flowfram-xetex-bidi.def}[2025/01/03 v0.6 bidi adaptations for flowfram package for XeTeX engine]
\def\@outputdblcol{%
\@nxtcol=\c at thisframe
\c at curpg=\c at page
@@ -154,7 +154,7 @@
{\csname colheight\romannumeral#1\endcsname}{%
\expandafter\box\csname column\romannumeral#1\endcsname}%
}}}
-\@ifclassloaded{book}{%
+\IfClassLoadedT{book}{%
\renewcommand\theequation
{\ifnum \c at chapter>\z@ \thechapter\@SepMark\fi \@arabic\c at equation}
\renewcommand \thefigure
@@ -166,8 +166,8 @@
\renewcommand\thesubsection {\thesection\@SepMark\@arabic\c at subsection}
\renewcommand\thesubsubsection{\thesubsection \@SepMark\@arabic\c at subsubsection}
\renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c at paragraph}
-\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}{}
-\@ifclassloaded{report}{%
+\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}
+\IfClassLoadedT{report}{%
\renewcommand\theequation
{\ifnum \c at chapter>\z@ \thechapter\@SepMark\fi \@arabic\c at equation}
\renewcommand \thefigure
@@ -179,7 +179,7 @@
\renewcommand\thesubsection {\thesection\@SepMark\@arabic\c at subsection}
\renewcommand\thesubsubsection{\thesubsection \@SepMark\@arabic\c at subsubsection}
\renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c at paragraph}
-\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}{}
+\renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c at subparagraph}}
\renewcommand{\rotateframe}[2]{\if at ttb@rotate
\rotatebox{#1}{\if at RTL\beginL\fi#2\if at RTL\endL\fi}%
\else
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/footnotebackref-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/footnotebackref-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/footnotebackref-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{hyperref-xetex-bidi.def}[2018/11/11 v1.1 bidi adaptations for hyperref package for XeTeX engine]
+\ProvidesFile{hyperref-xetex-bidi.def}[2025/01/03 v1.2 bidi adaptations for hyperref package for XeTeX engine]
\AtBeginDocument{%
\def\contentsline#1#2#3#4{%
\ifx\\#4\\%
@@ -187,7 +187,7 @@
\fi
}%
}%
- \@ifpackageloaded{tabularx}{%
+ \ApplyPatchCodeToPackage{tabularx}{%
\let\HyOrg at TX@endtabularx\TX at endtabularx
\def\Hy at tabularx@hook{%
\let\@footnotetext\H@@footnotetext
@@ -206,8 +206,8 @@
}%
\endgroup
\let\TX at endtabularx\Hy at gtemp
- }{}%
- \@ifpackageloaded{longtable}{%
+ }%
+ \ApplyPatchCodeToPackage{longtable}{%
\CheckCommand*{\LT at p@LTRftntext}[1]{%
\edef\@tempa{%
\the\LT at p@ftn
@@ -284,8 +284,8 @@
\fi
}%
}%
- }{}%
- \@ifpackageloaded{bidipoem}{%
+ }%
+ \ApplyPatchCodeToPackage{bidipoem}{%
\long\def\bidipoem at p@ftntext#1{%
\edef\@tempx{%
\the\bidipoem at p@ftn
@@ -379,7 +379,7 @@
\fi
}%
}%
- }{}%
+ }%
\let\HyOrg at maketitle\maketitle
\def\maketitle{%
\let\Hy at saved@footnotemark\@footnotemark
@@ -584,7 +584,7 @@
\def\XeTeX{Xe\TeX}%
\def\XeLaTeX{Xe\LaTeX}%
}
-\@ifpackageloaded{longtable}{%
+\ApplyPatchCodeToPackage{longtable}{%
\begingroup
\def\y{\LT at array}%
\@ifundefined{scr at LT@array}{%
@@ -614,7 +614,7 @@
}%
}%
\expandafter\x\LT at start\@nil
-}{}
+}
\bidi at patchcmd\@TextField{%
\@pdfm at mark
}{%
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/imsproc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/imsproc-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/imsproc-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{latex-xetex-bidi.def}[2024/12/08 v1.5.1 bidi adaptations for `latex.ltx' for XeTeX engine]
+\ProvidesFile{latex-xetex-bidi.def}[2025/01/03 v1.5.2 bidi adaptations for `latex.ltx' for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate\@ne}
\newcommand{\TeXXeTOff}{\TeXXeTstate\z@}
\TeXXeTOn
@@ -155,7 +155,7 @@
\let\setLR=\setLTR
\let\unsetRL=\setLTR
\def\bidi at tabular@RTLcases{\let\@halignto\@empty\@bidi at tabular@RTLcases}
-\@ifpackageloaded{array}{%
+\ApplyPatchIfPackageLoaded{array}{%
\def\@bidi at tabular@RTLcases{\@RTLtabtrue%
\leavevmode
\hbox \bgroup $\left.\col at sep\tabcolsep \let\d at llarbegin\begingroup
@@ -839,7 +839,7 @@
\let\bidi at saved@leqno=\leqno
\def\eqno{\ifnum\predisplaydirection<\z@ \bidi at saved@leqno \else \bidi at saved@eqno \fi}
\def\leqno{\ifnum\predisplaydirection<\z@ \bidi at saved@eqno \else \bidi at saved@leqno \fi}
-\@ifpackageloaded{amsmath}{}{
+\ApplyPatchIfPackageLoadedF{amsmath}{
\def\@eqnnum{{\normalfont \normalcolor \if at RTL\beginR\fi(\theequation)\if at RTL\endR\fi}}
}
\input{footnote-xetex-bidi.def}
@@ -852,182 +852,163 @@
\if at bidi@csundef{@idxitem}{}{%
\renewcommand\@idxitem{\par\hangindent \if at RTL-\fi40\p@}%
}
-\@ifpackageloaded{tocbasic}{\input{tocbasic-xetex-bidi.def}}{}
-\@ifclassloaded{article}{\@ifclassloaded{svmult}{}{\input{article-xetex-bidi.def}}}{}
-\@ifclassloaded{extarticle}{\input{extarticle-xetex-bidi.def}}{}
-\@ifclassloaded{artikel1}{\input{artikel1-xetex-bidi.def}}{}
-\@ifclassloaded{artikel2}{\input{artikel2-xetex-bidi.def}}{}
-\@ifclassloaded{artikel3}{\input{artikel3-xetex-bidi.def}}{}
-\@ifclassloaded{amsart}{\input{amsart-xetex-bidi.def}}{}
-\@ifclassloaded{beamer}{\input{beamer-xetex-bidi.def}}{}
-\@ifclassloaded{letter}{\input{letter-xetex-bidi.def}}{}
-\@ifclassloaded{extletter}{\input{extletter-xetex-bidi.def}}{}
-\@ifclassloaded{memoir}{\input{memoir-xetex-bidi.def}}{}
-\@ifclassloaded{refrep}{\input{refrep-xetex-bidi.def}}{}
-\@ifclassloaded{extreport}{\input{extreport-xetex-bidi.def}}{}
-\@ifclassloaded{report}{\@ifpackageloaded{flowfram}{}{\input{report-xetex-bidi.def}}}{}
-\@ifclassloaded{rapport1}{\input{rapport1-xetex-bidi.def}}{}
-\@ifclassloaded{rapport3}{\input{rapport3-xetex-bidi.def}}{}
-\@ifclassloaded{scrartcl}{\input{scrartcl-xetex-bidi.def}}{}
-\@ifclassloaded{scrbook}{\input{scrbook-xetex-bidi.def}}{}
-\@ifclassloaded{scrreprt}{\input{scrreprt-xetex-bidi.def}}{}
-\@ifclassloaded{amsbook}{\input{amsbook-xetex-bidi.def}}{}
-\@ifclassloaded{extbook}{\input{extbook-xetex-bidi.def}}{}
-\@ifclassloaded{boek}{\input{boek-xetex-bidi.def}}{}
-\@ifclassloaded{boek3}{\input{boek3-xetex-bidi.def}}{}
-\@ifclassloaded{book}{\@ifpackageloaded{flowfram}{}{\input{book-xetex-bidi.def}}}{}
-\@ifclassloaded{bookest}{\input{bookest-xetex-bidi.def}}{}
-\@ifclassloaded{combine}{\input{combine-xetex-bidi.def}}{}
-\@ifclassloaded{imsproc}{\input{imsproc-xetex-bidi.def}}{}
-\@ifpackageloaded{amsmath}{}{%
-\@iftagsloaded{leqno}{\input{leqno-xetex-bidi.def}}{}
-\@iftagsloaded{fleqn}{\input{fleqn-xetex-bidi.def}}{}
+
+\ApplyPatchToClassesIfPackageLoadedF{%
+ book, %
+ report %
+}{flowfram}
+
+\ApplyPatchToPackageIfPackageLoadedF{float}{floatrow}
+
+\ApplyPatchToFilesIfPackageLoadedF{amsmath}{%
+ fleqn, %
+ leqno%
+}[clo]
+
+\ApplyPatchToClasses{%
+ amsart, %
+ amsbook, %
+ article, %
+ artikel1, %
+ artikel2, %
+ artikel3, %
+ beamer, %
+ boek, %
+ boek3, %
+ bookest, %
+ combine, %
+ extbook, %
+ extletter, %
+ extarticle, %
+ extreport, %
+ imsproc, %
+ letter, %
+ memoir, %
+ rapport1, %
+ rapport3, %
+ refrep, %
+ scrartcl, %
+ scrbook, %
+ scrreprt %
}
-\@ifpackageloaded{mathtools}{%
- \RequirePackage{graphicx}%
- \input{mathtools-xetex-bidi.def}%
- }{}
-\@ifpackageloaded{crop}{\RequirePackage{graphicx}}{}
-\@ifpackageloaded{lscape}{\RequirePackage{graphicx}}{}
-\@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{}
-\@ifpackageloaded{floatrow}{\RequirePackage{color}}{}
-\@ifpackageloaded{algorithm2e}{\input{algorithm2e-xetex-bidi.def}}{}
-\@ifpackagewith{algorithm2e}{algonl}{%
-\renewcommand{\theAlgoLine}{\expandafter\csname the\algocf at float\endcsname\@SepMark\arabic{AlgoLine}}%
-}{}
-\@ifpackagewith{algorithm2e}{algopart}{\renewcommand{\algocf at within}{part}}{}
-\@ifpackagewith{algorithm2e}{algochapter}{\renewcommand{\algocf at within}{chapter}}{}
-\@ifpackagewith{algorithm2e}{algosection}{\renewcommand{\algocf at within}{section}}{}
-\@ifpackageloaded{amsmath}{\input{amsmath-xetex-bidi.def}}{}
-\@ifpackageloaded{amstext}{\input{amstext-xetex-bidi.def}}{}
-\@ifpackageloaded{amsthm}{\input{amsthm-xetex-bidi.def}}{}
-\@ifpackageloaded{breqn}{\input{breqn-xetex-bidi.def}}{}
-\@ifpackageloaded{cals}{\input{cals-xetex-bidi.def}}{}
-\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{}
-\@ifpackageloaded{caption3}{\input{caption3-xetex-bidi.def}}{}
-\@ifpackageloaded{floatrow}{\input{floatrow-xetex-bidi.def}}{}
-\@ifpackageloaded{crop}{\@ifclassloaded{memoir}{}{\input{crop-xetex-bidi.def}}}{}
-\@ifpackageloaded{color}{\input{color-xetex-bidi.def}}{}
-\@ifpackageloaded{cutwin}{\input{cutwin-xetex-bidi.def}}{}
-\@ifpackageloaded{cuted}{\input{cuted-xetex-bidi.def}}{}
-\@ifpackageloaded{xcolor}{\input{xcolor-xetex-bidi.def}}{}
-\@ifpackageloaded{colortbl}{\input{colortbl-xetex-bidi.def}}{}
-\@ifpackageloaded{float}{\@ifpackageloaded{floatrow}{}{\input{float-xetex-bidi.def}}}{}
-\@ifpackageloaded{flowfram}{\input{flowfram-xetex-bidi.def}}{}
-\@ifpackageloaded{xltxtra}{\input{xltxtra-xetex-bidi.def}}{}
-\@ifpackageloaded{wrapfig}{\input{wrapfig-xetex-bidi.def}}{}
-\@ifpackageloaded{graphicx}{\input{graphicx-xetex-bidi.def}}{}
-\@ifpackageloaded{geometry}{\input{geometry-xetex-bidi.def}}{}
-\@ifpackageloaded{hvfloat}{\input{hvfloat-xetex-bidi.def}}{}
-\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{}
-\@ifpackageloaded{tabularx}{\input{tabularx-xetex-bidi.def}}{}
-\@ifpackageloaded{longtable}{\input{longtable-xetex-bidi.def}}{}
-\@ifpackageloaded{lscape}{\input{lscape-xetex-bidi.def}}{}
-\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{}
-\@ifpackageloaded{footnotebackref}{\input{footnotebackref-xetex-bidi.def}}{}
-\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{}
-\@ifpackageloaded{fancybox}{\input{fancybox-xetex-bidi.def}}{}
-\@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{}
-\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{}
-\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{}
-\@ifpackageloaded{midfloat}{\input{midfloat-xetex-bidi.def}}{}
-\@ifpackageloaded{draftwatermark}{\input{draftwatermark-xetex-bidi.def}}{}
-\@ifpackageloaded{dblfnote}{\input{dblfnote-xetex-bidi.def}}{}
-\@ifpackageloaded{diagbox}{\input{diagbox-xetex-bidi.def}}{}
-\@ifpackageloaded{eso-pic}{\input{eso-pic-xetex-bidi.def}}{}
-\@ifpackageloaded{empheq}{\input{empheq-xetex-bidi.def}}{}
-\@ifpackageloaded{framed}{\input{framed-xetex-bidi.def}}{}
-\@ifpackageloaded{overpic}{\input{overpic-xetex-bidi.def}}{}
-\@ifpackageloaded{pdfbase}{\input{pdfbase-xetex-bidi.def}}{}
-\@ifpackageloaded{pdflscape}{\input{pdflscape-xetex-bidi.def}}{}
-\@ifpackageloaded{pdfpages}{\input{pdfpages-xetex-bidi.def}}{}
-\@ifpackageloaded{lettrine}{\input{lettrine-xetex-bidi.def}}{}
-\@ifpackageloaded{lineno}{\input{lineno-xetex-bidi.def}}{}
-\@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{}
-\@ifpackageloaded{media9}{\RequirePackage{bidi-media9}}{}
-\@iftexfileloaded{pstricks}{\input{pstricks-xetex-bidi.def}}{}
-\@iftexfileloaded{pgfcorescopes.code}{\input{pgfcorescopes.code-xetex-bidi.def}}{}
-\@ifpackageloaded{titlesec}{\input{titlesec-xetex-bidi.def}}{}
-\@ifpackageloaded{titletoc}{\input{titletoc-xetex-bidi.def}}{}
-\@ifpackageloaded{array}{\input{array-xetex-bidi.def}}{}
-\@ifpackageloaded{sidecap}{\input{sidecap-xetex-bidi.def}}{}
-\@ifpackagewith{sidecap}{innercaption}{%
-\if at RTL \renewcommand*{\SC at FLOAT}[2]{%
- \isSC at ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}}
- \renewcommand*\SC at justify@caption{%
- \isSC at ODD{\RaggedRight}{\RaggedLeft}}\else
- \renewcommand*{\SC at FLOAT}[2]{%
- \isSC at ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}}
- \renewcommand*\SC at justify@caption{%
- \isSC at ODD{\RaggedLeft}{\RaggedRight}}\fi
-}{}
-\@ifpackagewith{sidecap}{rightcaption}{%
- \if at RTL\renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
- \def\SC at justify@caption{\RaggedLeft}\else%
- \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
- \def\SC at justify@caption{\RaggedRight}\fi%
-}{}
-\@ifpackagewith{sidecap}{leftcaption}{%
-\if at RTL \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
- \def\SC at justify@caption{\RaggedRight}\else%
- \renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
- \def\SC at justify@caption{\RaggedLeft}\fi%
-}{}
-\@ifpackageloaded{soul}{\input{soul-xetex-bidi.def}}{}
-\@ifpackageloaded{stabular}{\input{stabular-xetex-bidi.def}}{}
-\@ifpackageloaded{subfigure}{\input{subfigure-xetex-bidi.def}}{}
-\@ifpackageloaded{arydshln}{\input{arydshln-xetex-bidi.def}}{}
-\@ifpackageloaded{mdframed}{\input{mdframed-xetex-bidi.def}}{}
-\@ifpackageloaded{multicol}{\input{multicol-xetex-bidi.def}}{}
-\@ifpackageloaded{adjmulticol}{\input{adjmulticol-xetex-bidi.def}}{}
-\@ifpackageloaded{multienum}{\input{multienum-xetex-bidi.def}}{}
-\@ifpackageloaded{natbib}{\input{natbib-xetex-bidi.def}}{}
-\@ifpackageloaded{newfloat}{\input{newfloat-xetex-bidi.def}}{}
-\@ifpackageloaded{nicematrix}{\input{nicematrix-xetex-bidi.def}}{}
-\@ifpackageloaded{minitoc}{\input{minitoc-xetex-bidi.def}}{}
-\@ifpackageloaded{pgfsys}{\input{pgfsys.code-xetex-bidi.def}}{}
-\@ifpackageloaded{picinpar}{\input{picinpar-xetex-bidi.def}}{}
-\@ifpackageloaded{quotchap}{\input{quotchap-xetex-bidi.def}}{}
-\@ifpackageloaded{ragged2e}{\input{ragged2e-xetex-bidi.def}}{}
-\@ifpackageloaded{rotating}{\input{rotating-xetex-bidi.def}}{}
-\@ifpackageloaded{tabls}{\input{tabls-xetex-bidi.def}}{}
-\@ifpackageloaded{tabulary}{\input{tabulary-xetex-bidi.def}}{}
-\@ifpackageloaded{tcolorbox}{\input{tcolorbox-xetex-bidi.def}}{}
-\@ifpackageloaded{tocstyle}{\input{tocstyle-xetex-bidi.def}}{}
-\@ifpackageloaded{tocbibind}{\@ifclassloaded{memoir}{}{\input{tocbibind-xetex-bidi.def}}}{}
-\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xetex-bidi.def}}}{}
-\@ifdefinitionfileloaded{tc-xetex}{\input{tc-xetex-bidi.def}}{}
-\@ifpackageloaded{todonotes}{\input{todonotes-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseauxtemplates}{\input{beamerbaseauxtemplates-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseboxes}{\input{beamerbaseboxes-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasecolor}{\input{beamerbasecolor-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasecompatibility}{\input{beamerbasecompatibility-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseframecomponents}{\input{beamerbaseframecomponents-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseframesize}{\input{beamerbaseframesize-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaselocalstructure}{\input{beamerbaselocalstructure-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasemisc}{\input{beamerbasemisc-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbasenavigation}{\input{beamerbasenavigation-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerbaseoverlay}{\input{beamerbaseoverlay-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemedefault}{\input{beamerinnerthemedefault-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemecircles}{\input{beamerinnerthemecircles-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemefocus}{\input{beamerinnerthemefocus-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemeinmargin}{\input{beamerinnerthemeinmargin-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthememetropolis}{\input{beamerinnerthememetropolis-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemerectangles}{\input{beamerinnerthemerectangles-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerinnerthemerounded}{\input{beamerinnerthemerounded-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemedefault}{\input{beamerouterthemedefault-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemefocus}{\input{beamerouterthemefocus-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemeinfolines}{\input{beamerouterthemeinfolines-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthememetropolis}{\input{beamerouterthememetropolis-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthememiniframes}{\input{beamerouterthememiniframes-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesidebar}{\input{beamerouterthemesidebar-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesplit}{\input{beamerouterthemesplit-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemeshadow}{\input{beamerouterthemeshadow-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesmoothbars}{\input{beamerouterthemesmoothbars-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemesmoothtree}{\input{beamerouterthemesmoothtree-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerouterthemetree}{\input{beamerouterthemetree-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerthemeHannover}{\input{beamerthemeHannover-xetex-bidi.def}}{}
-\@ifpackageloaded{beamerthemeSingapore}{\input{beamerthemeSingapore-xetex-bidi.def}}{}
+
+\ApplyPatchToPackages{%
+ adjmulticol, %
+ algorithm2e, %
+ amsmath, %
+ amstext, %
+ amsthm, %
+ arydshln, %
+ array, %
+ beamerbaseauxtemplates, %
+ beamerbaseboxes, %
+ beamerbasecolor, %
+ beamerbasecompatibility, %
+ beamerbaseframecomponents, %
+ beamerbaseframesize, %
+ beamerbaselocalstructure, %
+ beamerbasemisc, %
+ beamerbasenavigation, %
+ beamerbaseoverlay, %
+ beamerinnerthemecircles, %
+ beamerinnerthemedefault, %
+ beamerinnerthemefocus, %
+ beamerinnerthemeinmargin, %
+ beamerinnerthememetropolis, %
+ beamerinnerthemerectangles, %
+ beamerinnerthemerounded, %
+ beamerouterthemedefault, %
+ beamerouterthemefocus, %
+ beamerouterthemeinfolines, %
+ beamerouterthememetropolis, %
+ beamerouterthememiniframes, %
+ beamerouterthemesidebar, %
+ beamerouterthemesplit, %
+ beamerouterthemeshadow, %
+ beamerouterthemesmoothbars, %
+ beamerouterthemesmoothtree, %
+ beamerouterthemetree, %
+ beamerthemeHannover, %
+ beamerthemeSingapore, %
+ breqn, %
+ cals, %
+ caption, %
+ caption3, %
+ color, %
+ colortbl, %
+ crop, %
+ cuted, %
+ cutwin, %
+ dblfnote, %
+ diagbox, %
+ draftwatermark, %
+ eso-pic, %
+ empheq, %
+ fancybox, %
+ fancyhdr, %
+ fix2col, %
+ float, %
+ floatrow, %
+ flowfram, %
+ footnotebackref, %
+ framed, %
+ ftnright, %
+ geometry, %
+ graphicx, %
+ hvfloat, %
+ hyperref, %
+ lettrine, %
+ lineno, %
+ listings, %
+ longtable, %
+ lscape, %
+ mathtools, %
+ mdframed, %
+ media9, %
+ midfloat, %
+ minitoc, %
+ multicol, %
+ multienum, %
+ natbib, %
+ newfloat, %
+ nicematrix, %
+ ntheorem, %
+ ntheorem-hyper, %
+ overpic, %
+ pdfbase, %
+ pdflscape, %
+ pdfpages, %
+ pgfsys, %
+ picinpar, %
+ quotchap, %
+ ragged2e, %
+ rotating, %
+ sidecap, %
+ soul, %
+ stabular, %
+ subfigure, %
+ tabls, %
+ tabularx, %
+ tabulary, %
+ tcolorbox, %
+ titlesec, %
+ titletoc, %
+ tocbasic, %
+ tocbibind, %
+ tocloft, %
+ tocstyle, %
+ todonotes, %
+ wrapfig, %
+ xcolor, %
+ xltxtra %
+}
+
+\ApplyPatchToFiles{%
+ pgfcorescopes.code, %
+ pstricks %
+}[tex]
+
+\ApplyPatchToFile{tc-xetex}
\endinput
%%
%% End of file `latex-xetex-bidi.def'.
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/lineno-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/lineno-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/lineno-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{listings-xetex-bidi.def}[2018/09/15 v1.5 bidi adaptations for listings package for XeTeX engine]
+\ProvidesFile{listings-xetex-bidi.def}[2025/01/03 v1.6 bidi adaptations for listings package for XeTeX engine]
\lst at Key{captiondirection}{textdirection}{%
\lstKV at SwitchCases{#1}%
{textdirection:\\%
@@ -117,7 +117,7 @@
\endgroup%
}{}{}%
}
-\@ifpackageloaded{caption}{%
+\ApplyPatchIfPackageLoaded{caption}{%
\AtBeginCaption{%
\bidi at lst@ensure at caption@script{\@nonlatintrue}{\@nonlatinfalse}%
\bidi at lst@ensure at caption@direction{\@RTLfalse}{\@RTLtrue}%
Deleted: trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -1,336 +0,0 @@
-%%
-%% This is file `loadingorder-xetex-bidi.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% bidi.dtx (with options: `table,loadingorder-xetex-bidi.def')
-%%
-%% __________________________________________________
-%% Vafa Khalighi
-%%
-%% Copyright (c) 2007--2025 Vafa Khalighi
-%% Copyright (c) 2018--2020 bidi-tex GitHub Organization
-%%
-%% It may be distributed and/or modified under the LaTeX Project Public License,
-%% version 1.3c or higher (your choice). The latest version of
-%% this license is at: http://www.latex-project.org/lppl.txt
-%%
-%% This work is “author-maintained” (as per LPPL maintenance status)
-%% by Vafa Khalighi.
-%%
-%%
-%% \CheckSum{58641}
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
-\ProvidesFile{loadingorder-xetex-bidi.def}[2024/12/08 v0.99 making sure that bidi is the last package loaded]
-\bidi at isloaded{amsmath}
-\bidi at isloaded{amstext}
-\bidi at isloaded{amsthm}
-\bidi at isloaded{animate}
-\bidi at isloaded{breqn}
-\bidi at isloaded{cals}
-\bidi at isloaded{caption}
-\bidi at isloaded{crop}
-\bidi at isloaded{cuted}
-\bidi at isloaded{cutwin}
-\bidi at isloaded{color}
-\bidi at isloaded{dblfnote}
-\bidi at isloaded{diagbox}
-\bidi at isloaded{xcolor}
-\bidi at isloaded{colortbl}
-\bidi at isloaded{float}
-\bidi at isloaded{floatrow}
-\bidi at isloaded{flowfram}
-\bidi at isloaded{framed}
-\bidi at isloaded{ftnright}
-\bidi at isloaded{xltxtra}
-\bidi at isloaded{xunicode}
-\bidi at isloaded{wrapfig}
-\bidi at isloaded{graphicx}
-\bidi at isloaded{geometry}
-\bidi at isloaded{hvfloat}
-\bidi at isloaded{mdframed}
-\bidi at isloaded{midfloat}
-\bidi at isloaded{ntheorem}
-\bidi at isloaded{ntheorem-hyper}
-\bidi at isloaded{hyperref}
-\bidi at isloaded{fancybox}
-\bidi at isloaded{fancyhdr}
-\bidi at isloaded{fix2col}
-\bidi at isloaded{draftwatermark}
-\bidi at isloaded{empheq}
-\bidi at isloaded{overpic}
-\bidi at isloaded{pdfpages}
-\bidi at isloaded{listings}
-\bidi at isloaded{lettrine}
-\bidi at isloaded{lineno}
-\bidi at isloaded{media9}
-\bidi at isloaded{pstricks}
-\bidi at isloaded{pgf}
-\bidi at isloaded{picinpar}
-\bidi at isloaded{quotchap}
-\bidi at isloaded{tikz}
-\bidi at isloaded{titlesec}
-\bidi at isloaded{titletoc}
-\bidi at isloaded{array}
-\bidi at isloaded{soul}
-\bidi at isloaded{stabular}
-\bidi at isloaded{subfig}
-\bidi at isloaded{subfigure}
-\bidi at isloaded{supertabular}
-\bidi at isloaded{xtab}
-\bidi at isloaded{longtable}
-\bidi at isloaded{arydshln}
-\bidi at isloaded{multicol}
-\bidi at isloaded{multienum}
-\bidi at isloaded{minitoc}
-\bidi at isloaded{natbib}
-\bidi at isloaded{newfloat}
-\bidi at isloaded{ragged2e}
-\bidi at isloaded{rotating}
-\bidi at isloaded{tabls}
-\bidi at isloaded{tabulary}
-\bidi at isloaded{tocbasic}
-\bidi at isloaded{tocstyle}
-\bidi at isloaded{tocbibind}
-\bidi at isloaded{fontspec}
-\bidi at isloaded{arabxetex}
-\bidi at isloaded{polyglossia}
-\bidi at isloaded{fancyvrb}
-\AtBeginDocument{
- \if at bidi@amsmathloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package amsmath after bidi package. Please load package amsmath before bidi package, and then try to run xelatex on your document again}{}]{amsmath}
- \fi%
- \if at bidi@amstextloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package amstext after bidi package. Please load package amstext before bidi package, and then try to run xelatex on your document again}{}]{amstext}
- \fi%
- \if at bidi@amsthmloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package amsthm after bidi package. Please load package amsthm before bidi package, and then try to run xelatex on your document again}{}]{amsthm}
- \fi%
- \if at bidi@animateloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package animate after bidi package. Please load package animate before bidi package, and then try to run xelatex on your document again}{}]{animate}
- \fi%
- \if at bidi@breqnloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package breqn after bidi package. Please load package breqn before bidi package, and then try to run xelatex on your document again}{}]{breqn}
- \fi%
- \if at bidi@calsloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package cals after bidi package. Please load package cals before bidi package, and then try to run xelatex on your document again}{}]{cals}
- \fi%
- \if at bidi@captionloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package caption after bidi package. Please load package caption before bidi package, and then try to run xelatex on your document again}{}]{caption}
- \fi%
- \if at bidi@croploaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package crop after bidi package. Please load package crop before bidi package, and then try to run xelatex on your document again}{}]{crop}
- \fi%
- \if at bidi@colorloaded@\else
- \@ifpackageloaded{hyperref}{}{%
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package color after bidi package. Please load package color before bidi package, and then try to run xelatex on your document again}{}]{color}}
- \fi%
- \if at bidi@cutwinloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package cutwin after bidi package. Please load package cutwin before bidi package, and then try to run xelatex on your document again}{}]{cutwin}
- \fi%
- \if at bidi@cutedloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package cuted after bidi package. Please load package cuted before bidi package, and then try to run xelatex on your document again}{}]{cuted}
- \fi%
- \if at bidi@dblfnoteloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package dblfnote after bidi package. Please load package dblfnote before bidi package, and then try to run xelatex on your document again}{}]{dblfnote}
- \fi%
- \if at bidi@diagboxloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package diagbox after bidi package. Please load package diagbox before bidi package, and then try to run xelatex on your document again}{}]{diagbox}
- \fi%
- \if at bidi@xcolorloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xcolor after bidi package. Please load package xcolor before bidi package, and then try to run xelatex on your document again}{}]{xcolor}
- \fi%
- \if at bidi@colortblloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package colortbl after bidi package. Please load package colortbl before bidi package, and then try to run xelatex on your document again}{}]{colortbl}
- \fi%
- \if at bidi@floatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package float after bidi package. Please load package float before bidi package, and then try to run xelatex on your document again}{}]{float}
- \fi%
- \if at bidi@floatrowloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package floatrow after bidi package. Please load package floatrow before bidi package, and then try to run xelatex on your document again}{}]{floatrow}
- \fi%
- \if at bidi@flowframloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package flowfram after bidi package. Please load package flowfram before bidi package, and then try to run xelatex on your document again}{}]{flowfram}
- \fi%
- \if at bidi@framedloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package framed after bidi package. Please load package framed before bidi package, and then try to run xelatex on your document again}{}]{framed}
- \fi%
- \if at bidi@ftnrightloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package ftnright after bidi package. Please load package ftnright before bidi package, and then try to run xelatex on your document again}{}]{ftnright}
- \fi%
- \if at bidi@xltxtraloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xltxtra after bidi package. Please load package xltxtra before bidi package, and then try to run xelatex on your document again}{}]{xltxtra}
- \fi%
- \if at bidi@xunicodeloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xunicode after bidi package. Please load package xunicode before bidi package, and then try to run xelatex on your document again}{}]{xunicode}
- \fi%
- \if at bidi@wrapfigloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package wrapfig after bidi package. Please load package wrapfig before bidi package, and then try to run xelatex on your document again}{}]{wrapfig}
- \fi%
- \if at bidi@graphicxloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package graphicx after bidi package. Please load package graphicx before bidi package, and then try to run xelatex on your document again}{}]{graphicx}
- \fi%
- \if at bidi@geometryloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package geometry after bidi package. Please load package geometry before bidi package, and then try to run xelatex on your document again}{}]{geometry}
- \fi%
- \if at bidi@hvfloatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package hvfloat after bidi package. Please load package hvfloat before bidi package, and then try to run xelatex on your document again}{}]{hvfloat}
- \fi%
- \if at bidi@mdframedloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package mdframed after bidi package. Please load package mdframed before bidi package, and then try to run xelatex on your document again}{}]{mdframed}
- \fi%
- \if at bidi@midfloatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package midfloat after bidi package. Please load package midfloat before bidi package, and then try to run xelatex on your document again}{}]{midfloat}
- \fi%
- \if at bidi@ntheoremloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package ntheorem after bidi package. Please load package ntheorem before bidi package, and then try to run xelatex on your document again}{}]{ntheorem}
- \fi%
- \if at bidi@hyperrefloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref}
- \fi%
- \if at bidi@fancyboxloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fancybox after bidi package. Please load package fancybox before bidi package, and then try to run xelatex on your document again}{}]{fancybox}
- \fi%
- \if at bidi@fancyhdrloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr}
- \fi%
- \if at bidi@draftwatermarkloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package draftwatermark after bidi package. Please load package draftwatermark before bidi package, and then try to run xelatex on your document again}{}]{draftwatermark}
- \fi%
- \if at bidi@empheqloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package empheq after bidi package. Please load package empheq before bidi package, and then try to run xelatex on your document again}{}]{empheq}
- \fi%
- \if at bidi@overpicloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package overpic after bidi package. Please load package overpic before bidi package, and then try to run xelatex on your document again}{}]{overpic}
- \fi%
- \if at bidi@pdfpagesloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package pdfpages after bidi package. Please load package pdfpages before bidi package, and then try to run xelatex on your document again}{}]{pdfpages}
- \fi%
- \if at bidi@lettrineloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package lettrine after bidi package. Please load package lettrine before bidi package, and then try to run xelatex on your document again}{}]{lettrine}
- \fi
- \if at bidi@linenoloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package lineno after bidi package. Please load package lineno before bidi package, and then try to run xelatex on your document again}{}]{lineno}
- \fi%
- \if at bidi@listingsloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package listings after bidi package. Please load package listings before bidi package, and then try to run xelatex on your document again}{}]{listings}
- \fi%
- \csname if at bidi@media9loaded@\endcsname\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package media9 after bidi package. Please load package media9 before bidi package, and then try to run xelatex on your document again}{}]{media9}
- \fi%
- \if at bidi@pstricksloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package pstricks after bidi package. Please load package pstricks before bidi package, and then try to run xelatex on your document again}{}]{pstricks}
- \fi%
- \if at bidi@pgfloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package pgf after bidi package. Please load package pgf before bidi package, and then try to run xelatex on your document again}{}]{pgf}
- \fi%
- \if at bidi@picinparloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package picinpar after bidi package. Please load package picinpar before bidi package, and then try to run xelatex on your document again}{}]{picinpar}
- \fi%
- \if at bidi@quotchaploaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package quotchap after bidi package. Please load package quotchap before bidi package, and then try to run xelatex on your document again}{}]{quotchap}
- \fi%
- \if at bidi@tikzloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tikz after bidi package. Please load package tikz before bidi package, and then try to run xelatex on your document again}{}]{tikz}
- \fi%
- \if at bidi@titlesecloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package titlesec after bidi package. Please load package titlesec before bidi package, and then try to run xelatex on your document again}{}]{titlesec}
- \fi%
- \if at bidi@titletocloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package titletoc after bidi package. Please load package titletoc before bidi package, and then try to run xelatex on your document again}{}]{titletoc}
- \fi%
- \if at bidi@arrayloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package array after bidi package. Please load package array before bidi package, and then try to run xelatex on your document again}{}]{array}
- \fi%
- \if at bidi@stabularloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package stabular after bidi package. Please load package stabular before bidi package, and then try to run xelatex on your document again}{}]{stabular}
- \fi%
- \if at bidi@soulloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package soul after bidi package. Please load package soul before bidi package, and then try to run xelatex on your document again}{}]{soul}
- \fi%
- \if at bidi@subfigloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package subfig after bidi package. Please load package subfig before bidi package, and then try to run xelatex on your document again}{}]{subfig}
- \fi%
- \if at bidi@subfigureloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package subfigure after bidi package. Please load package subfigure before bidi package, and then try to run xelatex on your document again}{}]{subfigure}
- \fi%
- \if at bidi@supertabularloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package supertabular after bidi package. Please load package supertabular before bidi package, and then try to run xelatex on your document again}{}]{supertabular}
- \fi%
- \if at bidi@xtabloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package xtab after bidi package. Please load package xtab before bidi package, and then try to run xelatex on your document again}{}]{xtab}
- \fi%
- \if at bidi@longtableloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package longtable after bidi package. Please load package longtable before bidi package, and then try to run xelatex on your document again}{}]{longtable}
- \fi%
- \if at bidi@arydshlnloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package arydshln after bidi package. Please load package arydshln before bidi package, and then try to run xelatex on your document again}{}]{arydshln}
- \fi%
- \if at bidi@multicolloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package multicol after bidi package. Please load package multicol before bidi package, and then try to run xelatex on your document again}{}]{multicol}
- \fi%
- \if at bidi@multienumloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package multienum after bidi package. Please load package multienum before bidi package, and then try to run xelatex on your document again}{}]{multienum}
- \fi%
- \if at bidi@minitocloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package minitoc after bidi package. Please load package minitoc before bidi package, and then try to run xelatex on your document again}{}]{minitoc}
- \fi%
- \if at bidi@natbibloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package natbib after bidi package. Please load package natbib before bidi package, and then try to run xelatex on your document again}{}]{natbib}
- \fi%
- \if at bidi@newfloatloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package newfloat after bidi package. Please load package newfloat before bidi package, and then try to run xelatex on your document again}{}]{newfloat}
- \fi%
- \csname if at bidi@ragged2eloaded@\endcsname\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package ragged2e after bidi package. Please load package ragged2e before bidi package, and then try to run xelatex on your document again}{}]{ragged2e}
- \fi%
- \if at bidi@rotatingloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package rotating after bidi package. Please load package rotating before bidi package, and then try to run xelatex on your document again}{}]{rotating}
- \fi%
- \if at bidi@tablsloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tabls after bidi package. Please load package tabls before bidi package, and then try to run xelatex on your document again}{}]{tabls}
- \fi%
- \if at bidi@tabularyloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tabulary after bidi package. Please load package tabulary before bidi package, and then try to run xelatex on your document again}{}]{tabulary}
- \fi%
- \if at bidi@tocbasicloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tocbasic after bidi package. Please load package tocbasic before bidi package, and then try to run xelatex on your document again}{}]{tocbasic}
- \fi%
- \if at bidi@tocstyleloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tocstyle after bidi package. Please load package tocstyle before bidi package, and then try to run xelatex on your document again}{}]{tocstyle}
- \fi%
- \if at bidi@tocbibindloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package tocbibind after bidi package. Please load package tocbibind before bidi package, and then try to run xelatex on your document again}{}]{tocbibind}
- \fi%
- \if at bidi@fontspecloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fontspec after bidi package. Please load package fontspec before bidi package, and then try to run xelatex on your document again}{}]{fontspec}
- \fi%
- \if at bidi@arabxetexloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package arabxetex after bidi package. Please load package arabxetex before bidi package, and then try to run xelatex on your document again}{}]{arabxetex}
- \fi%
- \if at bidi@polyglossialoaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package polyglossia after bidi package. Please load package polyglossia before bidi package, and then try to run xelatex on your document again}{}]{polyglossia}
- \fi%
- \if at bidi@fancyvrbloaded@\else
- \bidi at isloaded[\PackageError{bidi}{Oops! you have loaded package fancyvrb after bidi package. Please load package fancyvrb before bidi package, and then try to run xelatex on your document again}{}]{fancyvrb}
- \fi%
-}
-\endinput
-%%
-%% End of file `loadingorder-xetex-bidi.def'.
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{longtable-xetex-bidi.def}[2022/05/20 v0.6 bidi adaptations for longtable package for XeTeX engine]
+\ProvidesFile{longtable-xetex-bidi.def}[2025/01/03 v0.7 bidi adaptations for longtable package for XeTeX engine]
\def\LT at array[#1]#2{%
\refstepcounter{table}\stepcounter{LT at tables}%
\if l#1%
@@ -101,7 +101,7 @@
\fi
\endgraf\vskip\baselineskip}%
\hss}}}
-\@ifpackageloaded{caption}{%
+\ApplyPatchCodeToPackage{caption}{%
\renewcommand\LT at makecaption[3]{%
\caption at LT@make{%
\caption at LT@settype\LTcaptype
@@ -118,7 +118,7 @@
\caption@@make{#2}{#3}\endgraf
\caption at make@below
\caption at end}}%
-}{}
+}
\def\LT at startpbox#1{%
\bgroup\color at begingroup
\let\@footnotetext\LT at p@ftntext
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/lscape-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/lscape-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/lscape-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,8 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{lscape-xetex-bidi.def}[2022/07/14 v0.2 bidi adaptations for lscape package for XeTeX engine]
+\ProvidesFile{lscape-xetex-bidi.def}[2025/01/03 v0.3 bidi adaptations for lscape package for XeTeX engine]
+\RequirePackage{graphicx}
\bidi at patchcmd{\LS at rot}{\rotatebox{90}{\box\@outputbox}}{%
\if at RTL
\rotatebox[origin=br]{-90}{\box\@outputbox}%
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/mathtools-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/mathtools-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/mathtools-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,8 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{mathtools-xetex-bidi.def}[2018/01/07 v0.1 bidi adaptations for mathtools package for XeTeX engine]
+\ProvidesFile{mathtools-xetex-bidi.def}[2025/01/03 v0.2 bidi adaptations for mathtools package for XeTeX engine]
+\RequirePackage{graphicx}
\MHInternalSyntaxOn
\def\MT_define_tagform:nwnn #1[#2]#3#4{
\@namedef{MT_tagform_#1:n}##1
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Added: trunk/Master/texmf-dist/tex/xelatex/bidi/media9-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/media9-xetex-bidi.def (rev 0)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/media9-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -0,0 +1,44 @@
+%%
+%% This is file `media9-xetex-bidi.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bidi.dtx (with options: `table,media9-xetex-bidi.def')
+%%
+%% __________________________________________________
+%% Vafa Khalighi
+%%
+%% Copyright (c) 2007--2025 Vafa Khalighi
+%% Copyright (c) 2018--2020 bidi-tex GitHub Organization
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “author-maintained” (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%%
+%%
+%% \CheckSum{57381}
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\ProvidesFile{media9-xetex-bidi.def}[2025/01/03 v0.1 bidi adaptations for media9 package for XeTeX engine]
+\RequirePackage{bidi-media9}
+\endinput
+%%
+%% End of file `media9-xetex-bidi.def'.
Property changes on: trunk/Master/texmf-dist/tex/xelatex/bidi/media9-xetex-bidi.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{memoir-xetex-bidi.def}[2017/06/09 v0.6 bidi adaptations for memoir class for XeTeX engine]
+\ProvidesFile{memoir-xetex-bidi.def}[2025/01/03 v0.7 bidi adaptations for memoir class for XeTeX engine]
\renewcommand{\keepthetitle}{%
\@bsmtitlempty
\global\let\thanks\relax
@@ -147,7 +147,7 @@
} % end of the \parbox
\fi
\vskip\belowcaptionskip}
-\@ifpackageloaded{caption}{%
+\ApplyPatchCodeToPackage{caption}{%
\AtBeginPackage{caption}{
\ClassWarningNoLine{memoir}{%
You are using the caption package with the memoir \MessageBreak
@@ -188,7 +188,7 @@
\normalsize
\@makecaption{\csname fnum@##1\endcsname}{\ignorespaces ##3}\par
\endgroup}
-}}{}
+}}
\renewenvironment{thebibliography}[1]{%
\bibsection
\if at RTL\if at LTRbibitems\@RTLfalse\else\fi\else\if at RTLbibitems\@RTLtrue\else\fi\fi
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/nicematrix-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/nicematrix-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/nicematrix-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/pdfbase-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pdfbase-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pdfbase-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/pdflscape-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pdflscape-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pdflscape-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/pgfsys.code-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pgfsys.code-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pgfsys.code-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,8 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{sidecap-xetex-bidi.def}[2010/08/01 v0.1 bidi adaptations for sidecap package for XeTeX engine]
+\ProvidesFile{sidecap-xetex-bidi.def}[2025/01/03 v0.2 bidi adaptations for sidecap package for XeTeX engine]
+\RequirePackage{ragged2e}
\renewcommand*{\SC at FLOAT}[2]{\if at RTL%
\isSC at ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}\else%
\isSC at ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}\fi}
@@ -44,6 +45,31 @@
\renewcommand*\SC at justify@caption{\if at RTL%
\isSC at ODD{\RaggedLeft}{\RaggedRight}\else%
\isSC at ODD{\RaggedRight}{\RaggedLeft}\fi}
+
+\@ifpackagewith{sidecap}{innercaption}{%
+\if at RTL \renewcommand*{\SC at FLOAT}[2]{%
+ \isSC at ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}}
+ \renewcommand*\SC at justify@caption{%
+ \isSC at ODD{\RaggedRight}{\RaggedLeft}}\else
+ \renewcommand*{\SC at FLOAT}[2]{%
+ \isSC at ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}}
+ \renewcommand*\SC at justify@caption{%
+ \isSC at ODD{\RaggedLeft}{\RaggedRight}}\fi
+}{}
+
+\@ifpackagewith{sidecap}{rightcaption}{%
+ \if at RTL\renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
+ \def\SC at justify@caption{\RaggedLeft}\else%
+ \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
+ \def\SC at justify@caption{\RaggedRight}\fi%
+}{}
+
+\@ifpackagewith{sidecap}{leftcaption}{%
+\if at RTL \renewcommand*{\SC at FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}}
+ \def\SC at justify@caption{\RaggedRight}\else%
+ \renewcommand*{\SC at FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}}
+ \def\SC at justify@caption{\RaggedLeft}\fi%
+}{}
\endinput
%%
%% End of file `sidecap-xetex-bidi.def'.
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tcolorbox-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tcolorbox-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tcolorbox-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,9 +37,10 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{tocbibind-xetex-bidi.def}[2017/06/09 v0.4 bidi adaptations for tocbibind package for XeTeX engine]
+\ProvidesFile{tocbibind-xetex-bidi.def}[2025/01/03 v0.5 bidi adaptations for tocbibind package for XeTeX engine]
+\IfClassLoadedT{memoir}{\endinput}
\if at dotocbib
- \@ifpackageloaded{natbib}{}{% natbib not loaded
+ \ApplyPatchIfPackageLoadedF{natbib}{% natbib not loaded
\renewcommand{\bibsection}{\t at cb@bchapsec}
\renewenvironment{thebibliography}[1]{%
\bibsection
@@ -64,9 +65,11 @@
{\@latex at warning{Empty `thebibliography' environment}}%
\endlist}
+\ApplyPatchCodeToPackage{chapterbib}{%
\@ifpackagewith{chapterbib}{sectionbib}%
{\renewcommand{\sectionbib}[2]{}}%
- {}
+ {}%
+ }
\fi
\if at inltxdoc\else
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -37,7 +37,8 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{tocloft-xetex-bidi.def}[2023/08/02 v0.3 bidi adaptations for tocloft package for XeTeX engine]
+\ProvidesFile{tocloft-xetex-bidi.def}[2025/01/03 v0.4 bidi adaptations for tocloft package for XeTeX engine]
+\IfClassLoadedT{memoir}{\endinput}
\renewcommand{\cftpnumalign}{\if at RTL l\else r\fi}
\let\cftdot\@SepMark
\if at cfthaspart
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def 2025-01-03 22:48:12 UTC (rev 73283)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def 2025-01-03 22:48:37 UTC (rev 73284)
@@ -20,7 +20,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{58641}
+%% \CheckSum{57381}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
More information about the tex-live-commits
mailing list.