<div dir="ltr">Hi<br><br>This is definitely a bug of bidi. Thanks for reporting. What happens is that bidi redefines \makecaption macro of standard LaTeX and memoir also have its own definition of \@makecaption.<br>I think if you put the blow code before \begin{document} and after loading arabxetex package, the problem goes away<br>
<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>\makeatletter<br>\long\def\@makecaption#1#2{\let\@memtempa\relax<br>  \ifdim\prevdepth&gt;-99\p@ \vskip\abovecaptionskip<br>  \else \def\@memtempa{\vbox to\topskip{}}\fi<br>
  \let\@contfnote\footnote \renewcommand{\footnote}[2][]{}<br>  \let\@contfmark\footnotemark \renewcommand{\footnotemark}[1][]{}<br>  \sbox\@tempboxa{\@contnfont #1\@contdelim \@conttfont #2\@contfinal}<br>  \let\footnote\@contfnote<br>
  \let\footnotemark\@contfmark<br>  \ifdim\wd\@tempboxa&lt;\linewidth \centering \fi<br>  \if@contcw<br>    \centering<br>    \parbox{\@contcwidth}{%<br>    \ifdim\wd\@tempboxa&lt;\@contcwidth \centering \fi<br>  \fi<br>  \ifdim\wd\@tempboxa&lt;\linewidth<br>
    \@contpre<br>    {\@contnfont #1\@contdelim}\@memtempa<br>    {\@contcshortstyle \@conttfont #2\@contfinal\par}<br>  \else<br>    \if@conthang<br>      \sbox\@tempboxa{\@contnfont #1\@contdelim}<br>      \@contpre%<br>
      {\@contcstyle\hangindent=\wd\@tempboxa<br>       \noindent\box\@tempboxa\@memtempa \@conttfont #2\@contfinal\par}<br>    \else<br>      \if@contindent<br>        \@contpre%<br>        {\@contnfont #1\@contdelim}\@memtempa<br>
        {\@contcstyle\hangindent=\@contindw<br>                     \hangafter=\@ne\@conttfont #2\@contfinal\par}% &lt;- v1.4<br>      \else<br>        \@contpre%<br>        {\@contnfont #1\@contdelim}\@memtempa<br>        {\@contcstyle \@conttfont #2\@contfinal\par}<br>
      \fi<br>    \fi<br>  \fi<br>  \@contpost<br>  \if@contcw<br>    \par<br>    }  % end of the \parbox<br>  \fi<br>  \vskip\belowcaptionskip}<br>\makeatother<br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>