emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode@gnu.org, Takumi KINJO <takumi.kinjo@gmail.com>
Subject: Re: HTML5 presentations
Date: Wed, 08 Jun 2011 15:45:33 +0200	[thread overview]
Message-ID: <87lixcqvwi.fsf@member.fsf.org> (raw)
In-Reply-To: <BANLkTi=Lh6CF8PeWoWzWs4DKcXQg1YJgFjJivuoXwPzP0zoYww@mail.gmail.com> (Rainer M. Krug's message of "Wed, 8 Jun 2011 15:13:38 +0200")

Rainer M Krug <r.m.krug@gmail.com> 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

  reply	other threads:[~2011-06-08 13:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 18:56 HTML5 presentations Vinh Nguyen
2011-06-07 20:01 ` Tassilo Horn
2011-06-07 20:35   ` Eric Schulte
2011-06-08  7:21     ` Jambunathan K
2011-06-15 18:19     ` Eric S Fraga
2011-06-15 19:35       ` Eric Schulte
2011-06-15 20:57       ` Joost Kremers
2011-06-16  7:45         ` Eric S Fraga
2011-06-15 22:07       ` Juan Pechiar
2011-06-16  7:44         ` Eric S Fraga
2011-06-16 15:49       ` Achim Gratz
2011-06-17 19:35         ` Eric S Fraga
2011-06-18  7:09           ` Achim Gratz
2011-06-16 19:07   ` Robert Goldman
2011-06-16 19:29     ` Eric Schulte
2011-06-16 19:35       ` Robert Goldman
2011-06-16 20:36       ` Jambunathan K
2011-06-16 21:50         ` Robert Goldman
2011-06-16 23:19           ` Eric Schulte
2011-06-17  2:50             ` Jambunathan K
2011-06-17  1:09           ` Jambunathan K
2011-06-07 22:05 ` Christian Moe
2011-06-08  7:24   ` Tassilo Horn
2011-06-08 11:27     ` Rainer M Krug
2011-06-08 13:01       ` Tassilo Horn
2011-06-08 13:13         ` Rainer M Krug
2011-06-08 13:45           ` Tassilo Horn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-24 15:33 Matt Price
2011-08-25 22:38 ` Eric Schulte
2011-08-26 10:58   ` zwz

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=87lixcqvwi.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    --cc=takumi.kinjo@gmail.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).