Hello, Bastien writes: > Marco Falconi writes: > >> Also, my preference would be for the exported id to be the one given >> in the NAME attribute (as it is now), because I use it in the html >> file to name the theorem environment. Of course this is just my >> preference, and I would understand if the solution would work in >> another manner. > > I think that's the natural expectation. Actually, that's a natural expectation only if you don't use fancy names, or know a bit of HTML. By default using raw names is not safe. This is the reason why `org-latex-prefer-user-labels' has a nil default value. The following patch implements the same for HTML. I didn't test it thoroughly, tho. Regards, -- Nicolas Goaziou