emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Rasmus <rasmus@gmx.us>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: permanent LaTeX preview
Date: Thu, 29 Sep 2011 15:12:41 -0400	[thread overview]
Message-ID: <6347.1317323561@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Rasmus <rasmus@gmx.us> of "Thu, 29 Sep 2011 19:37:43 BST." <87y5x7qjns.fsf@gmail.com>

Rasmus <rasmus@gmx.us> wrote:

> 
> 
> >> 1. Pressing C-c C-x C-l to render a formula in other part of the
> >> document. All other formulas revert to LaTeX code in that case.
> >> 2. Pressing C-c C-c to, for instance, evaluate some babel block. In
> >> this particular case it looks like I need to reassign the C-c C-c
> >> keybinding used to remove the images, but I don't know which function
> >> is called to achieve that.
> >
> > I don't think either is possible with the current code. 
> 
> Would it be possible to use the more sophisticated Preview LaTeX of
> AUCTeX? IMO it has a nicer way of dealing with previews.
> 

Do you mean: "replace the org preview mechanism with the preview-latex
preview mechanism"? or "turn on auctex mode/preview-latex in addition to
org-mode in the org file"? or perhaps "export to latex and then use
preview-latex on the latex file"?

In either of the first two cases, my answer is "I don't know". IIRC,
there was some discussion of the former in this list a long time
ago. The second one sound easier (there are a couple of different ways
to turn on multiple major modes - see
e.g. http://www.emacswiki.org/emacs/MultipleModes) but I don't know how
conflicts between them are managed (and I imagine there will be plenty
of those), or what other problems might arise; it might be worth trying
though.

The third one is not as convenient as the other two might be, but it
exists *now* and does not require anything extra: bird in the hand and
all that.

Cheers,
Nick

  reply	other threads:[~2011-09-29 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 16:57 permanent LaTeX preview Alexander Vorobiev
2011-09-29 17:21 ` Nick Dokos
2011-09-29 18:37   ` Rasmus
2011-09-29 19:12     ` Nick Dokos [this message]
2011-09-29 19:25       ` Rasmus

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=6347.1317323561@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).