emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Generated images in buffer
Date: Sun, 28 Nov 2010 09:04:28 +0200	[thread overview]
Message-ID: <AANLkTinSY_rWO1KyaLfOtOCH_sjdCk=qmNxO6FA+FbKs@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1133 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1235 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-11-28  7:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28  7:04 Dov Grobgeld [this message]
2010-11-28  7:34 ` Generated images in buffer Jeff Horn
2010-11-28  8:11   ` Dov Grobgeld
2010-11-28 14:46     ` Eric Schulte
2010-11-28 17:27       ` Dan Davison
2010-11-28 20:43         ` Dov Grobgeld
2010-11-28 22:34           ` Dan Davison

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='AANLkTinSY_rWO1KyaLfOtOCH_sjdCk=qmNxO6FA+FbKs@mail.gmail.com' \
    --to=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).