reutenauer/polyglossia — Issue #7: no equation number for dmath inside english environment
Author: vafa
Created: 2011-11-03 05:21:32+00:00
State: open

\documentclass{article}
\usepackage{breqn}
\usepackage{polyglossia}
\setmainlanguage{farsi}
\setotherlanguage{english}
\newfontfamily\farsifont[Script=Arabic]{XB Zar}
\begin{document}
\begin{english}
\begin{dmath}
1+2=3
\end{dmath}
\end{english}
\end{document}

No equation number, in addition you get incorrect parentheses around equation number. I can not comment on the first issue but second issue is because polyglossia package does not make use of \if@Latin boolean of bidi package. This boolean should be true for LTR scripts (like english) and false for RTL scripts (like Persian).