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: Wed, 26 Oct 2022 07:40:10 +0000

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

> Hi 
>
> I run a relative recent GNU Emacs and org master, however please
> consider the following example:
>
> When exporting to html or odt (using dvipng in both cases) the first set
> of equations in the source block are ignored.
>
> Can somebody please confirm this, and tell me whether I should open a
> BUG report.
> ...
> * A source block provides to export latex equations
> #+begin_src latex :results latex replace :exports results :eval t

Of course, the source block is ignored.
According to 16.6 Results of Evaluation section of the manual,

‘latex’
     Results enclosed in a ‘BEGIN_EXPORT latex’ block.  Usage example:
     ‘:results value latex’.

So, you are exporting results of the evaluation, which is latex export
block. Such block will only get exported to latex. By definition.

-- 
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]