I have resolve the bug, but testing and releasing is necessary. In a nutshell, the issue is caused by a clash of macro definitions between `breqn` and `amsmath`.
According to http://mirror.physik-pool.tu- berlin.de/pub/CTAN/macros/latex/contrib/breqn/breqn.pdf, Sec. 2 (package loading), a certain order of loading packages in a document's preamble is necessary: ``` The breqn package automatically loads amsmath to avoid loading order conflicts. It also automatically loads flexisym and mathstyle, but in some cases these packages need to be loaded separately. The canonical order for package loading is: 3\usepackage{amsmath} \usepackage{flexisym} \usepackage{breqn} ``` That is, LaTeX template inside `imaxima.el` must be updated; patch is attached. A caveat though: there are TWO places where LaTeX template is defined (see the patch), the bug is fixed by the second; I have introduced the changes in the first part, but it must be tested. ** Patch added: "latex_breqn_fix.patch" https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+attachment/5428184/+files/latex_breqn_fix.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1877185 Title: maxima-emacs returns LaTeX error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1877185/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs