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>, mail@nicolasgoaziou.fr
Subject: latex preview in latex block
Date: Wed, 13 Apr 2016 11:32:07 +0200	[thread overview]
Message-ID: <CAPHJcdCU6vdBZCSNsaZEgS-Qc3WqHqW3EPH7h=O4gasU28HUiQ@mail.gmail.com> (raw)

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

Hello,
>
> Jérémie Juste <jeremiejuste@gmail.com> writes:
>
>> Is it possible to activate the latex preview in org-mode within in latex
>> bloc?

Nicolas Goaziou <mail@nicolasgoaziou.fr> 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>
#+end_src

Best regards

Jeremie Juste

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

             reply	other threads:[~2016-04-13  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13  9:32 Jérémie Juste [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-09 15:25 latex preview in latex block Jérémie Juste
2016-04-10  7:00 ` Nicolas Goaziou
2016-04-10 18:39   ` Jeremie Juste

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='CAPHJcdCU6vdBZCSNsaZEgS-Qc3WqHqW3EPH7h=O4gasU28HUiQ@mail.gmail.com' \
    --to=jeremiejuste@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).