wspr / breqn

Automatic line breaking in LaTeX equations
18 stars 2 forks source link

loading order w/ etoolbox #34

Closed jspitz closed 2 years ago

jspitz commented 4 years ago

This is just a minor (supposedly documentation) issue. If etoolbox (or a package that loads it, such as polyglossia) is loaded after breqn, the following warning is issued:

Package etoolbox Warning: Patching '\end' failed!
(etoolbox)                '\AfterEndEnvironment' will not work.

MWE:

\documentclass{minimal}
%\usepackage{etoolbox}
\usepackage{breqn}
\usepackage{etoolbox}
\begin{document}
Hi.
\end{document}
wspr commented 4 years ago

Thanks. This makes me wonder whether breqn should use etoolbox for the patching that it does. Would kill two birds with one stone — simpler code, and less conflict…

jspitz commented 2 years ago

No longer reproducable. Possible resolved in the wake of the new LaTeX hook implementation?