From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Whitton Subject: Inline images export to HTML generates < and > rather than < and > Date: Sun, 27 Mar 2011 14:49:16 +0100 Message-ID: <87tyeod677.fsf@zephyr.silentflame.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from [140.186.70.92] (port=52805 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3qLV-0004wG-2Z for emacs-orgmode@gnu.org; Sun, 27 Mar 2011 09:49:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3qLT-0007Zk-GW for emacs-orgmode@gnu.org; Sun, 27 Mar 2011 09:49:32 -0400 Received: from athena.silentflame.com ([212.13.194.60]:35624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3qLT-0007ZA-9q for emacs-orgmode@gnu.org; Sun, 27 Mar 2011 09:49:31 -0400 Received: from zephyr.silentflame.com (zephyr.athenet [10.9.8.6]) by athena.silentflame.com (Postfix) with ESMTP id D4E701AA6DA for ; Sun, 27 Mar 2011 13:49:26 +0000 (UTC) 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 --=-=-= Content-Transfer-Encoding: quoted-printable Dear all, Another fanatical Org-mode convert new to the list. Following the 'advice' of [1] I am attempting to generate my personal website using Org publishing, but I'm running up against a pretty weird bug when I try to export inline images. The code gets rendered so that the HTML appears in the browser literally; hitting view-source, instead of 3D"img/avi.gif" Org seems to be outputting <img src=3D"img/avi.gif" alt=3D"img/avi.gif" /> which obviously doesn't appear as an image. The code in the org file is just [[file:img/avi.gif]]. Any idea why this might be? Publishing configuration follows.[2] Excited about what I can do with Org publishing; thanks in advance for any assistance. S [1] http://mph.puddingbowl.org/2010/02/org-mode-in-your-pocket-is-a-gnu-sha= ped-devil/ [2] From my Org init file. Sitemap is published seperately so that I can apply body-only so that it can be included with SSI. This works very well. =3D=3D=3D (require 'org-publish) (setq org-publish-project-alist '( ("org-notes" :base-directory "~/tmp/org-html-export/" :base-extension "org" :publishing-directory "/srv/http/v7g" :recursive t :publishing-function org-publish-org-to-html :headline-levels 4 ; Just the default for this project. ; :auto-preamble t :auto-sitemap t ; Generate sitemap.org automagically... :sitemap-filename "sitemap.org" ; ... call it sitemap.org (it's the defaul= t)... :sitemap-title "Sitemap" ; ... with title 'Sitemap'. :sitemap-style 'tree :sitemap-sort-folders 'last :style " " :style-include-default nil :exclude "sitemap.org" :html-preamble "

%t

" :html-postamble " %c
" :html-extension "shtml" ) ("org-static" :base-directory "~/tmp/org-html-export/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|inc\= \|" :publishing-directory "/srv/http/v7g" :recursive t :publishing-function org-publish-attachment ) ("org" :components ("org-notes" "org-static" "org-sitemap")) ("org-sitemap" :base-directory "~/tmp/org-html-export/" :base-extension "org" :publishing-directory "/srv/http/v7g/inc" :publishing-function org-publish-org-to-html :body-only t :html-extension "shtml" ) )) =3D=3D=3D =2D-=20 Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJNj0BcAAoJEA9W0FU7bUEbKYsP/2MIL4E9GlkCfqZ9iLu80b10 EboOlzaQkwj7NXpHR8Of0OR8bb1cjDqaod7Z8rxzdcfAxvXzFG5uCwDANTpmUqM0 ijVJegJH+aV5crczM+odyjnJCy5geQ17ivhMett6NIrD0JiJm4FlKLvW9tUVaD4A kXhYj5ULQ+IVXEGXePCBdgjZnXTen6UW5WhZPEiWsMLl+kX3vzsGoMg4rOvZ4nrv Ct8UCtBYf9WoO+8Blgj/DcY0ELo5aPX1K+JZ7WRg2VBPDv8fm75LfgXYqeKwXi1i yqFMau2Kr8TU558y7sZlBv/I/06V8hVBSNx53GFA0dFN9DdLR/KzPTmhYFpcSX/z 60p9FdaBwVbvigG+SPMhFBAJwGpGIz40u3zeAVRPc/WJ5YJqkCGZUGZe3A2m7/Lt s/Vi/BrrV2NBw0uEB3Ew/QL8nc5bB6To2fxXtZ6KraGFnfEy1I5vHzTDxOwcvOll eKAh51AAdYjN7dlMbu9SIPyxphu9h9ZvQQDTi5rTV7WyME2YwRtx/78IjLn0QCaM hsE568BOpL8CEMXHEhcsonc7iKuRXS2hVkxVOaa7sCn6P39/hBKkmdbYz2L7kTJd 3mLL75E8Q2oeTP9R4QPQ2zOr+iHQpFhm3RjOlJk4pGX22S0tBLLxUdWqJk3r3JrR iByYgyLvsvYIr4tdsa2a =1pkc -----END PGP SIGNATURE----- --=-=-=--