[Top][All Lists]

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

[O] latex preview in latex block

From: Jérémie Juste
Subject: [O] latex preview in latex block
Date: Wed, 13 Apr 2016 11:32:07 +0200

> Jérémie Juste <address@hidden> writes:
>> Is it possible to activate the latex preview in org-mode within in latex
>> bloc?

Nicolas Goaziou <address@hidden> writes:
> It isn't possible out of the box. Org doesn't look at the contents of
> src blocks, which are supposed to be written in a foreign language.
> However, you can probably write a function for your own use, starting
> from `org-format-latex'.
> Regards,

Actually, there is a simpler way of previewing the latex code from the output of a babel source block. We just need to specify   :results output raw. For example

#+begin_src R :results output raw
       <some code that will output a latex table>

Best regards

Jeremie Juste

reply via email to

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