Having seen the recent message by Ulf regarding an org-mode button, I thought I would do a little bit of work on my web site. Unfortunately, this has caused me a problem!
It would appear that the handling of images in HTML export has changed sometime recently and does not match the documentation (12.5.5 Images in HTML export). Specifically, whether a link to an image file has a description or not is ignored and all my images are being inlined. Attached are a simple org file that illustrates the problem and the resulting HTML. I think I'm up to date with org, although the version number I get is a bit strange: : Org-mode version 7.01trans (release_6.36.718.g78ef) : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) : of 2010-05-16 on raven, modified by Debian Any help greatly appreciated! Thanks, eric
# -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fr...@ucl.ac.uk #+DATE: 2010.07.19 23:16:44 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: * problem with html export of links to images I often have links to images that should be inline: #+caption: An example image to be displayed on the page [[file:mip.png]] and images which are [[file:mip.png][linked to]] but not displayed. #+begin_src emacs-lisp :results output (format "%s\n%s" (org-version) (emacs-version)) #+end_src #+results: : Org-mode version 7.01trans (release_6.36.718.g78ef) : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) : of 2010-05-16 on raven, modified by DebianTitle: examplebug.org
examplebug.org
Table of Contents
1 problem with html export of links to images
I often have links to images that should be inline:
An example image to be displayed on the page
and images which are but not displayed.
(format "%s\n%s" (org-version) (emacs-version))
Date: 2010.07.19 23:16:44
HTML generated by org-mode 7.01trans in emacs 23
<<inline: mip.png>>
-- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D
_______________________________________________ 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