From mboxrd@z Thu Jan 1 00:00:00 1970 From: Renzo Been =?utf-8?b?Oi0p?= Subject: Re: Images and html-export via data: ? Date: Sun, 8 Feb 2009 14:34:09 +0000 (UTC) Message-ID: References: <5271219C-E7EA-48F9-8117-96F4E800C253@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWAjr-0004NL-Ge for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 09:34:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWAjp-0004Ke-GV for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 09:34:27 -0500 Received: from [199.232.76.173] (port=56774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWAjp-0004KT-Cb for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 09:34:25 -0500 Received: from main.gmane.org ([80.91.229.2]:45446 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWAjo-0006AZ-Tz for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 09:34:25 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LWAji-0007IF-By for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 14:34:18 +0000 Received: from ip56507cb9.direct-adsl.nl ([86.80.124.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Feb 2009 14:34:18 +0000 Received: from swangdoodles by ip56507cb9.direct-adsl.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Feb 2009 14:34:18 +0000 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 Carsten Dominik science.uva.nl> writes: > > Seems to me that this could be a nice add-on package, which would > encode and insert such images. > > - Carsten Yes, making it an add-on package would be the best way. Then everyone can chose to use these image commands or not... If there is someone on the list who could create such a package... That would be great! Or I could try and write it myself. But I must admit that my knowledge of writing elisp code is pretty limited... One way to do this would be a mechanism equal to "Include files". So: #+INCLUDE: "~/.emacs" src emacs-lisp (from the org manual) Would turn into: #+INCLUDEPIC: "~/foo.jpg" jpg The extra parameter would be needed to determine the file-type of the image. And possibly there could be more extra parameters for things like: image alinement, and including a caption. And during html export the above would then turn into:

To me this seems a nice way to implement this command. But I really would not know how to start writing this up into an add-on package... Ciao, Renzo