Hi, Since this morning, I have problems exporting (inline) images. Here's an example. Such content in my Org buffer: --8<---------------cut here---------------start------------->8--- [[file:toto.png]] --8<---------------cut here---------------end--------------->8--- is exported to this HTML code: --8<---------------cut here---------------start------------->8--- <img src="toto.png" alt="toto.png" /> --8<---------------cut here---------------end--------------->8--- where the first and last "<" and ">" are escaped. Could someone fix this as soon as possible? Thanks a lot, Francesco Pizzolante
Francesco Pizzolante <fpz@missioncriticalit.com> writes: > Since this morning, I have problems exporting (inline) images. > [...] > Could someone fix this as soon as possible? err... this is pretty rude phrasing for a volunteer project, isn't it? DIY soutions: 1. You can write a function that, in your html file, substitutes ;< with < and /> with /> 2. You can use/install an older version 2.1 from here: http://repo.or.cz/w/org-mode.git perhaps before David Maus's commit 2.2 use git (I don't know how) Cheers, Giovanni
Hi Francesco,
Francesco Pizzolante <fpz@missioncriticalit.com> writes:
> Since this morning, I have problems exporting (inline) images.
>
> Here's an example.
>
> Such content in my Org buffer:
>
> [[file:toto.png]]
>
> is exported to this HTML code:
>
> <img src="toto.png" alt="toto.png" />
Yes, this is a problem with last commit.
Simply do this:
~$ git checkout HEAD~1
and wait till that problem is fixed.
Best,
--
Bastien
Bastien,
>> Since this morning, I have problems exporting (inline) images.
>>
>> Here's an example.
>>
>> Such content in my Org buffer:
>>
>> [[file:toto.png]]
>>
>> is exported to this HTML code:
>>
>> <img src="toto.png" alt="toto.png" />
>
> Yes, this is a problem with last commit.
>
> Simply do this:
>
> ~$ git checkout HEAD~1
>
> and wait till that problem is fixed.
Thanks a lot.
Francesco
[-- Attachment #1: Type: text/plain, Size: 346 bytes --] At Mon, 14 Mar 2011 10:09:37 +0100, Francesco Pizzolante wrote: > Since this morning, I have problems exporting (inline) images. > > ... > > Could someone fix this as soon as possible? The joys of bleeding edget. Should be fixed by now. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de [-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
Hi David,
> At Mon, 14 Mar 2011 10:09:37 +0100,
> Francesco Pizzolante wrote:
>> Since this morning, I have problems exporting (inline) images.
>>
>> ...
>>
>> Could someone fix this as soon as possible?
>
> The joys of bleeding edget.
>
> Should be fixed by now.
Thanks for the fix. It works better now.
There's still a little problem though when adding a caption:
--8<---------------cut here---------------start------------->8---
#+CAPTION: toto
[[file:toto.png]]
--8<---------------cut here---------------end--------------->8---
This exports to the following HTML code:
--8<---------------cut here---------------start------------->8---
<div class="figure">
<p><img src="toto.png" alt="toto.png" /></p>
<p>toto</p>
</div>
--8<---------------cut here---------------end--------------->8---
Regards,
Francesco
[-- Attachment #1: Type: text/plain, Size: 537 bytes --] Hi Francesco, At Tue, 15 Mar 2011 07:47:59 +0100, Francesco Pizzolante wrote: > Thanks for the fix. It works better now. > > There's still a little problem though when adding a caption: > > --8<---------------cut here---------------start------------->8--- > #+CAPTION: toto > [[file:toto.png]] > --8<---------------cut here---------------end--------------->8--- Indeed. I overlooked a stray <p> tag. This one is fixed by now. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de [-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
Hi David,
>> There's still a little problem though when adding a caption:
>>
>> --8<---------------cut here---------------start------------->8---
>> #+CAPTION: toto
>> [[file:toto.png]]
>> --8<---------------cut here---------------end--------------->8---
>
> Indeed. I overlooked a stray <p> tag. This one is fixed by now.
Again, thanks a lot for the fix: it's perfect at the level of the image now.
There's still a small problem with the caption being escaped (I thought it
would disappear with your previous fix, that's why I didn't add it to my
example, so here it is now).
If I have this:
--8<---------------cut here---------------start------------->8---
#+CAPTION: toto\trade
[[file:toto.png]]
--8<---------------cut here---------------end--------------->8---
It is exported to:
--8<---------------cut here---------------start------------->8---
<div class="figure">
<p><img src="toto.png" alt="toto.png" /></p>
<p>toto&trade;</p>
</div>
--8<---------------cut here---------------end--------------->8---
While I would expect (and it was like that before):
--8<---------------cut here---------------start------------->8---
<div class="figure">
<p><img src="toto.png" alt="toto.png" /></p>
<p>toto™</p>
</div>
--8<---------------cut here---------------end--------------->8---
Thanks.
Regards,
Francesco
[-- Attachment #1: Type: text/plain, Size: 809 bytes --] At Wed, 16 Mar 2011 10:17:41 +0100, Francesco Pizzolante wrote: > > Hi David, > > >> There's still a little problem though when adding a caption: > >> > >> --8<---------------cut here---------------start------------->8--- > >> #+CAPTION: toto > >> [[file:toto.png]] > >> --8<---------------cut here---------------end--------------->8--- > > > > Indeed. I overlooked a stray <p> tag. This one is fixed by now. > > Again, thanks a lot for the fix: it's perfect at the level of the image now. > > There's still a small problem with the caption being escaped (I thought it > would disappear with your previous fix, that's why I didn't add it to my > example, so here it is now). This should be fix now. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de [-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
Hi David,
>> >> There's still a little problem though when adding a caption:
>> >>
>> >> --8<---------------cut here---------------start------------->8---
>> >> #+CAPTION: toto
>> >> [[file:toto.png]]
>> >> --8<---------------cut here---------------end--------------->8---
>> >
>> > Indeed. I overlooked a stray <p> tag. This one is fixed by now.
>>
>> Again, thanks a lot for the fix: it's perfect at the level of the image now.
>>
>> There's still a small problem with the caption being escaped (I thought it
>> would disappear with your previous fix, that's why I didn't add it to my
>> example, so here it is now).
>
> This should be fix now.
Indeed, it is.
Thanks a lot.
Francesco