From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: HTML5 presentations Date: Wed, 08 Jun 2011 15:45:33 +0200 Message-ID: <87lixcqvwi.fsf@member.fsf.org> References: <4DEEA0BF.1020109@christianmoe.com> <87vcwgeqfv.fsf@member.fsf.org> <87y61cqxy8.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUJ4s-0005cO-RI for emacs-orgmode@gnu.org; Wed, 08 Jun 2011 09:45:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUJ4l-0008S1-AR for emacs-orgmode@gnu.org; Wed, 08 Jun 2011 09:45:45 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]:48261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUJ4k-0008Ro-Qe for emacs-orgmode@gnu.org; Wed, 08 Jun 2011 09:45:39 -0400 In-Reply-To: (Rainer M. Krug's message of "Wed, 8 Jun 2011 15:13:38 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode@gnu.org, Takumi KINJO Rainer M Krug writes: >> >> The only thing that it doesn't do now and stops me from using it >> >> directly is the missing support for image scaling. I tried using >> >> >> >> #+ATTR_HTML: title="Beer!" width="90%" >> >> [[file:~/Desktop/Pictures/beer-bunny.jpg]] >> >> >> >> but the image is shown in original size which is much larger than the >> >> slide. >> > >> > Works for me - although my image is actually smaller, but I can change >> > it's size. > > I am using the one from: > > https://gist.github.com/509761 Ditto. > Org-mode version 7.5 > also tried with > Org-mode version 7.5 (release_7.5.358.g5194) I also use the latter. > GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0) Ok, I use the bzr trunk from yesterday. So that's a difference. I've just edebugged `org-export-html5presentation-format-image' and in the let... (let* ((caption (org-find-text-property-in-string 'org-caption src)) (attr (org-find-text-property-in-string 'org-attributes src)) ; HERE! (label (org-find-text-property-in-string 'org-label src))) ... I guess there should be something set. But the call returns nil. The same applies to #+CAPTION: This is the caption #+LABEL: img1 #+ATTR_HTML: title="Beer" width="50%" [[file:~/Desktop/Pictures/beer-bunny.jpg]] where neither caption, label, nor attr are set. When I set point on the link in the org-file and do M-x describe-text-properties RET I get ,---- | Text content at position 690: | | There is an overlay here: | From 686 to 731 | face hl-line | window nil | | There are text properties here: | face org-link | font-lock-multiline t | fontified t | help-echo "LINK: file:~/Desktop/Pictures/beer-bunny.jpg" | keymap [Show] | mouse-face highlight | org-no-flyspell t `---- Bye, Tassilo