Nicolas Goaziou writes: >> Yeah, I though of that, but that require us to maintain a list of latex >> math environments, which may or may not be annoying. > > Well, if an environment is not recognized as a math one, it still gets > a label. So, that's not a big deal to miss some of them. > >> If we add such a variable where should it live? org.el or ox-latex.el? > > ox-latex.el. This is a hack. There's no need to leak it elsewhere. Here's an updated patch. —Rasmus -- Need more coffee. . .