"Raw" LaTeX code export to ODT always worked if =tex= (and possibly
=org-latex-to-mathml-convert-command=) were correctly set.

The problem is that "raw" output is no longer recognized as the
function result. If the function is reran, the result will be output
twice : once by the function execution and once by the "#+results:"
paragraph.

John's black magic with drawers allows to keep the link between
function and results.

HTH,

--
Emmanuel Charpentier

Le mercredi 14 juillet 2021 à 14:41 +0800, Timothy a écrit :
> 
> John Kitchin <jkitc...@andrew.cmu.edu> writes:
> 
> > #+RESULTS: foo
> > :results:
> > \[\displaystyle{\sin\left(\frac{a}{b}\right)}\]
> > :end:
> > 
> > the key is the drawer I think.
> 
> FYI as of
> https://code.orgmode.org/bzg/org-mode/commit/b90b850ae8be46a1ebe7d13b05ad79869e8d1032
> a LaTeX environment will "just work". i.e.
> 
> #+RESULTS:
> \begin{equation*}
>   \displaystyle{\sin\left(\frac{a}{b}\right)}
> \end{equation*}
> 
> This is currently made use of in the new ob-julia (WIP).
> 
> --
> Timothy



Reply via email to