emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when exporting to odt or html, latex equations are not exported when


From: Ihor Radchenko
Subject: Re: when exporting to odt or html, latex equations are not exported when in soure block: BUG?
Date: Sat, 29 Oct 2022 04:25:58 +0000

Uwe Brauer <oub@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

[Prev in Thread] Current Thread [Next in Thread]