emacs-orgmode
[Top][All Lists]

## Re: [O] org-mime-buffer-htmlize with BEGIN_EXPORT latex

 From: Jérémie Juste Subject: Re: [O] org-mime-buffer-htmlize with BEGIN_EXPORT latex Date: Tue, 14 Mar 2017 10:44:44 +0100

The previous latex codes don't run. My apologies should have checked the latex code first. Now it does.

#+BEGIN_EXPORT latex
\begin{table}[!htbp]
\centering
\caption{Descriptive statistics}
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tabluar}
\end{table}
#+END_EXPORT

work

\begin{table}[!htbp]
\centering
\caption{Descriptive statistics}
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tabular}
\end{table}

work as well

#+BEGIN_latex
\begin{table}
\centering
\caption{Descriptive statistics}
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{tabular}
\end{table}
#+END_latex

Best,

Jeremie

On Tue, Mar 14, 2017 at 10:35 AM, Jérémie Juste wrote:

Hello,

I'm trying the org-mime-buffer-htmlize function but notice that it does
not convert latex codes to image if they are in between export blocks.
It is possible to have this feature enabled ?

#+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t tex:imagemagick
#+LATEX_CLASS: myclass

Does not work

#+BEGIN_EXPORT latex
\begin{table}[!htbp]
\centering
\caption{Descriptive statistics}
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{table}
#+END_EXPORT

work

\begin{table}[!htbp]
\centering
\caption{Descriptive statistics}
\begin{tabular}{ l c r }
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\end{table}

Best regards,
Jeremie

--
Jérémie Juste