emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jérémie Juste" <jeremiejuste@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: org-mime-buffer-htmlize with BEGIN_EXPORT latex
Date: Tue, 14 Mar 2017 10:44:44 +0100	[thread overview]
Message-ID: <CAPHJcdCuNCTCmDYiF_g3oBKUwMvH2=RjBNFDb4E4sNaL80hbPg@mail.gmail.com> (raw)
In-Reply-To: <CAPHJcdDTXhnbVBxjTjdTE273WqhumNt0DLidTTTKE8z51mh=Nw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

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 <jeremiejuste@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

[-- Attachment #2: Type: text/html, Size: 6011 bytes --]

      reply	other threads:[~2017-03-14  9:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14  9:35 org-mime-buffer-htmlize with BEGIN_EXPORT latex Jérémie Juste
2017-03-14  9:44 ` Jérémie Juste [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPHJcdCuNCTCmDYiF_g3oBKUwMvH2=RjBNFDb4E4sNaL80hbPg@mail.gmail.com' \
    --to=jeremiejuste@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).