texlive[48852] Master/texmf-dist: bidi (7oct18)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 7 23:08:27 CEST 2018


Revision: 48852
          http://tug.org/svn/texlive?view=revision&revision=48852
Author:   karl
Date:     2018-10-07 23:08:27 +0200 (Sun, 07 Oct 2018)
Log Message:
-----------
bidi (7oct18)

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/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/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/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/loadingorder-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-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/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/pdfpages-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.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/scrlettr-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

Modified: trunk/Master/texmf-dist/doc/xelatex/bidi/README
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bidi/README	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/doc/xelatex/bidi/README	2018-10-07 21:08:27 UTC (rev 48852)
@@ -1,6 +1,6 @@
 ___________________
 The bidi package
-v34.4
+v34.6
 
 This package provides a convenient interface for typesetting
 bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -38,7 +38,7 @@
 
   <http://tug.org/mailman/listinfo/persiantex>
 
-Current version release date: 2018/10/04
+Current version release date: 2018/10/08
 
 ___________________
 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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-intro.ltx	2018-10-07 21:08:27 UTC (rev 48852)
@@ -19,7 +19,7 @@
 * 
 * Copyright (c) 2009--2018 Vafa Khalighi
 * 
-* v34.4, 2018/10/04
+* v34.6, 2018/10/08
 * 
 * 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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc-title.ltx	2018-10-07 21:08:27 UTC (rev 48852)
@@ -3,7 +3,7 @@
 \begin{document}
 \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
 \LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-\large User documentation for \textcolor{blue!65!black}{version 34.4}}
+\large User documentation for \textcolor{blue!65!black}{version 34.6}}
  \author{Vafa Khalighi\\
   \url{persian-tex at tug.org}}
 \setcounter{page}{0}
@@ -14,7 +14,7 @@
 \textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
 
 \Large
-User documentation for \textcolor{blue!65!black}{version 34.4}}
+User documentation for \textcolor{blue!65!black}{version 34.6}}
 
 \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi-doc.ltx	2018-10-07 21:08:27 UTC (rev 48852)
@@ -1,7 +1,7 @@
 \documentclass{ltxdoc}
 \input{bidi-doc-preamble.ltx}
 \hypersetup{%
-  pdftitle={User documentation for version 34.4 of the bidi
+  pdftitle={User documentation for version 34.6 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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx	2018-10-07 21:08:27 UTC (rev 48852)
@@ -5,7 +5,7 @@
 %<*readme>
 ___________________
 The bidi package
-v34.4
+v34.6
 
 This package provides a convenient interface for typesetting
 bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -44,7 +44,7 @@
   <http://tug.org/mailman/listinfo/persiantex>
   
   
-Current version release date: 2018/10/04
+Current version release date: 2018/10/08
 
 ___________________
 Vafa Khalighi
@@ -242,7 +242,7 @@
 \documentclass{ltxdoc}
 \input{bidi-doc-preamble.ltx}
 \hypersetup{%
-  pdftitle={Source documentation for version 34.4 of the bidi
+  pdftitle={Source documentation for version 34.6 of the bidi
                 package}%
 }
 \EnableCrossrefs
@@ -261,7 +261,7 @@
 % \GetFileInfo{\jobname.dtx}
 % \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
 %\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Source documentation for \textcolor{blue!65!black}{version 34.4}}
+%\large Source documentation for \textcolor{blue!65!black}{version 34.6}}
 % \author{Vafa Khalighi\\
 %  \url{persian-tex at tug.org}}
 %\setcounter{page}{0}
@@ -272,7 +272,7 @@
 %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
 %
 %\Large
-%Source documentation for \textcolor{blue!65!black}{version 34.4}}
+%Source documentation for \textcolor{blue!65!black}{version 34.6}}
 %
 %\vskip 0pt plus 3fill
 %\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -338,7 +338,7 @@
 %\iffalse
 %<*table>
 %\fi
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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
@@ -1951,8 +1951,8 @@
 % \section{File \texttt{bidi.sty}}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/10/04}
-\def\bidi at version{34.4}
+\def\bididate{2018/10/08}
+\def\bidi at version{34.6}
 \ProvidesPackage{bidi}[\bididate\space v\bidi at version\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi at info{****************************************************^^J%
@@ -2016,6 +2016,7 @@
 \newcommand*{\setnonlatin}{\@nonlatintrue}
 \eqnewif{\if at RTLtab}{\if at tab@rl}
 \newif\if at hboxRconstruct
+\newif\if at bidi@pdfencrypt
 \newcommand*{\setRTLtable}{\@RTLtabtrue}
 \newcommand*{\setLTRtable}{\@RTLtabfalse}
 \newif\if at bidi@pdfm at mark
@@ -2024,7 +2025,6 @@
 \newif\if at LTRbibitems
 \newif\if at RTLbibitems
 \newif\if at extrafootnotefeatures
-\newif\if at parafootRTL
 \newif\if at RTLcolumnfootnotes
 \eqnewif{\if at RTL@footnote}{\if at rl@footnote}
 \newif\if at bidi@list at minipage@parbox
@@ -2037,7 +2037,7 @@
 }
 \newcommand*{\@bidi at pdfcustomproperties}{%
   This is the bidi package, Version \bidi at version,
-  Released October 1, 2018. 
+  Released October 8, 2018. 
 }
 \@RTLmainfalse
 \AtBeginDocument{%
@@ -2237,12 +2237,23 @@
     \RequirePackage{bidi-perpage}%
     \ResetCounterPerPage{footnote}%
   \fi
-  \special{pdf:encrypt
-    userpw (\bidi at pdfencrypt@userpassword)
-    ownerpw (\bidi at pdfencrypt@ownerpassword)
-    length \bidi at pdfencrypt@keylength
-    perm \bidi at pdfencrypt@permissionflags
-  }%
+  \ifx\bidi at pdfencrypt@ownerpassword\bidi at empty
+    \ifx\bidi at pdfencrypt@userpassword\bidi at empty
+      \@bidi at pdfencryptfalse
+    \else
+      \@bidi at pdfencrypttrue
+    \fi
+  \else
+    \@bidi at pdfencrypttrue 
+  \fi
+  \if at bidi@pdfencrypt
+    \special{pdf:encrypt
+      userpw (\bidi at pdfencrypt@userpassword)
+      ownerpw (\bidi at pdfencrypt@ownerpassword)
+      length \bidi at pdfencrypt@keylength
+      perm \bidi at pdfencrypt@permissionflags
+    }%
+  \fi
 }
 \AtEndDocument{%
    \special{pdf:%
@@ -2265,9 +2276,9 @@
 %\fi
 % \section{File \texttt{bidi.tex}}
 %    \begin{macrocode}
-\def\bididate{2018/10/04}
+\def\bididate{2018/10/08}
 \catcode`@=11
-\def\bidi at version{34.4}
+\def\bidi at version{34.6}
 \let \protect \relax
 \newlinechar`\^^J
 \edef\@bidi at info{****************************************************^^J%
@@ -2366,7 +2377,7 @@
 }
 \def\@bidi at pdfcustomproperties{%
   This is the bidi package, Version \bidi at version,
-  Released October 1, 2018. 
+  Released October 8, 2018. 
 }
 \def\bidi at pdfm@mark{%
   \special{pdf:%
@@ -9534,7 +9545,9 @@
 %\fi
 % \section{File \texttt{extrafootnotefeatures-xetex-bidi.def}}
 %    \begin{macrocode}
-\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2018/09/27 v1.4 bidi extra footnote features for XeTeX engine]
+\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2018/10/08 v1.6 bidi extra footnote features for XeTeX engine]
+\newif\if at bidi@void at footins
+\newif\if at bidi@void@@mpfootins
 \newcommand*{\@bidi at before@Hy at hyperfootnotes}{%
 \if at bidi@csundef{ifHy at hyperfootnotes}{}{%
 \if at bidi@csundef{HLTR@@LTRfootnotetext}{}{%
@@ -9576,8 +9589,28 @@
 \let\LRfootnoterule\relax
 \def\footnoterule{\kern-3\p@
   \hrule \@width \columnwidth \kern 2.6\p@}
-\bidi at ensure@newcommand{\setRTLparagraphfootnotes}{\@parafootRTLtrue}
-\bidi at ensure@newcommand{\setLTRparagraphfootnotes}{\@parafootRTLfalse}
+\newcommand{\@preamnormalfmt}{%
+  \parindent 1em%
+  \noindent
+} 
+\newcommand{\@normalfootfmt}[1]{%
+  \@preamnormalfmt
+  \footfootmark
+  \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
+  \@finalstrut\strutbox
+}
+\newcommand{\@normalRTLfootfmt}[1]{%
+  \@preamnormalfmt
+  \RTLfootfootmark
+  \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}%
+  \@finalstrut\strutbox
+}
+\newcommand{\@normalLTRfootfmt}[1]{%
+  \@preamnormalfmt
+  \LTRfootfootmark
+  \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}%
+  \@finalstrut\strutbox
+}
 \renewcommand{\@footnotetext}[1]{%
     \insert\footins{%
     \if at RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
@@ -9589,9 +9622,7 @@
     \protected at edef\@currentlabel{%
       \csname p at footnote\endcsname\@thefnmark}%
     \color at begingroup
-      \@makefntext{%
-        \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
-        \@finalstrut\strutbox}%
+      \@normalfootfmt{#1}%
     \color at endgroup}%    
       \m at mmf@prepare}
 \renewcommand{\@RTLfootnotetext}[1]{%
@@ -9605,9 +9636,7 @@
     \protected at edef\@currentlabel{%
       \csname p at footnote\endcsname\@thefnmark}%
     \color at begingroup
-      \@makefntext{%
-        \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}%
-        \@finalstrut\strutbox}%
+      \@normalRTLfootfmt{#1}%
     \color at endgroup}%    
       \m at mmf@prepare}
 \renewcommand{\@LTRfootnotetext}[1]{%
@@ -9621,9 +9650,7 @@
     \protected at edef\@currentlabel{%
       \csname p at footnote\endcsname\@thefnmark}%
     \color at begingroup
-      \@makefntext{%
-        \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}%
-        \@finalstrut\strutbox}%
+      \@normalLTRfootfmt{#1}%
     \color at endgroup}%    
       \m at mmf@prepare}
 \renewcommand{\@mpfootnotetext}[1]{%
@@ -9630,40 +9657,34 @@
   \global\setbox\@mpfootins\vbox{\if at RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
     \unvbox\@mpfootins
     \def\baselinestretch{\m at m@footnote at spacing}%
+    \reset at font%
     \foottextfont \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
       \csname p at mpfootnote\endcsname\@thefnmark}%
   \color at begingroup
-  \reset at font%
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
-      \@finalstrut\strutbox}%
+    \@normalfootfmt{#1}%
   \color at endgroup}}
 \renewcommand{\@mpLTRfootnotetext}[1]{%
   \global\setbox\@mpfootins\vbox{\@RTLfalse%
     \unvbox\@mpfootins
     \def\baselinestretch{\m at m@footnote at spacing}%
+    \reset at font%
     \LTRfoottextfont \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
       \csname p at mpfootnote\endcsname\@thefnmark}%
   \color at begingroup
-  \reset at font%
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}%
-      \@finalstrut\strutbox}%
+    \@normalLTRfootfmt{#1}%
   \color at endgroup}}
 \renewcommand{\@mpRTLfootnotetext}[1]{%
   \global\setbox\@mpfootins\vbox{\@RTLtrue%
     \unvbox\@mpfootins
     \def\baselinestretch{\m at m@footnote at spacing}%
+    \reset at font%
     \RTLfoottextfont \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
       \csname p at mpfootnote\endcsname\@thefnmark}%
   \color at begingroup
-  \reset at font%
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}%
-      \@finalstrut\strutbox}%
+    \@normalRTLfootfmt{#1}%
   \color at endgroup}}
 \let\m at mold@footnotetext\@footnotetext
 \let\m at mold@LTRfootnotetext\@LTRfootnotetext
