From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: Generated images in buffer Date: Sun, 28 Nov 2010 09:04:28 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1430245884==" Return-path: Received: from [140.186.70.92] (port=52812 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMbJG-0007G8-Os for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 02:04:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMbJF-0006Kx-HW for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 02:04:30 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:48057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMbJF-0006Kt-EE for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 02:04:29 -0500 Received: by qyk7 with SMTP id 7so347205qyk.0 for ; Sat, 27 Nov 2010 23:04:28 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1430245884== Content-Type: multipart/alternative; boundary=0016363b870e08ad20049617910e --0016363b870e08ad20049617910e Content-Type: text/plain; charset=ISO-8859-1 I'm still feel quite a newbie to org-mode and I've been looking for a way to include "dependent" images within the emacs buffer, but I still haven't found it. As an example, assume that I have manully created a diagram with ditaa code, and once I am finishede diting I'd like to press a keystroke e.g. Ctrl-C Ctrl-C and have the contents change to the generated output image, and the ditaa code will be hidden. When subsequently navigating to the image there should be some indicator that this is a generated image and some keystroke should allow turning the image back to its source code. The same idea could be used for any system generating images, e.g. LaTeX formulas, asymptote, a python script using cairo, etc. Similarly if the source code is svg I might not want to display the source code at all (which might be large), but would like to invoke inkscape to edit the svg data. This is better done by referencing the svg as an external image, instead of having it inline, but I would still like to easily invoke an editor application from within emacs with a simple keystroke. So is this currently possible? Thanks, Dov --0016363b870e08ad20049617910e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm still feel quite a newbie to org-mode and I've= been looking for a way to include "dependent" images within the = emacs buffer, but I still haven't found it.

As an example, assum= e that I have manully created a diagram with ditaa code, and once I am fini= shede diting=A0 I'd like to press a keystroke e.g. Ctrl-C Ctrl-C and ha= ve the contents change to the generated output image, and the ditaa code w= ill be hidden. When subsequently navigating to the image there should be so= me indicator that this is a generated image and some keystroke should allow= turning the image back to its source code.

The same idea could be used for any system generating images, e.g. LaTe= X formulas, asymptote, a python script using cairo, etc.

Similarly i= f the source code is svg I might not want to display the source code at all= (which might be large), but would like to invoke inkscape to edit the svg = data. This is better done by referencing the svg as an external image, inst= ead of having it inline, but I would still like to easily invoke an editor = application from within emacs with a simple keystroke.

So is this currently possible?

Thanks,
Dov



--0016363b870e08ad20049617910e-- --===============1430245884== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1430245884==--