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 <jeremieju...@gmail.com>
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_HEADER: \usepackage [margin=1in]{geometry}
> #+LATEX_CLASS: myclass
> #+LATEX_HEADER: \newcommand\numberEq{\addtocounter{equation}{1}\tag{
> \theequation}}
> #+LATEX_HEADER:\usepackage{setspace}
> #+LATEX_HEADER: \usepackage{tikz}
> #+LATEX_HEADER: \usepackage{longtable}
> #+LATEX_HEADER: \usepackage{bbm}
> #+LATEX_HEADER: \usepackage{rotating}
> #+LATEX_HEADER: \doublespace
>
> 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

Reply via email to