Uwe Brauer <o...@mat.ucm.es> writes:

> So what shall I do then? I have an org file with matlab source code and latex 
> formula, having the latex formula surrounded by a block as in 
> #+begin_src latex :results latex replace :exports results :eval t
> \begin{equation}
> \label{eq:windeln-29-08-22:1}
> \int
> \end{equation}
> #+end_src
>
> Results in nice fortification. However sometimes I need to export the org 
> file to odt/html and would like to have the mathematical formula translated, 
> so what would be the best strategy?

Just use :results raw. Org understands latex environments natively.
See 12.5.1 LaTeX fragments section of the manual.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to