From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: permanent LaTeX preview Date: Thu, 29 Sep 2011 15:12:41 -0400 Message-ID: <6347.1317323561@alphaville.americas.hpqcorp.net> References: <23900.1317316898@alphaville.dokosmarshall.org> <87y5x7qjns.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9M2S-00024i-UL for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 15:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9M2R-0003oZ-S8 for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 15:12:56 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:38343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9M2R-0003hI-Kl for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 15:12:55 -0400 In-Reply-To: Message from Rasmus of "Thu, 29 Sep 2011 19:37:43 BST." <87y5x7qjns.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Rasmus 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