@@ -9679,7 +9700,9 @@
   \let\@mpfootnotetext\m at mold@mpfootnotetext
   \let\@mpLTRfootnotetext\m at mold@mpLTRfootnotetext
   \let\@mpRTLfootnotetext\m at mold@mpRTLfootnotetext
-  \@bidi at after@Hy at hyperfootnotes}
+  \@bidi at after@Hy at hyperfootnotes
+  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
+}
 \@ifclassloaded{memoir}{\let\plainfootnotes\normalfootnotes}{}
 \bidi at ensure@newcommand*{\RTLcolumnfootnotes}{\@RTLcolumnfootnotestrue}
 \bidi at ensure@newcommand*{\LTRcolumnfootnotes}{\@RTLcolumnfootnotesfalse}
@@ -9742,12 +9765,27 @@
 \newcommand*{\bidi at star@footmarkwidth}{%
   \setlength{\footmarkwidth}{0em plus.4em minus.4em}%
 }
+\bidi at normal@footmarkwidth
 \bidi at ensure@newcommand{\m at mdoextrafeet}{\extrafeetins}
 \bidi at ensure@newcommand*{\extrafeetins}{%
   \setbox\@outputbox \vbox{%
     \boxmaxdepth \@maxdepth
     \unvbox\@outputbox
-    \ifvoid\footinsv at r\else\@footstartv at r\@footgroupv at r\fi
+    \ifvoid\footinsv at r
+      \ifvoid\footinsv at l
+      \else
+        \@footstartv at l
+        \@LTRfootgroupv at l
+      \fi
+    \else
+      \@footstartv at r
+      \@footgroupv at r
+      \ifvoid\footinsv at l
+      \else
+        \@@footstart@@v at l
+        \@LTRfootgroupv at l
+      \fi
+    \fi
     \ifvoid\@bidi at copyins@
     \else
       \vskip \skip\@bidi at copyins@
@@ -9772,9 +9810,28 @@
 \bidi at ensure@newcommand{\m at mdoextrafeetmini}{%
   \extrafeetminihook}
 \bidi at ensure@newcommand{\extrafeetendmini}{%
-  \ifvoid\@mpfootinsv at r\else
+  \ifvoid\@mpfootinsv at r
+    \ifvoid\@mpfootinsv at l
+    \else
+      \vskip\skip\@mpfootins
+      \normalcolor
+      \if at bidi@void@@mpfootins
+        \footnoterule
+      \fi
+      \mp at LTRfootgroupv@l
+    \fi
+  \else
     \vskip\skip\@mpfootins
-    \normalcolor\footnoterule\mp at footgroupv@r
+    \normalcolor
+    \if at bidi@void@@mpfootins
+      \footnoterule
+    \fi
+    \mp at footgroupv@r
+    \ifvoid\@mpfootinsv at l
+    \else
+      \vskip\skip\@mpfootins
+      \normalcolor\mp at LTRfootgroupv@l
+    \fi
   \fi
   \extrafeetendminihook}
 \bidi at ensure@newcommand{\extrafeetendminihook}{}
@@ -9782,7 +9839,10 @@
 \def\endminipage{%
   \par
   \unskip
-  \ifvoid\@mpfootins\else
+  \ifvoid\@mpfootins
+    \global\@bidi at void@@mpfootinstrue
+  \else
+    \global\@bidi at void@@mpfootinsfalse
     \vskip\skip\@mpfootins
     \normalcolor
     \footnoterule
@@ -9806,8 +9866,11 @@
 \count\footinsv at r=1000 % no magnifcation
 \dimen\footinsv at r=\footinsdim
 \m at make@footstart{v at r}
+\newinsert\footinsv at l
+\skip\footinsv at l\bigskipamount
 \bidi at ensure@newcommand{\@footgroupv at r}{}
 \newinsert\@mpfootinsv at r
+\newinsert\@mpfootinsv at l
 \bidi at ensure@newcommand{\mp at footgroupv@r}{}
 \newcount\m at m@k \newdimen\m at m@h
 \@ifpackageloaded{multicol}{%
@@ -9924,52 +9987,6 @@
     \@twocolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\twocolumnfootstyle}[1]{%
-  \m at make@twocolfootnotetext{#1}%
-  \m at make@mptwocolfootnotetext{#1}%
-  \m at make@twocolfootfmt{#1}%
-  \m at make@twocol at footgroup{#1}%
-  \m at make@mptwocol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@twocolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mptwocolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@twocol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mptwocol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@twocolfootnotetext}[1]{%
-  \bidi at namelongdef{@twocolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@twocolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mptwocolfootnotetext}[1]{%
-\bidi at namelongdef{@mptwocolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@twocolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@twocolfootfmt}[1]{%
-  \@namedef{@twocolfootfmt#1}##1{%
-    \@preamtwofmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@twocol at footgroup}[1]{%
   \@namedef{@twocol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -10073,51 +10090,6 @@
   \color at begingroup
     \@threecolRTLfootfmt{#1}%
   \color at endgroup}\m at mmf@prepare}
-\bidi at ensure@newcommand{\threecolumnfootstyle}[1]{%
-  \m at make@threecolfootnotetext{#1}%
-  \m at make@mpthreecolfootnotetext{#1}%
-  \m at make@threecolfootfmt{#1}%
-  \m at make@threecol at footgroup{#1}%
-  \m at make@mpthreecol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-    \@nameuse{@threecolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-    \@nameuse{@mpthreecolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@threecol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpthreecol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=3\footinsdim
-  \expandafter\count\csname footins#1\endcsname=333\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@threecolfootnotetext}[1]{%
-\bidi at namelongdef{@threecolfootnotetext#1}##1{%
-  \insert\@nameuse{footins#1}{%
-  \def\baselinestretch{\m at m@footnote at spacing}%
-  \reset at font\@nameuse{foottextfont#1}%
-  \@preamfntext
-  \protected at edef\@currentlabel{%
-    \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@threecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpthreecolfootnotetext}[1]{%
-\bidi at namelongdef{@mpthreecolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@threecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@threecolfootfmt}[1]{%
-\bidi at namelongdef{@threecolfootfmt#1}##1{%
-  \@preamthreefmt
-  {\@nameuse{footfootmark#1}\strut
-   {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@threecol at footgroup}[1]{%
 \@namedef{@threecol at footgroup#1}{{%
  \def\baselinestretch{\m at m@footnote at spacing}%
@@ -10227,52 +10199,6 @@
     \@fourcolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\fourcolumnfootstyle}[1]{%
-  \m at make@fourcolfootnotetext{#1}%
-  \m at make@mpfourcolfootnotetext{#1}%
-  \m at make@fourcolfootfmt{#1}%
-  \m at make@fourcol at footgroup{#1}%
-  \m at make@mpfourcol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@fourcolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpfourcolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@fourcol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpfourcol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@fourcolfootnotetext}[1]{%
-  \bidi at namelongdef{@fourcolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@fourcolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpfourcolfootnotetext}[1]{%
-\bidi at namelongdef{@mpfourcolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@fourcolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@fourcolfootfmt}[1]{%
-  \@namedef{@fourcolfootfmt#1}##1{%
-    \@preamfourfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@fourcol at footgroup}[1]{%
   \@namedef{@fourcol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -10382,52 +10308,6 @@
     \@fivecolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\fivecolumnfootstyle}[1]{%
-  \m at make@fivecolfootnotetext{#1}%
-  \m at make@mpfivecolfootnotetext{#1}%
-  \m at make@fivecolfootfmt{#1}%
-  \m at make@fivecol at footgroup{#1}%
-  \m at make@mpfivecol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@fivecolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpfivecolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@fivecol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpfivecol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@fivecolfootnotetext}[1]{%
-  \bidi at namelongdef{@fivecolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@fivecolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpfivecolfootnotetext}[1]{%
-\bidi at namelongdef{@mpfivecolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@fivecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@fivecolfootfmt}[1]{%
-  \@namedef{@fivecolfootfmt#1}##1{%
-    \@preamfivefmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@fivecol at footgroup}[1]{%
   \@namedef{@fivecol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -10537,52 +10417,6 @@
     \@sixcolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\sixcolumnfootstyle}[1]{%
-  \m at make@sixcolfootnotetext{#1}%
-  \m at make@mpsixcolfootnotetext{#1}%
-  \m at make@sixcolfootfmt{#1}%
-  \m at make@sixcol at footgroup{#1}%
-  \m at make@mpsixcol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@sixcolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpsixcolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@sixcol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpsixcol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@sixcolfootnotetext}[1]{%
-  \bidi at namelongdef{@sixcolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@sixcolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpsixcolfootnotetext}[1]{%
-\bidi at namelongdef{@mpsixcolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@sixcolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@sixcolfootfmt}[1]{%
-  \@namedef{@sixcolfootfmt#1}##1{%
-    \@preamsixfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@sixcol at footgroup}[1]{%
   \@namedef{@sixcol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -10692,52 +10526,6 @@
     \@sevencolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\sevencolumnfootstyle}[1]{%
-  \m at make@sevencolfootnotetext{#1}%
-  \m at make@mpsevencolfootnotetext{#1}%
-  \m at make@sevencolfootfmt{#1}%
-  \m at make@sevencol at footgroup{#1}%
-  \m at make@mpsevencol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@sevencolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpsevencolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@sevencol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpsevencol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@sevencolfootnotetext}[1]{%
-  \bidi at namelongdef{@sevencolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@sevencolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpsevencolfootnotetext}[1]{%
-\bidi at namelongdef{@mpsevencolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@sevencolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@sevencolfootfmt}[1]{%
-  \@namedef{@sevencolfootfmt#1}##1{%
-    \@preamsevenfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@sevencol at footgroup}[1]{%
   \@namedef{@sevencol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -10847,52 +10635,6 @@
     \@eightcolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\eightcolumnfootstyle}[1]{%
-  \m at make@eightcolfootnotetext{#1}%
-  \m at make@mpeightcolfootnotetext{#1}%
-  \m at make@eightcolfootfmt{#1}%
-  \m at make@eightcol at footgroup{#1}%
-  \m at make@mpeightcol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@eightcolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpeightcolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@eightcol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpeightcol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@eightcolfootnotetext}[1]{%
-  \bidi at namelongdef{@eightcolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@eightcolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpeightcolfootnotetext}[1]{%
-\bidi at namelongdef{@mpeightcolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@eightcolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@eightcolfootfmt}[1]{%
-  \@namedef{@eightcolfootfmt#1}##1{%
-    \@preameightfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@eightcol at footgroup}[1]{%
   \@namedef{@eightcol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -11002,52 +10744,6 @@
     \@ninecolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\ninecolumnfootstyle}[1]{%
-  \m at make@ninecolfootnotetext{#1}%
-  \m at make@mpninecolfootnotetext{#1}%
-  \m at make@ninecolfootfmt{#1}%
-  \m at make@ninecol at footgroup{#1}%
-  \m at make@mpninecol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@ninecolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpninecolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@ninecol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpninecol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@ninecolfootnotetext}[1]{%
-  \bidi at namelongdef{@ninecolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@ninecolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpninecolfootnotetext}[1]{%
-\bidi at namelongdef{@mpninecolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@ninecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@ninecolfootfmt}[1]{%
-  \@namedef{@ninecolfootfmt#1}##1{%
-    \@preamninefmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@ninecol at footgroup}[1]{%
   \@namedef{@ninecol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -11157,52 +10853,6 @@
     \@tencolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\tencolumnfootstyle}[1]{%
-  \m at make@tencolfootnotetext{#1}%
-  \m at make@mptencolfootnotetext{#1}%
-  \m at make@tencolfootfmt{#1}%
-  \m at make@tencol at footgroup{#1}%
-  \m at make@mptencol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@tencolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mptencolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@tencol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mptencol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@tencolfootnotetext}[1]{%
-  \bidi at namelongdef{@tencolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@tencolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mptencolfootnotetext}[1]{%
-\bidi at namelongdef{@mptencolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@tencolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@tencolfootfmt}[1]{%
-  \@namedef{@tencolfootfmt#1}##1{%
-    \@preamtenfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@tencol at footgroup}[1]{%
   \@namedef{@tencol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -11233,7 +10883,6 @@
 \m at minterparanoteglue{1em plus.4em minus.4em}
 \@ifpackageloaded{multicol}{%
 \bidi at ensure@newcommand*{\m at mmakehboxofhboxes}{%
- \if at parafootRTL\@RTLtrue\else\@RTLfalse\fi%
  \hsize\textwidth%
  \setbox0=\hbox{}%
   \loop
@@ -11244,7 +10893,6 @@
   \repeat}
 }{%
 \bidi at ensure@newcommand*{\m at mmakehboxofhboxes}{%
- \if at parafootRTL\@RTLtrue\else\@RTLfalse\fi%
  \setbox0=\hbox{}%
   \loop
     \unpenalty
@@ -11277,12 +10925,22 @@
   \m at make@para at footstart{v at r}%
   \let\@footgroupv at r\@para at footgroupv@r
   \let\@footstartv at r\@para at footstartv@r
+  \dimen\footinsv at l=\footinsdim
+  \count\footinsv at l=1000\relax
+  \bidi at make@para at LTRfootgroup{v at l}%
+  \m at make@para at footstart{v at l}%
+  \bidi at make@para at footstart@@{v at l}%
+  \let\@LTRfootgroupv at l\@para at LTRfootgroupv@l
+  \let\@footstartv at l\@para at footstartv@l
+  \let\@@footstart@@v at l\@@para at footstart@@v at l
   \let\@mpfootnotetext\@mpparafootnotetext
   \let\@mpLTRfootnotetext\@mpparaLTRfootnotetext
   \let\@mpRTLfootnotetext\@mpparaRTLfootnotetext
   \@bidi at after@Hy at hyperfootnotes
   \m at make@mppara at footgroup{v at r}%
+  \bidi at make@mppara at LTRfootgroup{v at l}%
   \let\mp at footgroupv@r\@mppara at footgroupv@r
+  \let\mp at LTRfootgroupv@l\@mppara at LTRfootgroupv@l
   \begingroup
   \def\baselinestretch{\m at m@footnote at spacing}%
    \foottextfont
@@ -11296,6 +10954,10 @@
    \else
      \global\advance\skip\footinsv at r\bidi at paraskip
    \fi
+   \ifdim\skip\footinsv at l>\bigskipamount
+   \else
+     \global\advance\skip\footinsv at l\bidi at paraskip
+   \fi
    \@tempdima\normalbaselineskip
    \multiply \@tempdima \@cclvi
    \@tempdimb \columnwidth
@@ -11305,9 +10967,77 @@
    \endgroup
    \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
 }
+\newcommand{\normalRTLparaLTRfootnotes}{%
+  \@namedef{foottextfontv at r}{\foottextfont}%  
+  \@bidi at before@Hy at hyperfootnotes
+  \if at RTL@footnote
+    \let\@footnotetext\m at mold@footnotetext
+  \else
+    \let\@footnotetext\@parafootnotetext
+  \fi
+  \let\@LTRfootnotetext\@paraLTRfootnotetext
+  \let\@RTLfootnotetext\m at mold@RTLfootnotetext
+  \dimen\footinsv at r=\footinsdim
+  \count\footinsv at r=1000\relax
+  \m at make@para at footgroup{v at r}%
+  \m at make@para at footstart{v at r}%
+  \let\@footgroupv at r\@para at footgroupv@r
+  \let\@footstartv at r\@para at footstartv@r
+  \dimen\footinsv at l=\footinsdim
+  \count\footinsv at l=1000\relax
+  \bidi at make@para at LTRfootgroup{v at l}%
+  \m at make@para at footstart{v at l}%
+  \bidi at make@para at footstart@@{v at l}%
+  \let\@LTRfootgroupv at l\@para at LTRfootgroupv@l
+  \let\@footstartv at l\@para at footstartv@l
+  \let\@@footstart@@v at l\@@para at footstart@@v at l
+  \if at RTL@footnote
+    \let\@mpfootnotetext\m at mold@mpfootnotetext
+  \else
+    \let\@mpfootnotetext\@mpparafootnotetext
+  \fi
+  \let\@mpLTRfootnotetext\@mpparaLTRfootnotetext
+  \let\@mpRTLfootnotetext\m at mold@mpRTLfootnotetext
+  \@bidi at after@Hy at hyperfootnotes
+  \m at make@mppara at footgroup{v at r}%
+  \bidi at make@mppara at LTRfootgroup{v at l}%
+  \let\mp at footgroupv@r\@mppara at footgroupv@r
+  \let\mp at LTRfootgroupv@l\@mppara at LTRfootgroupv@l
+  \begingroup
+  \def\baselinestretch{\m at m@footnote at spacing}%
+   \foottextfont
+   \@tempdima\footnotesep
+   \advance\@tempdima -\ht\strutbox
+   \ifdim\@tempdima<\z@ \@tempdima\z@ \fi
+   \advance\@tempdima.5\normalbaselineskip
+   \bidi at xparaskip
+   \xdef\bidi at paraskip{\the\@tempdima\relax}%
+   \ifdim\skip\footinsv at r>\bigskipamount
+   \else
+     \global\advance\skip\footinsv at r\bidi at paraskip
+   \fi
+   \ifdim\skip\footinsv at l>\bigskipamount
+   \else
+     \global\advance\skip\footinsv at l\bidi at paraskip
+   \fi
+   \@tempdima\normalbaselineskip
+   \multiply \@tempdima \@cclvi
+   \@tempdimb \columnwidth
+   \divide \@tempdimb \@cclvi
+   \divide \@tempdima \@tempdimb
+   \xdef\footfudgefactor{\strip at pt\@tempdima}%
+   \endgroup
+   \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
+}
 \let\bidi at xparaskip\relax
 \@onlypreamble\AddExtraParaSkip
-\bidi at ensure@newcommand{\@parafootnotetext}[1]{\insert\footinsv at r{%
+\bidi at ensure@newcommand{\@parafootnotetext}[1]{\insert
+  \if at RTL@footnote
+    \footinsv at r
+  \else
+    \footinsv at l
+  \fi
+  {%
   \let\bidi at RTL@everypar\@empty%
   \def\baselinestretch{\m at m@footnote at spacing}%
   \reset at font\foottextfont
@@ -11316,10 +11046,10 @@
     \csname p at footnote\endcsname\@thefnmark}%
   \setbox0=\vbox{\hsize=\maxdimen
     \color at begingroup
-      \noindent \@parafootfmt{\if at RTL@footnote\beginR\else\beginL\fi#1\if at RTL@footnote\endR\else\endL\fi}%
+      \noindent \@parafootfmt{#1}%
     \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
-\bidi at ensure@newcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv at r{%
+\bidi at ensure@newcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv at l{%
  \let\bidi at RTL@everypar\@empty%
  \def\baselinestretch{\m at m@footnote at spacing}%
   \reset at font\LTRfoottextfont
@@ -11328,7 +11058,7 @@
     \csname p at footnote\endcsname\@thefnmark}%
   \setbox0=\vbox{\hsize=\maxdimen
     \color at begingroup
-      \noindent \@paraLTRfootfmt{\beginL#1\endL}%
+      \noindent \@paraLTRfootfmt{#1}%
     \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@paraRTLfootnotetext}[1]{\insert\footinsv at r{%
@@ -11340,7 +11070,7 @@
     \csname p at footnote\endcsname\@thefnmark}%
   \setbox0=\vbox{\hsize=\maxdimen
     \color at begingroup
-      \noindent \@paraRTLfootfmt{\beginR#1\endR}%
+      \noindent \@paraRTLfootfmt{#1}%
     \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@parafootfmt}[1]{%
@@ -11356,10 +11086,21 @@
   \parfillskip=0pt \@plus 1fil
   {\RTLfootfootmark\strut {\RTLfoottextfont #1}\penalty-10}}
 \bidi at ensure@newcommand{\@mpparafootnotetext}[1]{%
-  \global\setbox\@mpfootinsv at r\vbox{%
+  \global\setbox
+  \if at RTL@footnote
+    \@mpfootinsv at r
+  \else
+    \@mpfootinsv at l
+  \fi
+  \vbox{%
     \let\bidi at RTL@everypar\@empty%
     \def\baselinestretch{\m at m@footnote at spacing}%
-    \unvbox\@mpfootinsv at r
+    \unvbox
+    \if at RTL@footnote
+      \@mpfootinsv at r
+    \else
+      \@mpfootinsv at l
+    \fi
     \reset at font\foottextfont
     \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
@@ -11366,14 +11107,14 @@
       \csname p at mpfootnote\endcsname\@thefnmark}%
     \setbox0=\vbox{\hsize=\maxdimen
       \color at begingroup
-      \noindent \@parafootfmt{\if at RTL@footnote\beginR\else\beginL\fi#1\if at RTL@footnote\endR\else\endL\fi}%
+      \noindent \@parafootfmt{#1}%
       \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@mpparaLTRfootnotetext}[1]{%
-  \global\setbox\@mpfootinsv at r\vbox{%
+  \global\setbox\@mpfootinsv at l\vbox{%
    \let\bidi at RTL@everypar\@empty%
    \def\baselinestretch{\m at m@footnote at spacing}%
-    \unvbox\@mpfootinsv at r
+    \unvbox\@mpfootinsv at l
     \reset at font\LTRfoottextfont
     \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
@@ -11380,7 +11121,7 @@
       \csname p at mpfootnote\endcsname\@thefnmark}%
     \setbox0=\vbox{\hsize=\maxdimen
       \color at begingroup
-      \noindent \@paraLTRfootfmt{\beginL#1\endL}%
+      \noindent \@paraLTRfootfmt{#1}%
       \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@mpparaRTLfootnotetext}[1]{%
@@ -11394,83 +11135,13 @@
       \csname p at mpfootnote\endcsname\@thefnmark}%
     \setbox0=\vbox{\hsize=\maxdimen
       \color at begingroup
-      \noindent \@paraRTLfootfmt{\beginR#1\endR}%
+      \noindent \@paraRTLfootfmt{#1}%
       \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
-\bidi at ensure@newcommand{\paragraphfootstyle}[1]{%
-  \m at make@parafootnotetext{#1}%
-  \m at make@mpparafootnotetext{#1}%
-  \m at make@parafootfmt{#1}%
-  \m at make@para at footgroup{#1}%
-  \m at make@mppara at footgroup{#1}%
-  \m at make@para at footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-    \@nameuse{@parafootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-    \@nameuse{@mpparafootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@para at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mppara at footgroup#1}}%
-  \@namedef{@footstart#1}{\@nameuse{@para at footstart#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=\footinsdim
-  \expandafter\count\csname footins#1\endcsname=1000\relax
-  \begingroup
-  \def\baselinestretch{\m at m@footnote at spacing}%
-   \@nameuse{foottextfont#1}%
-   \@tempdima\footnotesep
-   \advance\@tempdima -\ht\strutbox
-   \ifdim\@tempdima<\z@ \@tempdima\z@ \fi
-   \advance\@tempdima.5\normalbaselineskip
-   \bidi at xparaskip
-   \xdef\bidi at paraskip{\the\@tempdima\relax}%
-   \ifdim\skip\@nameuse{footins#1}>\bigskipamount
-   \else
-     \global\advance\skip\@nameuse{footins#1}\bidi at paraskip
-   \fi
-   \@tempdima\normalbaselineskip
-   \multiply \@tempdima \@cclvi
-   \@tempdimb \columnwidth
-   \divide \@tempdimb \@cclvi
-   \divide \@tempdima \@tempdimb
-   \xdef\footfudgefactor{\strip at pt\@tempdima}%
-   \endgroup
-   \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@parafootnotetext}[1]{%
-\bidi at namelongdef{@parafootnotetext#1}##1{%
-  \insert\@nameuse{footins#1}{
-  \def\baselinestretch{\m at m@footnote at spacing}%
-  \reset at font\@nameuse{foottextfont#1}%
-  \@preamfntext
-  \protected at edef\@currentlabel{%
-    \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-  \setbox0=\vbox{\hsize=\maxdimen
-    \color at begingroup
-      \noindent \@nameuse{@parafootfmt#1}{##1}%
-    \color at endgroup}%
-  \m at mungebox}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpparafootnotetext}[1]{%
-\bidi at namelongdef{@mpparafootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-    \setbox0=\vbox{\hsize=\maxdimen
-      \color at begingroup
-        \noindent \@nameuse{@parafootfmt#1}{##1}%
-      \color at endgroup}%
-    \m at mungebox}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@parafootfmt}[1]{%
-\bidi at namelongdef{@parafootfmt#1}##1{%
-  \parindent=\z@
-  \parfillskip=0pt \@plus 1fil
-  {\@nameuse{footfootmark#1}\strut
-   {\@nameuse{foottextfont#1}##1}\penalty-10}}}
 \bidi at ensure@newcommand{\m at make@para at footgroup}[1]{%
 \@namedef{@para at footgroup#1}{%
   \unvbox\@nameuse{footins#1}
+  \@RTLtrue
   \m at mmakehboxofhboxes
   \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
   \@parboxrestore%
@@ -11477,14 +11148,34 @@
   \def\baselinestretch{\m at m@footnote at spacing}%
   \@nameuse{foottextfont#1}%
   \noindent\unhbox0\par}}
+\bidi at ensure@newcommand{\bidi at make@para at LTRfootgroup}[1]{%
+\@namedef{@para at LTRfootgroup#1}{%
+  \unvbox\@nameuse{footins#1}
+  \@RTLfalse
+  \m at mmakehboxofhboxes
+  \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
+  \@parboxrestore%
+  \def\baselinestretch{\m at m@footnote at spacing}%
+  \@nameuse{foottextfont#1}%
+  \noindent\unhbox0\par}}
 \bidi at ensure@newcommand{\m at make@mppara at footgroup}[1]{%
 \@namedef{@mppara at footgroup#1}{%
   \unvbox\@nameuse{@mpfootins#1}
+  \@RTLtrue
   \m at mmakehboxofhboxes
   \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
   \def\baselinestretch{\m at m@footnote at spacing}%
   \@nameuse{foottextfont#1}%
   \noindent\unhbox0\par}}
+\bidi at ensure@newcommand{\bidi at make@mppara at LTRfootgroup}[1]{%
+\@namedef{@mppara at LTRfootgroup#1}{%
+  \unvbox\@nameuse{@mpfootins#1}
+  \@RTLfalse
+  \m at mmakehboxofhboxes
+  \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
+  \def\baselinestretch{\m at m@footnote at spacing}%
+  \@nameuse{foottextfont#1}%
+  \noindent\unhbox0\par}}
 \bidi at ensure@newcommand{\m at make@para at footstart}[1]{%
 \@namedef{@para at footstart#1}{%
   \bidi at mopfn@bottom
@@ -11492,7 +11183,16 @@
   \rightskip=\z@
   \parindent=\z@
   \vskip\skip\footins
-  \footnoterule}}
+  \if at bidi@void at footins
+    \footnoterule
+  \fi}}
+\bidi at ensure@newcommand{\bidi at make@para at footstart@@}[1]{%
+\@namedef{@@para at footstart@@#1}{%
+  \bidi at mopfn@bottom
+  \leftskip=\z@
+  \rightskip=\z@
+  \parindent=\z@
+  \vskip\skip\footins}}
 \bidi at ensure@newcommand*{\m at m@makecolfloats}{%
   \xdef\@freelist{\@freelist\@midlist}%
   \global\let\@midlist\@empty
@@ -11521,32 +11221,8 @@
     \footnoterule
     \unvbox \footins
   \color at endgroup
-  \ifvoid\footinsv at r
-    \ifvoid\@bidi at copyins@
-    \else
-      \vskip \skip\@bidi at copyins@
-      \color at begingroup
-        \normalcolor
-        \unvbox \@bidi at copyins@
-      \color at endgroup
-    \fi
-  \fi
-  }}
-\newcommand*{\bidi at mopcopyins}{\setbox\@outputbox \vbox{%
-  \boxmaxdepth\@maxdepth
-  \@tempdima\dp\@cclv
-  \unvbox\@cclv
-  \vskip-\@tempdima
-  \bidi at mopfn@bottom
-  \ifvoid\@bidi at copyins@
-  \else
-    \vskip \skip\@bidi at copyins@
-    \color at begingroup
-      \normalcolor
-      \unvbox \@bidi at copyins@
-    \color at endgroup
-  \fi
-  }}
+  }%
+}
 \newcommand*{\bidi at mopfootnotebf}{%
   \setbox\@outputbox \vbox{%
   \boxmaxdepth\@maxdepth
@@ -11558,44 +11234,15 @@
     \footnoterule
     \unvbox \footins
   \color at endgroup
-  \ifvoid\footinsv at r
-    \ifvoid\@bidi at copyins@
-    \else
-      \vskip \skip\@bidi at copyins@
-      \color at begingroup
-        \normalcolor
-        \unvbox \@bidi at copyins@
-      \color at endgroup
-    \fi 
-  \fi
-  }}
-\newcommand*{\bidi at mopcopyinsbf}{%
-  \setbox\@outputbox \vbox{%
-  \boxmaxdepth\@maxdepth
-  \unvbox\@outputbox
-  \bidi at mopfn@bottom
-  \ifvoid\@bidi at copyins@
-  \else
-    \vskip \skip\@bidi at copyins@
-    \color at begingroup
-      \normalcolor
-      \unvbox \@bidi at copyins@
-    \color at endgroup
-  \fi 
-  }}
+  }%
+}
 \gdef\mem at makecol{%
   \m at m@makecolintro
   \ifvoid\footins
-    \ifvoid\footinsv at r
-      \ifvoid\@bidi at copyins@
-        \setbox\@outputbox \box\@cclv
-      \else
-        \bidi at mopcopyins
-      \fi
-    \else
-      \setbox\@outputbox \box\@cclv
-    \fi
+    \global\@bidi at void@footinstrue
+    \setbox\@outputbox \box\@cclv
   \else
+    \global\@bidi at void@footinsfalse
     \m at mopfootnote
   \fi
   \m at mdoextrafeet
@@ -11607,13 +11254,9 @@
   \setbox\@outputbox \box\@cclv
   \m at m@makecolfloats
   \ifvoid\footins
-    \ifvoid\footinsv at r
-      \ifvoid\@bidi at copyins@
-      \else
-        \bidi at mopcopyinsbf
-      \fi
-    \fi
+    \global\@bidi at void@footinstrue
   \else
+    \global\@bidi at void@footinsfalse
     \bidi at mopfootnotebf
   \fi
   \m at mdoextrafeet
@@ -16048,7 +15691,7 @@
 %\fi
 % \section{File \texttt{multicol-xetex-bidi.def}}
 %    \begin{macrocode}
-\ProvidesFile{multicol-xetex-bidi.def}[2018/09/26 v1.0 bidi adaptations for multicol package for XeTeX engine]
+\ProvidesFile{multicol-xetex-bidi.def}[2018/10/07 v1.1 bidi adaptations for multicol package for XeTeX engine]
 \def\page at sofar{%
    \process at cols\mult at rightbox
        {\ifvoid\count@
@@ -16133,7 +15776,7 @@
 \newcommand\bidi at multicol@align at columns
     {\if at RTLmain\RTL at column@boxes\else\LTR at column@boxes\fi}
 \bidi at AtEndPreamble{%
-  \if at bidi@csdef{footinsv at r}{%
+  \if at bidi@csdef{footinsv at l}{%
     \def\footnoterule{\kern-3\p@
       \hrule \@width \textwidth \kern 2.6\p@}%
   }{}%
@@ -16189,17 +15832,27 @@
    \advance\dimen at -\ht\@bidi at copyins@
 }
 \bidi at AtEndPreamble{%
-  \if at bidi@csdef{footinsv at r}{%
+  \if at bidi@csdef{footinsv at l}{%
     \def\bidi at leave@mult at footins@vr{%
        \advance\dimen at -\skip\footinsv at r
        \advance\dimen at -\ht\footinsv at r
      }%
+    \def\bidi at leave@mult at footins@vl{%
+       \advance\dimen at -\skip\footinsv at l
+       \advance\dimen at -\ht\footinsv at l
+     }%
     \def\bidi at init@mult at footinsv@r{%
       \multiply\count\footinsv at r\col at number
       \multiply\skip \footinsv at r\col at number
     }%
+    \def\bidi at init@mult at footinsv@l{%
+      \multiply\count\footinsv at l\col at number
+      \multiply\skip \footinsv at l\col at number
+    }%
     \def\bidi at reinsert@footnotesv at r{\ifvoid\footinsv at r\else
              \insert\footinsv at r{}\fi}%
+    \def\bidi at reinsert@footnotesv at l{\ifvoid\footinsv at l\else
+             \insert\footinsv at l{}\fi}%
     \bidi at patchcmd{\prepare at multicols}{%
       \reinsert at footnotes
     }{%
@@ -16206,11 +15859,22 @@
       \reinsert at footnotes
       \bidi at init@mult at footinsv@r
       \bidi at reinsert@footnotesv at r
+      \bidi at init@mult at footinsv@l
+      \bidi at reinsert@footnotesv at l
     }{}{}%
     \bidi at patchcmd{\multi at column@out}{%
       \ifnum \c at tracingmulticols>\thr@@
     }{%
-       \ifvoid\footinsv at r\else
+       \ifvoid\footinsv at r
+         \ifvoid\footinsv at l
+         \else
+           \PackageWarning{multicol}%
+            {I moved some lines to
+             the next page.\MessageBreak
+             Footnotes on page
+             \thepage\space might be wrong}%    
+         \fi
+       \else
          \PackageWarning{multicol}%
           {I moved some lines to
            the next page.\MessageBreak
@@ -16224,6 +15888,7 @@
 }{%
   \reinsert at footnotes
   \bidi at reinsert@footnotesv at r
+  \bidi at reinsert@footnotesv at l
 }{}{}%
 \bidi at patchcmd{\speci at ls}{%
   \reinsert at footnotes
@@ -16230,6 +15895,7 @@
 }{%
   \reinsert at footnotes
   \bidi at reinsert@footnotesv at r
+  \bidi at reinsert@footnotesv at l
 }{}{}%
 \bidi at patchcmd{\speci at ls}{%
   \reinsert at footnotes
@@ -16236,16 +15902,21 @@
 }{%
   \reinsert at footnotes
   \bidi at reinsert@footnotesv at r
+  \bidi at reinsert@footnotesv at l
 }{}{}%
   }{}%
   \bidi at patchcmd{\multi at column@out}{%
      \let\ifshr at kingsaved\ifshr at king
   }{%
-    \if at bidi@csdef{footinsv at r}{%
+    \if at bidi@csdef{footinsv at l}{%
       \divide\skip\footinsv at r\col at number
        \ifvoid\footinsv at r \else
           \bidi at leave@mult at footins@vr
        \fi
+      \divide\skip\footinsv at l\col at number
+       \ifvoid\footinsv at l \else
+          \bidi at leave@mult at footins@vl
+       \fi
      }{}%
      \ifvoid\@bidi at copyins@ \else
         \bidi at leave@mult at copyins

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/amsart-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/artikel1-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-perpage.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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
@@ -35,8 +35,8 @@
 %%   Right brace   \}     Tilde         \~}
 %%
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/10/04}
-\def\bidi at version{34.4}
+\def\bididate{2018/10/08}
+\def\bidi at version{34.6}
 \ProvidesPackage{bidi}[\bididate\space v\bidi at version\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi at info{****************************************************^^J%
@@ -100,6 +100,7 @@
 \newcommand*{\setnonlatin}{\@nonlatintrue}
 \eqnewif{\if at RTLtab}{\if at tab@rl}
 \newif\if at hboxRconstruct
+\newif\if at bidi@pdfencrypt
 \newcommand*{\setRTLtable}{\@RTLtabtrue}
 \newcommand*{\setLTRtable}{\@RTLtabfalse}
 \newif\if at bidi@pdfm at mark
@@ -108,7 +109,6 @@
 \newif\if at LTRbibitems
 \newif\if at RTLbibitems
 \newif\if at extrafootnotefeatures
-\newif\if at parafootRTL
 \newif\if at RTLcolumnfootnotes
 \eqnewif{\if at RTL@footnote}{\if at rl@footnote}
 \newif\if at bidi@list at minipage@parbox
@@ -121,7 +121,7 @@
 }
 \newcommand*{\@bidi at pdfcustomproperties}{%
   This is the bidi package, Version \bidi at version,
-  Released October 1, 2018.
+  Released October 8, 2018.
 }
 \@RTLmainfalse
 \AtBeginDocument{%
@@ -321,12 +321,23 @@
     \RequirePackage{bidi-perpage}%
     \ResetCounterPerPage{footnote}%
   \fi
-  \special{pdf:encrypt
-    userpw (\bidi at pdfencrypt@userpassword)
-    ownerpw (\bidi at pdfencrypt@ownerpassword)
-    length \bidi at pdfencrypt@keylength
-    perm \bidi at pdfencrypt@permissionflags
-  }%
+  \ifx\bidi at pdfencrypt@ownerpassword\bidi at empty
+    \ifx\bidi at pdfencrypt@userpassword\bidi at empty
+      \@bidi at pdfencryptfalse
+    \else
+      \@bidi at pdfencrypttrue
+    \fi
+  \else
+    \@bidi at pdfencrypttrue
+  \fi
+  \if at bidi@pdfencrypt
+    \special{pdf:encrypt
+      userpw (\bidi at pdfencrypt@userpassword)
+      ownerpw (\bidi at pdfencrypt@ownerpassword)
+      length \bidi at pdfencrypt@keylength
+      perm \bidi at pdfencrypt@permissionflags
+    }%
+  \fi
 }
 \AtEndDocument{%
    \special{pdf:%

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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
@@ -34,9 +34,9 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 %%
-\def\bididate{2018/10/04}
+\def\bididate{2018/10/08}
 \catcode`@=11
-\def\bidi at version{34.4}
+\def\bidi at version{34.6}
 \let \protect \relax
 \newlinechar`\^^J
 \edef\@bidi at info{****************************************************^^J%
@@ -135,7 +135,7 @@
 }
 \def\@bidi at pdfcustomproperties{%
   This is the bidi package, Version \bidi at version,
-  Released October 1, 2018.
+  Released October 8, 2018.
 }
 \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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-book.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/bidituftegeneralstructure.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/bookest-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/cuted-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/diagbox-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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
@@ -34,7 +34,9 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 %%
-\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2018/09/27 v1.4 bidi extra footnote features for XeTeX engine]
+\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2018/10/08 v1.6 bidi extra footnote features for XeTeX engine]
+\newif\if at bidi@void at footins
+\newif\if at bidi@void@@mpfootins
 \newcommand*{\@bidi at before@Hy at hyperfootnotes}{%
 \if at bidi@csundef{ifHy at hyperfootnotes}{}{%
 \if at bidi@csundef{HLTR@@LTRfootnotetext}{}{%
@@ -76,8 +78,28 @@
 \let\LRfootnoterule\relax
 \def\footnoterule{\kern-3\p@
   \hrule \@width \columnwidth \kern 2.6\p@}
-\bidi at ensure@newcommand{\setRTLparagraphfootnotes}{\@parafootRTLtrue}
-\bidi at ensure@newcommand{\setLTRparagraphfootnotes}{\@parafootRTLfalse}
+\newcommand{\@preamnormalfmt}{%
+  \parindent 1em%
+  \noindent
+}
+\newcommand{\@normalfootfmt}[1]{%
+  \@preamnormalfmt
+  \footfootmark
+  \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
+  \@finalstrut\strutbox
+}
+\newcommand{\@normalRTLfootfmt}[1]{%
+  \@preamnormalfmt
+  \RTLfootfootmark
+  \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}%
+  \@finalstrut\strutbox
+}
+\newcommand{\@normalLTRfootfmt}[1]{%
+  \@preamnormalfmt
+  \LTRfootfootmark
+  \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}%
+  \@finalstrut\strutbox
+}
 \renewcommand{\@footnotetext}[1]{%
     \insert\footins{%
     \if at RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
@@ -89,9 +111,7 @@
     \protected at edef\@currentlabel{%
       \csname p at footnote\endcsname\@thefnmark}%
     \color at begingroup
-      \@makefntext{%
-        \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
-        \@finalstrut\strutbox}%
+      \@normalfootfmt{#1}%
     \color at endgroup}%
       \m at mmf@prepare}
 \renewcommand{\@RTLfootnotetext}[1]{%
@@ -105,9 +125,7 @@
     \protected at edef\@currentlabel{%
       \csname p at footnote\endcsname\@thefnmark}%
     \color at begingroup
-      \@makefntext{%
-        \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}%
-        \@finalstrut\strutbox}%
+      \@normalRTLfootfmt{#1}%
     \color at endgroup}%
       \m at mmf@prepare}
 \renewcommand{\@LTRfootnotetext}[1]{%
@@ -121,9 +139,7 @@
     \protected at edef\@currentlabel{%
       \csname p at footnote\endcsname\@thefnmark}%
     \color at begingroup
-      \@makefntext{%
-        \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}%
-        \@finalstrut\strutbox}%
+      \@normalLTRfootfmt{#1}%
     \color at endgroup}%
       \m at mmf@prepare}
 \renewcommand{\@mpfootnotetext}[1]{%
@@ -130,40 +146,34 @@
   \global\setbox\@mpfootins\vbox{\if at RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
     \unvbox\@mpfootins
     \def\baselinestretch{\m at m@footnote at spacing}%
+    \reset at font%
     \foottextfont \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
       \csname p at mpfootnote\endcsname\@thefnmark}%
   \color at begingroup
-  \reset at font%
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\foottextfont #1}%
-      \@finalstrut\strutbox}%
+    \@normalfootfmt{#1}%
   \color at endgroup}}
 \renewcommand{\@mpLTRfootnotetext}[1]{%
   \global\setbox\@mpfootins\vbox{\@RTLfalse%
     \unvbox\@mpfootins
     \def\baselinestretch{\m at m@footnote at spacing}%
+    \reset at font%
     \LTRfoottextfont \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
       \csname p at mpfootnote\endcsname\@thefnmark}%
   \color at begingroup
-  \reset at font%
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}%
-      \@finalstrut\strutbox}%
+    \@normalLTRfootfmt{#1}%
   \color at endgroup}}
 \renewcommand{\@mpRTLfootnotetext}[1]{%
   \global\setbox\@mpfootins\vbox{\@RTLtrue%
     \unvbox\@mpfootins
     \def\baselinestretch{\m at m@footnote at spacing}%
+    \reset at font%
     \RTLfoottextfont \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
       \csname p at mpfootnote\endcsname\@thefnmark}%
   \color at begingroup
-  \reset at font%
-    \@makefntext{%
-      \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}%
-      \@finalstrut\strutbox}%
+    \@normalRTLfootfmt{#1}%
   \color at endgroup}}
 \let\m at mold@footnotetext\@footnotetext
 \let\m at mold@LTRfootnotetext\@LTRfootnotetext
@@ -179,7 +189,9 @@
   \let\@mpfootnotetext\m at mold@mpfootnotetext
   \let\@mpLTRfootnotetext\m at mold@mpLTRfootnotetext
   \let\@mpRTLfootnotetext\m at mold@mpRTLfootnotetext
-  \@bidi at after@Hy at hyperfootnotes}
+  \@bidi at after@Hy at hyperfootnotes
+  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
+}
 \@ifclassloaded{memoir}{\let\plainfootnotes\normalfootnotes}{}
 \bidi at ensure@newcommand*{\RTLcolumnfootnotes}{\@RTLcolumnfootnotestrue}
 \bidi at ensure@newcommand*{\LTRcolumnfootnotes}{\@RTLcolumnfootnotesfalse}
@@ -242,12 +254,27 @@
 \newcommand*{\bidi at star@footmarkwidth}{%
   \setlength{\footmarkwidth}{0em plus.4em minus.4em}%
 }
+\bidi at normal@footmarkwidth
 \bidi at ensure@newcommand{\m at mdoextrafeet}{\extrafeetins}
 \bidi at ensure@newcommand*{\extrafeetins}{%
   \setbox\@outputbox \vbox{%
     \boxmaxdepth \@maxdepth
     \unvbox\@outputbox
-    \ifvoid\footinsv at r\else\@footstartv at r\@footgroupv at r\fi
+    \ifvoid\footinsv at r
+      \ifvoid\footinsv at l
+      \else
+        \@footstartv at l
+        \@LTRfootgroupv at l
+      \fi
+    \else
+      \@footstartv at r
+      \@footgroupv at r
+      \ifvoid\footinsv at l
+      \else
+        \@@footstart@@v at l
+        \@LTRfootgroupv at l
+      \fi
+    \fi
     \ifvoid\@bidi at copyins@
     \else
       \vskip \skip\@bidi at copyins@
@@ -272,9 +299,28 @@
 \bidi at ensure@newcommand{\m at mdoextrafeetmini}{%
   \extrafeetminihook}
 \bidi at ensure@newcommand{\extrafeetendmini}{%
-  \ifvoid\@mpfootinsv at r\else
+  \ifvoid\@mpfootinsv at r
+    \ifvoid\@mpfootinsv at l
+    \else
+      \vskip\skip\@mpfootins
+      \normalcolor
+      \if at bidi@void@@mpfootins
+        \footnoterule
+      \fi
+      \mp at LTRfootgroupv@l
+    \fi
+  \else
     \vskip\skip\@mpfootins
-    \normalcolor\footnoterule\mp at footgroupv@r
+    \normalcolor
+    \if at bidi@void@@mpfootins
+      \footnoterule
+    \fi
+    \mp at footgroupv@r
+    \ifvoid\@mpfootinsv at l
+    \else
+      \vskip\skip\@mpfootins
+      \normalcolor\mp at LTRfootgroupv@l
+    \fi
   \fi
   \extrafeetendminihook}
 \bidi at ensure@newcommand{\extrafeetendminihook}{}
@@ -282,7 +328,10 @@
 \def\endminipage{%
   \par
   \unskip
-  \ifvoid\@mpfootins\else
+  \ifvoid\@mpfootins
+    \global\@bidi at void@@mpfootinstrue
+  \else
+    \global\@bidi at void@@mpfootinsfalse
     \vskip\skip\@mpfootins
     \normalcolor
     \footnoterule
@@ -306,8 +355,11 @@
 \count\footinsv at r=1000 % no magnifcation
 \dimen\footinsv at r=\footinsdim
 \m at make@footstart{v at r}
+\newinsert\footinsv at l
+\skip\footinsv at l\bigskipamount
 \bidi at ensure@newcommand{\@footgroupv at r}{}
 \newinsert\@mpfootinsv at r
+\newinsert\@mpfootinsv at l
 \bidi at ensure@newcommand{\mp at footgroupv@r}{}
 \newcount\m at m@k \newdimen\m at m@h
 \@ifpackageloaded{multicol}{%
@@ -424,52 +476,6 @@
     \@twocolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\twocolumnfootstyle}[1]{%
-  \m at make@twocolfootnotetext{#1}%
-  \m at make@mptwocolfootnotetext{#1}%
-  \m at make@twocolfootfmt{#1}%
-  \m at make@twocol at footgroup{#1}%
-  \m at make@mptwocol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@twocolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mptwocolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@twocol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mptwocol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@twocolfootnotetext}[1]{%
-  \bidi at namelongdef{@twocolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@twocolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mptwocolfootnotetext}[1]{%
-\bidi at namelongdef{@mptwocolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@twocolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@twocolfootfmt}[1]{%
-  \@namedef{@twocolfootfmt#1}##1{%
-    \@preamtwofmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@twocol at footgroup}[1]{%
   \@namedef{@twocol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -573,51 +579,6 @@
   \color at begingroup
     \@threecolRTLfootfmt{#1}%
   \color at endgroup}\m at mmf@prepare}
-\bidi at ensure@newcommand{\threecolumnfootstyle}[1]{%
-  \m at make@threecolfootnotetext{#1}%
-  \m at make@mpthreecolfootnotetext{#1}%
-  \m at make@threecolfootfmt{#1}%
-  \m at make@threecol at footgroup{#1}%
-  \m at make@mpthreecol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-    \@nameuse{@threecolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-    \@nameuse{@mpthreecolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@threecol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpthreecol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=3\footinsdim
-  \expandafter\count\csname footins#1\endcsname=333\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@threecolfootnotetext}[1]{%
-\bidi at namelongdef{@threecolfootnotetext#1}##1{%
-  \insert\@nameuse{footins#1}{%
-  \def\baselinestretch{\m at m@footnote at spacing}%
-  \reset at font\@nameuse{foottextfont#1}%
-  \@preamfntext
-  \protected at edef\@currentlabel{%
-    \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@threecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpthreecolfootnotetext}[1]{%
-\bidi at namelongdef{@mpthreecolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@threecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@threecolfootfmt}[1]{%
-\bidi at namelongdef{@threecolfootfmt#1}##1{%
-  \@preamthreefmt
-  {\@nameuse{footfootmark#1}\strut
-   {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@threecol at footgroup}[1]{%
 \@namedef{@threecol at footgroup#1}{{%
  \def\baselinestretch{\m at m@footnote at spacing}%
@@ -727,52 +688,6 @@
     \@fourcolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\fourcolumnfootstyle}[1]{%
-  \m at make@fourcolfootnotetext{#1}%
-  \m at make@mpfourcolfootnotetext{#1}%
-  \m at make@fourcolfootfmt{#1}%
-  \m at make@fourcol at footgroup{#1}%
-  \m at make@mpfourcol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@fourcolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpfourcolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@fourcol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpfourcol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@fourcolfootnotetext}[1]{%
-  \bidi at namelongdef{@fourcolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@fourcolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpfourcolfootnotetext}[1]{%
-\bidi at namelongdef{@mpfourcolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@fourcolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@fourcolfootfmt}[1]{%
-  \@namedef{@fourcolfootfmt#1}##1{%
-    \@preamfourfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@fourcol at footgroup}[1]{%
   \@namedef{@fourcol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -882,52 +797,6 @@
     \@fivecolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\fivecolumnfootstyle}[1]{%
-  \m at make@fivecolfootnotetext{#1}%
-  \m at make@mpfivecolfootnotetext{#1}%
-  \m at make@fivecolfootfmt{#1}%
-  \m at make@fivecol at footgroup{#1}%
-  \m at make@mpfivecol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@fivecolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpfivecolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@fivecol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpfivecol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@fivecolfootnotetext}[1]{%
-  \bidi at namelongdef{@fivecolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@fivecolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpfivecolfootnotetext}[1]{%
-\bidi at namelongdef{@mpfivecolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@fivecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@fivecolfootfmt}[1]{%
-  \@namedef{@fivecolfootfmt#1}##1{%
-    \@preamfivefmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@fivecol at footgroup}[1]{%
   \@namedef{@fivecol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -1037,52 +906,6 @@
     \@sixcolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\sixcolumnfootstyle}[1]{%
-  \m at make@sixcolfootnotetext{#1}%
-  \m at make@mpsixcolfootnotetext{#1}%
-  \m at make@sixcolfootfmt{#1}%
-  \m at make@sixcol at footgroup{#1}%
-  \m at make@mpsixcol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@sixcolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpsixcolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@sixcol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpsixcol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@sixcolfootnotetext}[1]{%
-  \bidi at namelongdef{@sixcolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@sixcolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpsixcolfootnotetext}[1]{%
-\bidi at namelongdef{@mpsixcolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@sixcolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@sixcolfootfmt}[1]{%
-  \@namedef{@sixcolfootfmt#1}##1{%
-    \@preamsixfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@sixcol at footgroup}[1]{%
   \@namedef{@sixcol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -1192,52 +1015,6 @@
     \@sevencolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\sevencolumnfootstyle}[1]{%
-  \m at make@sevencolfootnotetext{#1}%
-  \m at make@mpsevencolfootnotetext{#1}%
-  \m at make@sevencolfootfmt{#1}%
-  \m at make@sevencol at footgroup{#1}%
-  \m at make@mpsevencol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@sevencolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpsevencolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@sevencol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpsevencol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@sevencolfootnotetext}[1]{%
-  \bidi at namelongdef{@sevencolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@sevencolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpsevencolfootnotetext}[1]{%
-\bidi at namelongdef{@mpsevencolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@sevencolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@sevencolfootfmt}[1]{%
-  \@namedef{@sevencolfootfmt#1}##1{%
-    \@preamsevenfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@sevencol at footgroup}[1]{%
   \@namedef{@sevencol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -1347,52 +1124,6 @@
     \@eightcolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\eightcolumnfootstyle}[1]{%
-  \m at make@eightcolfootnotetext{#1}%
-  \m at make@mpeightcolfootnotetext{#1}%
-  \m at make@eightcolfootfmt{#1}%
-  \m at make@eightcol at footgroup{#1}%
-  \m at make@mpeightcol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@eightcolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpeightcolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@eightcol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpeightcol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@eightcolfootnotetext}[1]{%
-  \bidi at namelongdef{@eightcolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@eightcolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpeightcolfootnotetext}[1]{%
-\bidi at namelongdef{@mpeightcolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@eightcolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@eightcolfootfmt}[1]{%
-  \@namedef{@eightcolfootfmt#1}##1{%
-    \@preameightfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@eightcol at footgroup}[1]{%
   \@namedef{@eightcol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -1502,52 +1233,6 @@
     \@ninecolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\ninecolumnfootstyle}[1]{%
-  \m at make@ninecolfootnotetext{#1}%
-  \m at make@mpninecolfootnotetext{#1}%
-  \m at make@ninecolfootfmt{#1}%
-  \m at make@ninecol at footgroup{#1}%
-  \m at make@mpninecol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@ninecolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mpninecolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@ninecol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mpninecol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@ninecolfootnotetext}[1]{%
-  \bidi at namelongdef{@ninecolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@ninecolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpninecolfootnotetext}[1]{%
-\bidi at namelongdef{@mpninecolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@ninecolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@ninecolfootfmt}[1]{%
-  \@namedef{@ninecolfootfmt#1}##1{%
-    \@preamninefmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@ninecol at footgroup}[1]{%
   \@namedef{@ninecol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -1657,52 +1342,6 @@
     \@tencolRTLfootfmt{#1}%
   \color at endgroup}%
   \m at mmf@prepare}
-\bidi at ensure@newcommand{\tencolumnfootstyle}[1]{%
-  \m at make@tencolfootnotetext{#1}%
-  \m at make@mptencolfootnotetext{#1}%
-  \m at make@tencolfootfmt{#1}%
-  \m at make@tencol at footgroup{#1}%
-  \m at make@mptencol at footgroup{#1}%
-  \m at make@footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-     \@nameuse{@tencolfootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-     \@nameuse{@mptencolfootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@tencol at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mptencol at footgroup#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=2\footinsdim
-  \expandafter\count\csname footins#1\endcsname=500\relax
-  \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@tencolfootnotetext}[1]{%
-  \bidi at namelongdef{@tencolfootnotetext#1}##1{%
-    \insert\@nameuse{footins#1}{%
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \@preamfntext
-    \protected at edef\@currentlabel{%
-      \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-    \color at begingroup
-      \@nameuse{@tencolfootfmt#1}{##1}%
-    \color at endgroup}%
-    \m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mptencolfootnotetext}[1]{%
-\bidi at namelongdef{@mptencolfootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-  \color at begingroup
-    \@nameuse{@tencolfootfmt#1}{##1}%
-  \color at endgroup}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@tencolfootfmt}[1]{%
-  \@namedef{@tencolfootfmt#1}##1{%
-    \@preamtenfmt
-    {\@nameuse{footfootmark#1}\strut
-     {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}}
 \bidi at ensure@newcommand{\m at make@tencol at footgroup}[1]{%
   \@namedef{@tencol at footgroup#1}{{%
    \def\baselinestretch{\m at m@footnote at spacing}%
@@ -1733,7 +1372,6 @@
 \m at minterparanoteglue{1em plus.4em minus.4em}
 \@ifpackageloaded{multicol}{%
 \bidi at ensure@newcommand*{\m at mmakehboxofhboxes}{%
- \if at parafootRTL\@RTLtrue\else\@RTLfalse\fi%
  \hsize\textwidth%
  \setbox0=\hbox{}%
   \loop
@@ -1744,7 +1382,6 @@
   \repeat}
 }{%
 \bidi at ensure@newcommand*{\m at mmakehboxofhboxes}{%
- \if at parafootRTL\@RTLtrue\else\@RTLfalse\fi%
  \setbox0=\hbox{}%
   \loop
     \unpenalty
@@ -1777,12 +1414,22 @@
   \m at make@para at footstart{v at r}%
   \let\@footgroupv at r\@para at footgroupv@r
   \let\@footstartv at r\@para at footstartv@r
+  \dimen\footinsv at l=\footinsdim
+  \count\footinsv at l=1000\relax
+  \bidi at make@para at LTRfootgroup{v at l}%
+  \m at make@para at footstart{v at l}%
+  \bidi at make@para at footstart@@{v at l}%
+  \let\@LTRfootgroupv at l\@para at LTRfootgroupv@l
+  \let\@footstartv at l\@para at footstartv@l
+  \let\@@footstart@@v at l\@@para at footstart@@v at l
   \let\@mpfootnotetext\@mpparafootnotetext
   \let\@mpLTRfootnotetext\@mpparaLTRfootnotetext
   \let\@mpRTLfootnotetext\@mpparaRTLfootnotetext
   \@bidi at after@Hy at hyperfootnotes
   \m at make@mppara at footgroup{v at r}%
+  \bidi at make@mppara at LTRfootgroup{v at l}%
   \let\mp at footgroupv@r\@mppara at footgroupv@r
+  \let\mp at LTRfootgroupv@l\@mppara at LTRfootgroupv@l
   \begingroup
   \def\baselinestretch{\m at m@footnote at spacing}%
    \foottextfont
@@ -1796,6 +1443,10 @@
    \else
      \global\advance\skip\footinsv at r\bidi at paraskip
    \fi
+   \ifdim\skip\footinsv at l>\bigskipamount
+   \else
+     \global\advance\skip\footinsv at l\bidi at paraskip
+   \fi
    \@tempdima\normalbaselineskip
    \multiply \@tempdima \@cclvi
    \@tempdimb \columnwidth
@@ -1805,9 +1456,77 @@
    \endgroup
    \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
 }
+\newcommand{\normalRTLparaLTRfootnotes}{%
+  \@namedef{foottextfontv at r}{\foottextfont}%
+  \@bidi at before@Hy at hyperfootnotes
+  \if at RTL@footnote
+    \let\@footnotetext\m at mold@footnotetext
+  \else
+    \let\@footnotetext\@parafootnotetext
+  \fi
+  \let\@LTRfootnotetext\@paraLTRfootnotetext
+  \let\@RTLfootnotetext\m at mold@RTLfootnotetext
+  \dimen\footinsv at r=\footinsdim
+  \count\footinsv at r=1000\relax
+  \m at make@para at footgroup{v at r}%
+  \m at make@para at footstart{v at r}%
+  \let\@footgroupv at r\@para at footgroupv@r
+  \let\@footstartv at r\@para at footstartv@r
+  \dimen\footinsv at l=\footinsdim
+  \count\footinsv at l=1000\relax
+  \bidi at make@para at LTRfootgroup{v at l}%
+  \m at make@para at footstart{v at l}%
+  \bidi at make@para at footstart@@{v at l}%
+  \let\@LTRfootgroupv at l\@para at LTRfootgroupv@l
+  \let\@footstartv at l\@para at footstartv@l
+  \let\@@footstart@@v at l\@@para at footstart@@v at l
+  \if at RTL@footnote
+    \let\@mpfootnotetext\m at mold@mpfootnotetext
+  \else
+    \let\@mpfootnotetext\@mpparafootnotetext
+  \fi
+  \let\@mpLTRfootnotetext\@mpparaLTRfootnotetext
+  \let\@mpRTLfootnotetext\m at mold@mpRTLfootnotetext
+  \@bidi at after@Hy at hyperfootnotes
+  \m at make@mppara at footgroup{v at r}%
+  \bidi at make@mppara at LTRfootgroup{v at l}%
+  \let\mp at footgroupv@r\@mppara at footgroupv@r
+  \let\mp at LTRfootgroupv@l\@mppara at LTRfootgroupv@l
+  \begingroup
+  \def\baselinestretch{\m at m@footnote at spacing}%
+   \foottextfont
+   \@tempdima\footnotesep
+   \advance\@tempdima -\ht\strutbox
+   \ifdim\@tempdima<\z@ \@tempdima\z@ \fi
+   \advance\@tempdima.5\normalbaselineskip
+   \bidi at xparaskip
+   \xdef\bidi at paraskip{\the\@tempdima\relax}%
+   \ifdim\skip\footinsv at r>\bigskipamount
+   \else
+     \global\advance\skip\footinsv at r\bidi at paraskip
+   \fi
+   \ifdim\skip\footinsv at l>\bigskipamount
+   \else
+     \global\advance\skip\footinsv at l\bidi at paraskip
+   \fi
+   \@tempdima\normalbaselineskip
+   \multiply \@tempdima \@cclvi
+   \@tempdimb \columnwidth
+   \divide \@tempdimb \@cclvi
+   \divide \@tempdima \@tempdimb
+   \xdef\footfudgefactor{\strip at pt\@tempdima}%
+   \endgroup
+   \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
+}
 \let\bidi at xparaskip\relax
 \@onlypreamble\AddExtraParaSkip
-\bidi at ensure@newcommand{\@parafootnotetext}[1]{\insert\footinsv at r{%
+\bidi at ensure@newcommand{\@parafootnotetext}[1]{\insert
+  \if at RTL@footnote
+    \footinsv at r
+  \else
+    \footinsv at l
+  \fi
+  {%
   \let\bidi at RTL@everypar\@empty%
   \def\baselinestretch{\m at m@footnote at spacing}%
   \reset at font\foottextfont
@@ -1816,10 +1535,10 @@
     \csname p at footnote\endcsname\@thefnmark}%
   \setbox0=\vbox{\hsize=\maxdimen
     \color at begingroup
-      \noindent \@parafootfmt{\if at RTL@footnote\beginR\else\beginL\fi#1\if at RTL@footnote\endR\else\endL\fi}%
+      \noindent \@parafootfmt{#1}%
     \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
-\bidi at ensure@newcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv at r{%
+\bidi at ensure@newcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv at l{%
  \let\bidi at RTL@everypar\@empty%
  \def\baselinestretch{\m at m@footnote at spacing}%
   \reset at font\LTRfoottextfont
@@ -1828,7 +1547,7 @@
     \csname p at footnote\endcsname\@thefnmark}%
   \setbox0=\vbox{\hsize=\maxdimen
     \color at begingroup
-      \noindent \@paraLTRfootfmt{\beginL#1\endL}%
+      \noindent \@paraLTRfootfmt{#1}%
     \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@paraRTLfootnotetext}[1]{\insert\footinsv at r{%
@@ -1840,7 +1559,7 @@
     \csname p at footnote\endcsname\@thefnmark}%
   \setbox0=\vbox{\hsize=\maxdimen
     \color at begingroup
-      \noindent \@paraRTLfootfmt{\beginR#1\endR}%
+      \noindent \@paraRTLfootfmt{#1}%
     \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@parafootfmt}[1]{%
@@ -1856,10 +1575,21 @@
   \parfillskip=0pt \@plus 1fil
   {\RTLfootfootmark\strut {\RTLfoottextfont #1}\penalty-10}}
 \bidi at ensure@newcommand{\@mpparafootnotetext}[1]{%
-  \global\setbox\@mpfootinsv at r\vbox{%
+  \global\setbox
+  \if at RTL@footnote
+    \@mpfootinsv at r
+  \else
+    \@mpfootinsv at l
+  \fi
+  \vbox{%
     \let\bidi at RTL@everypar\@empty%
     \def\baselinestretch{\m at m@footnote at spacing}%
-    \unvbox\@mpfootinsv at r
+    \unvbox
+    \if at RTL@footnote
+      \@mpfootinsv at r
+    \else
+      \@mpfootinsv at l
+    \fi
     \reset at font\foottextfont
     \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
@@ -1866,14 +1596,14 @@
       \csname p at mpfootnote\endcsname\@thefnmark}%
     \setbox0=\vbox{\hsize=\maxdimen
       \color at begingroup
-      \noindent \@parafootfmt{\if at RTL@footnote\beginR\else\beginL\fi#1\if at RTL@footnote\endR\else\endL\fi}%
+      \noindent \@parafootfmt{#1}%
       \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@mpparaLTRfootnotetext}[1]{%
-  \global\setbox\@mpfootinsv at r\vbox{%
+  \global\setbox\@mpfootinsv at l\vbox{%
    \let\bidi at RTL@everypar\@empty%
    \def\baselinestretch{\m at m@footnote at spacing}%
-    \unvbox\@mpfootinsv at r
+    \unvbox\@mpfootinsv at l
     \reset at font\LTRfoottextfont
     \hsize\columnwidth \@parboxrestore
     \protected at edef\@currentlabel{%
@@ -1880,7 +1610,7 @@
       \csname p at mpfootnote\endcsname\@thefnmark}%
     \setbox0=\vbox{\hsize=\maxdimen
       \color at begingroup
-      \noindent \@paraLTRfootfmt{\beginL#1\endL}%
+      \noindent \@paraLTRfootfmt{#1}%
       \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
 \bidi at ensure@newcommand{\@mpparaRTLfootnotetext}[1]{%
@@ -1894,83 +1624,13 @@
       \csname p at mpfootnote\endcsname\@thefnmark}%
     \setbox0=\vbox{\hsize=\maxdimen
       \color at begingroup
-      \noindent \@paraRTLfootfmt{\beginR#1\endR}%
+      \noindent \@paraRTLfootfmt{#1}%
       \color at endgroup}%
   \m at mungebox}\m at mmf@prepare}
-\bidi at ensure@newcommand{\paragraphfootstyle}[1]{%
-  \m at make@parafootnotetext{#1}%
-  \m at make@mpparafootnotetext{#1}%
-  \m at make@parafootfmt{#1}%
-  \m at make@para at footgroup{#1}%
-  \m at make@mppara at footgroup{#1}%
-  \m at make@para at footstart{#1}%
-  \bidi at namelongdef{@footnotetext#1}##1{%
-    \@nameuse{@parafootnotetext#1}{##1}}%
-  \bidi at namelongdef{@mpfootnotetext#1}##1{%
-    \@nameuse{@mpparafootnotetext#1}{##1}}%
-  \@namedef{@footgroup#1}{\@nameuse{@para at footgroup#1}}%
-  \@namedef{mp at footgroup#1}{\@nameuse{@mppara at footgroup#1}}%
-  \@namedef{@footstart#1}{\@nameuse{@para at footstart#1}}%
-  \expandafter\dimen\csname footins#1\endcsname=\footinsdim
-  \expandafter\count\csname footins#1\endcsname=1000\relax
-  \begingroup
-  \def\baselinestretch{\m at m@footnote at spacing}%
-   \@nameuse{foottextfont#1}%
-   \@tempdima\footnotesep
-   \advance\@tempdima -\ht\strutbox
-   \ifdim\@tempdima<\z@ \@tempdima\z@ \fi
-   \advance\@tempdima.5\normalbaselineskip
-   \bidi at xparaskip
-   \xdef\bidi at paraskip{\the\@tempdima\relax}%
-   \ifdim\skip\@nameuse{footins#1}>\bigskipamount
-   \else
-     \global\advance\skip\@nameuse{footins#1}\bidi at paraskip
-   \fi
-   \@tempdima\normalbaselineskip
-   \multiply \@tempdima \@cclvi
-   \@tempdimb \columnwidth
-   \divide \@tempdimb \@cclvi
-   \divide \@tempdima \@tempdimb
-   \xdef\footfudgefactor{\strip at pt\@tempdima}%
-   \endgroup
-   \@ifstar\bidi at star@footmarkwidth\bidi at normal@footmarkwidth
-}
-\bidi at ensure@newcommand{\m at make@parafootnotetext}[1]{%
-\bidi at namelongdef{@parafootnotetext#1}##1{%
-  \insert\@nameuse{footins#1}{
-  \def\baselinestretch{\m at m@footnote at spacing}%
-  \reset at font\@nameuse{foottextfont#1}%
-  \@preamfntext
-  \protected at edef\@currentlabel{%
-    \csname p at footnote#1\endcsname \@nameuse{@thefnmark#1}}%
-  \setbox0=\vbox{\hsize=\maxdimen
-    \color at begingroup
-      \noindent \@nameuse{@parafootfmt#1}{##1}%
-    \color at endgroup}%
-  \m at mungebox}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@mpparafootnotetext}[1]{%
-\bidi at namelongdef{@mpparafootnotetext#1}##1{%
-  \global\setbox\@nameuse{@mpfootins#1}\vbox{%
-    \unvbox\@nameuse{@mpfootins#1}
-    \def\baselinestretch{\m at m@footnote at spacing}%
-    \reset at font\@nameuse{foottextfont#1}%
-    \hsize\columnwidth \@parboxrestore
-    \protected at edef\@currentlabel{%
-      \csname p at mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}%
-    \setbox0=\vbox{\hsize=\maxdimen
-      \color at begingroup
-        \noindent \@nameuse{@parafootfmt#1}{##1}%
-      \color at endgroup}%
-    \m at mungebox}\m at mmf@prepare}}
-\bidi at ensure@newcommand{\m at make@parafootfmt}[1]{%
-\bidi at namelongdef{@parafootfmt#1}##1{%
-  \parindent=\z@
-  \parfillskip=0pt \@plus 1fil
-  {\@nameuse{footfootmark#1}\strut
-   {\@nameuse{foottextfont#1}##1}\penalty-10}}}
 \bidi at ensure@newcommand{\m at make@para at footgroup}[1]{%
 \@namedef{@para at footgroup#1}{%
   \unvbox\@nameuse{footins#1}
+  \@RTLtrue
   \m at mmakehboxofhboxes
   \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
   \@parboxrestore%
@@ -1977,14 +1637,34 @@
   \def\baselinestretch{\m at m@footnote at spacing}%
   \@nameuse{foottextfont#1}%
   \noindent\unhbox0\par}}
+\bidi at ensure@newcommand{\bidi at make@para at LTRfootgroup}[1]{%
+\@namedef{@para at LTRfootgroup#1}{%
+  \unvbox\@nameuse{footins#1}
+  \@RTLfalse
+  \m at mmakehboxofhboxes
+  \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
+  \@parboxrestore%
+  \def\baselinestretch{\m at m@footnote at spacing}%
+  \@nameuse{foottextfont#1}%
+  \noindent\unhbox0\par}}
 \bidi at ensure@newcommand{\m at make@mppara at footgroup}[1]{%
 \@namedef{@mppara at footgroup#1}{%
   \unvbox\@nameuse{@mpfootins#1}
+  \@RTLtrue
   \m at mmakehboxofhboxes
   \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
   \def\baselinestretch{\m at m@footnote at spacing}%
   \@nameuse{foottextfont#1}%
   \noindent\unhbox0\par}}
+\bidi at ensure@newcommand{\bidi at make@mppara at LTRfootgroup}[1]{%
+\@namedef{@mppara at LTRfootgroup#1}{%
+  \unvbox\@nameuse{@mpfootins#1}
+  \@RTLfalse
+  \m at mmakehboxofhboxes
+  \setbox0=\hbox{\unhbox0 \m at mremovehboxes}%
+  \def\baselinestretch{\m at m@footnote at spacing}%
+  \@nameuse{foottextfont#1}%
+  \noindent\unhbox0\par}}
 \bidi at ensure@newcommand{\m at make@para at footstart}[1]{%
 \@namedef{@para at footstart#1}{%
   \bidi at mopfn@bottom
@@ -1992,7 +1672,16 @@
   \rightskip=\z@
   \parindent=\z@
   \vskip\skip\footins
-  \footnoterule}}
+  \if at bidi@void at footins
+    \footnoterule
+  \fi}}
+\bidi at ensure@newcommand{\bidi at make@para at footstart@@}[1]{%
+\@namedef{@@para at footstart@@#1}{%
+  \bidi at mopfn@bottom
+  \leftskip=\z@
+  \rightskip=\z@
+  \parindent=\z@
+  \vskip\skip\footins}}
 \bidi at ensure@newcommand*{\m at m@makecolfloats}{%
   \xdef\@freelist{\@freelist\@midlist}%
   \global\let\@midlist\@empty
@@ -2021,32 +1710,8 @@
     \footnoterule
     \unvbox \footins
   \color at endgroup
-  \ifvoid\footinsv at r
-    \ifvoid\@bidi at copyins@
-    \else
-      \vskip \skip\@bidi at copyins@
-      \color at begingroup
-        \normalcolor
-        \unvbox \@bidi at copyins@
-      \color at endgroup
-    \fi
-  \fi
-  }}
-\newcommand*{\bidi at mopcopyins}{\setbox\@outputbox \vbox{%
-  \boxmaxdepth\@maxdepth
-  \@tempdima\dp\@cclv
-  \unvbox\@cclv
-  \vskip-\@tempdima
-  \bidi at mopfn@bottom
-  \ifvoid\@bidi at copyins@
-  \else
-    \vskip \skip\@bidi at copyins@
-    \color at begingroup
-      \normalcolor
-      \unvbox \@bidi at copyins@
-    \color at endgroup
-  \fi
-  }}
+  }%
+}
 \newcommand*{\bidi at mopfootnotebf}{%
   \setbox\@outputbox \vbox{%
   \boxmaxdepth\@maxdepth
@@ -2058,44 +1723,15 @@
     \footnoterule
     \unvbox \footins
   \color at endgroup
-  \ifvoid\footinsv at r
-    \ifvoid\@bidi at copyins@
-    \else
-      \vskip \skip\@bidi at copyins@
-      \color at begingroup
-        \normalcolor
-        \unvbox \@bidi at copyins@
-      \color at endgroup
-    \fi
-  \fi
-  }}
-\newcommand*{\bidi at mopcopyinsbf}{%
-  \setbox\@outputbox \vbox{%
-  \boxmaxdepth\@maxdepth
-  \unvbox\@outputbox
-  \bidi at mopfn@bottom
-  \ifvoid\@bidi at copyins@
-  \else
-    \vskip \skip\@bidi at copyins@
-    \color at begingroup
-      \normalcolor
-      \unvbox \@bidi at copyins@
-    \color at endgroup
-  \fi
-  }}
+  }%
+}
 \gdef\mem at makecol{%
   \m at m@makecolintro
   \ifvoid\footins
-    \ifvoid\footinsv at r
-      \ifvoid\@bidi at copyins@
-        \setbox\@outputbox \box\@cclv
-      \else
-        \bidi at mopcopyins
-      \fi
-    \else
-      \setbox\@outputbox \box\@cclv
-    \fi
+    \global\@bidi at void@footinstrue
+    \setbox\@outputbox \box\@cclv
   \else
+    \global\@bidi at void@footinsfalse
     \m at mopfootnote
   \fi
   \m at mdoextrafeet
@@ -2107,13 +1743,9 @@
   \setbox\@outputbox \box\@cclv
   \m at m@makecolfloats
   \ifvoid\footins
-    \ifvoid\footinsv at r
-      \ifvoid\@bidi at copyins@
-      \else
-        \bidi at mopcopyinsbf
-      \fi
-    \fi
+    \global\@bidi at void@footinstrue
   \else
+    \global\@bidi at void@footinsfalse
     \bidi at mopfootnotebf
   \fi
   \m at mdoextrafeet

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/flowfram-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/footnote-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/imsproc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/imsproc-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/imsproc-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/leqno-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/lineno-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/loadingorder-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/longtable-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/mathtools-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/mathtools-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/mathtools-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/mdframed-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/memoir-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/midfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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
@@ -34,7 +34,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 %%
-\ProvidesFile{multicol-xetex-bidi.def}[2018/09/26 v1.0 bidi adaptations for multicol package for XeTeX engine]
+\ProvidesFile{multicol-xetex-bidi.def}[2018/10/07 v1.1 bidi adaptations for multicol package for XeTeX engine]
 \def\page at sofar{%
    \process at cols\mult at rightbox
        {\ifvoid\count@
@@ -119,7 +119,7 @@
 \newcommand\bidi at multicol@align at columns
     {\if at RTLmain\RTL at column@boxes\else\LTR at column@boxes\fi}
 \bidi at AtEndPreamble{%
-  \if at bidi@csdef{footinsv at r}{%
+  \if at bidi@csdef{footinsv at l}{%
     \def\footnoterule{\kern-3\p@
       \hrule \@width \textwidth \kern 2.6\p@}%
   }{}%
@@ -175,17 +175,27 @@
    \advance\dimen at -\ht\@bidi at copyins@
 }
 \bidi at AtEndPreamble{%
-  \if at bidi@csdef{footinsv at r}{%
+  \if at bidi@csdef{footinsv at l}{%
     \def\bidi at leave@mult at footins@vr{%
        \advance\dimen at -\skip\footinsv at r
        \advance\dimen at -\ht\footinsv at r
      }%
+    \def\bidi at leave@mult at footins@vl{%
+       \advance\dimen at -\skip\footinsv at l
+       \advance\dimen at -\ht\footinsv at l
+     }%
     \def\bidi at init@mult at footinsv@r{%
       \multiply\count\footinsv at r\col at number
       \multiply\skip \footinsv at r\col at number
     }%
+    \def\bidi at init@mult at footinsv@l{%
+      \multiply\count\footinsv at l\col at number
+      \multiply\skip \footinsv at l\col at number
+    }%
     \def\bidi at reinsert@footnotesv at r{\ifvoid\footinsv at r\else
              \insert\footinsv at r{}\fi}%
+    \def\bidi at reinsert@footnotesv at l{\ifvoid\footinsv at l\else
+             \insert\footinsv at l{}\fi}%
     \bidi at patchcmd{\prepare at multicols}{%
       \reinsert at footnotes
     }{%
@@ -192,11 +202,22 @@
       \reinsert at footnotes
       \bidi at init@mult at footinsv@r
       \bidi at reinsert@footnotesv at r
+      \bidi at init@mult at footinsv@l
+      \bidi at reinsert@footnotesv at l
     }{}{}%
     \bidi at patchcmd{\multi at column@out}{%
       \ifnum \c at tracingmulticols>\thr@@
     }{%
-       \ifvoid\footinsv at r\else
+       \ifvoid\footinsv at r
+         \ifvoid\footinsv at l
+         \else
+           \PackageWarning{multicol}%
+            {I moved some lines to
+             the next page.\MessageBreak
+             Footnotes on page
+             \thepage\space might be wrong}%
+         \fi
+       \else
          \PackageWarning{multicol}%
           {I moved some lines to
            the next page.\MessageBreak
@@ -210,6 +231,7 @@
 }{%
   \reinsert at footnotes
   \bidi at reinsert@footnotesv at r
+  \bidi at reinsert@footnotesv at l
 }{}{}%
 \bidi at patchcmd{\speci at ls}{%
   \reinsert at footnotes
@@ -216,6 +238,7 @@
 }{%
   \reinsert at footnotes
   \bidi at reinsert@footnotesv at r
+  \bidi at reinsert@footnotesv at l
 }{}{}%
 \bidi at patchcmd{\speci at ls}{%
   \reinsert at footnotes
@@ -222,16 +245,21 @@
 }{%
   \reinsert at footnotes
   \bidi at reinsert@footnotesv at r
+  \bidi at reinsert@footnotesv at l
 }{}{}%
   }{}%
   \bidi at patchcmd{\multi at column@out}{%
      \let\ifshr at kingsaved\ifshr at king
   }{%
-    \if at bidi@csdef{footinsv at r}{%
+    \if at bidi@csdef{footinsv at l}{%
       \divide\skip\footinsv at r\col at number
        \ifvoid\footinsv at r \else
           \bidi at leave@mult at footins@vr
        \fi
+      \divide\skip\footinsv at l\col at number
+       \ifvoid\footinsv at l \else
+          \bidi at leave@mult at footins@vl
+       \fi
      }{}%
      \ifvoid\@bidi at copyins@ \else
         \bidi at leave@mult at copyins

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pdfbase-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/scrlettr-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/soul-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tcolorbox-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/tocloft-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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/tocstyle-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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	2018-10-07 21:07:48 UTC (rev 48851)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def	2018-10-07 21:08:27 UTC (rev 48852)
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{50675}
+%% \CheckSum{49977}
 %% \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