khaledhosny/luadirections — Issue #2: amsmath (align) bug
Author: vafa
Created: 2011-11-01 08:19:05+00:00
State: open

\documentclass{article}
\usepackage{amsmath}
\usepackage{fontspec}
\usepackage[
rtldocument,
]{luabidi}

\setmainfont[Script=Arabic]{XB Zar}

\begin{document}
\begin{align}
(x-y)(x+y)&=9
\end{align}
\end{document}

you get :

! Missing number, treated as zero.

\relax
l.13 \end{align}

?