> Here is a way way to combine the output with a name/caption.
Slight modification : caption in emacs-lisp (to avoid sh blocks) : see the enclosed archive (necessary to avoid anti-spam blocking by my ISP).
Mixed results (see enclosed archive):
- ODT exports : I get a captioned block containing the equation, correctly referenced.
- HTML : I get the equation (via MathML/Mathjax), no caption and a reference to nothing visible.
- PDF via LaTeX : I get the math and an undefined reference (??).
- Docx from ODT : mangled math, unrelated caption, reference to nothing.
There is a nice idea, but it is still perfectible. I'm afraid that filering by exporter is still necessary...
Thank you again !
--
Emmanuel Charpentier