From: Bastien <bzg@altern.org>
To: MarkS <throaway@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: FR: Display images in org-mode?
Date: Tue, 08 Jan 2008 13:17:05 +0000 [thread overview]
Message-ID: <87bq7wihim.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20080107T173947-36@post.gmane.org> (MarkS's message of "Mon, 7 Jan 2008 17:45:39 +0000 (UTC)")
Hi Marks,
MarkS <throaway@yahoo.com> writes:
> One feature of emacs-muse that I really like and can use is the
> ability to display inline images right inside of emacs. This allows me
> to see thumbnails of documents I'm currently working on, or catalog
> photographs on CD.
I've had a quick look at the code in Muse for this. Inline images are a
good feature if we have something like `org-toggle-inline-images'.
> Is there any hope that orgmode will ever have this capability? I was
> thinking that the image rendering must somehow be inherent in emacs
> for muse to be able to do this, so maybe it wouldn't be too hard for
> orgmode to do it too?
Definitely not that hard.
For now there is this rule applying to the HTML export: if an image link
has no description, or if the description and the link are equal, inline
the image in the HTML output:
[[file:/home/me/me.jpg]] => <img src="[img URL]">
If there is some informative description
then don't inline the image, juste link to it.
[[file:/home/me/me.jpg][Me!]] => <a href="[img URL]">Me!</a>
Would this rule be okay for inlining images in the buffer as well?
--
Bastien
next prev parent reply other threads:[~2008-01-08 13:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-07 17:45 FR: Display images in org-mode? MarkS
2008-01-08 13:17 ` Bastien [this message]
2008-01-08 14:48 ` MarkS
2008-01-08 14:56 ` William Henney
2008-01-09 17:49 ` MarkS
2008-01-09 18:12 ` Piotr Zielinski
2008-01-09 19:30 ` William Henney
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=87bq7wihim.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=throaway@yahoo.com \
/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).