Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Eric Schulte <schulte.e...@gmail.com> writes: > >> Attached > > OK, now I get it. > > You're working at the wrong level. `latex-fragment' is an object > (inline) type, but you're inserting it at the element's level. The > equivalent (non inline) element is `latex-environment', which is, for > example: > > \begin{equation} > 1+1=2 > \end{equation} > > So you could simply replace `latex-fragment' type with > `latex-environment', and your example should work properly. >
Confirmed, using `latex-environment' does give the desired behavior. A related question. Is there a command to re-number figures in export? After adding latex-environments in a function added to the `org-export-filter-parse-tree-functions' hook, all figures are numbered "1". Thanks, > > HTH, > > > Regards, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)