Closed yrogge closed 2 years ago
NB. Everything was OK with version 3.67.
As a workaround, try with:
\usepackage{amsmath}
\usepackage{mathtools} % not compatible with bidi option
\makeatletter
\let\save@intertext\intertext@
\AtBeginDocument{\let\intertext@\save@intertext}
\makeatother
Babel patches for \intertext
are meant for amsmath
, but mathtools
changes this command further and the definition is messed up.
OK. It works. Thank you. But there is now another strange behavior: after tagged environments (equation, align, etc.), the following non-math text is always indented as at the begin of a new paragraph. It is not the case if there were no tags ([ ], align*, etc.). Note that it is not the case when the text is produced inside the environment with \intertext or \shortintertext macros.
Using the new 3.70 version with luaLaTeX, there is a strange behavior in align environment. See example below. With both bidi=basic option (line 4) and \usepackage{mathtools} (line 7), there are errors in align (at line 23). Commenting either one, the tags in it are misplaced.