emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Uwe Brauer
Subject: when exporting to odt or html, latex equations are not exported when in soure block: BUG?
Date: Tue, 15 Mar 2022 14:08:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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.

Thanks

Uwe Brauer 

* A source block provides to export latex equations
#+begin_src latex :results latex replace :exports results :eval t

\begin{equation}
\label{eq:doc1:1}
\begin{matrix}
  \mathit{s}^{3}: & 1 & \mathit{K} - 6 \\
  \mathit{s}^{2}: & 5 & \mathit{K} \\
  \mathit{s}: & \frac{(4\mathit{K} - 30)}{5} & \\
  \mathit{s}^{0}: & \mathit{K}. 
  & \\
\end{matrix}
\end{equation}

So we see that 
\[
\frac{4K - 30}{5} > 0 \quad\mbox{and}\quad K > 0,
\]

\[
  K > 7.5\quad \mbox{and}\quad K > 0
\]
#+end_src

* Without the source block
\begin{equation}
\label{eq:doc1:1}
\begin{matrix}
  \mathit{s}^{3}: & 1 & \mathit{K} - 6 \\
  \mathit{s}^{2}: & 5 & \mathit{K} \\
  \mathit{s}: & \frac{(4\mathit{K} - 30)}{5} & \\
  \mathit{s}^{0}: & \mathit{K}. 
  & \\
\end{matrix}
\end{equation}

So we see that 
\[
\frac{4K - 30}{5} > 0 \quad\mbox{and}\quad K > 0,
\]

\[
  K > 7.5\quad \mbox{and}\quad K > 0
\]




-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
https://how-to-help-ukraine-now.super.site/




reply via email to

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