emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug when publishing images
@ 2011-03-14  9:09 Francesco Pizzolante
  2011-03-14  9:51 ` Giovanni Ridolfi
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Francesco Pizzolante @ 2011-03-14  9:09 UTC (permalink / raw)
  To: mailing-list-org-mode

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---
&lt;img src="toto.png"  alt="toto.png" /&gt;
--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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
  2011-03-14  9:09 Bug when publishing images Francesco Pizzolante
@ 2011-03-14  9:51 ` Giovanni Ridolfi
  2011-03-14  9:56 ` Bastien
  2011-03-14 19:39 ` David Maus
  2 siblings, 0 replies; 10+ messages in thread
From: Giovanni Ridolfi @ 2011-03-14  9:51 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: mailing-list-org-mode

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

   ;&lt with < and  /&gt; 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
   
   

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
  2011-03-14  9:09 Bug when publishing images Francesco Pizzolante
  2011-03-14  9:51 ` Giovanni Ridolfi
@ 2011-03-14  9:56 ` Bastien
       [not found]   ` <87pqpuhvov.fsf-mXXj517/zsQ@public.gmane.org>
  2011-03-14 19:39 ` David Maus
  2 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2011-03-14  9:56 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: mailing-list-org-mode

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:
>
> &lt;img src="toto.png"  alt="toto.png" /&gt;

Yes, this is a problem with last commit.

Simply do this:

~$ git checkout HEAD~1

and wait till that problem is fixed.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
       [not found]   ` <87pqpuhvov.fsf-mXXj517/zsQ@public.gmane.org>
@ 2011-03-14 10:20     ` Francesco Pizzolante
  0 siblings, 0 replies; 10+ messages in thread
From: Francesco Pizzolante @ 2011-03-14 10:20 UTC (permalink / raw)
  To: Bastien; +Cc: mailing-list-org-mode

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:
>>
>> &lt;img src="toto.png"  alt="toto.png" /&gt;
>
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
  2011-03-14  9:09 Bug when publishing images Francesco Pizzolante
  2011-03-14  9:51 ` Giovanni Ridolfi
  2011-03-14  9:56 ` Bastien
@ 2011-03-14 19:39 ` David Maus
       [not found]   ` <87sjup4hkg.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
  2 siblings, 1 reply; 10+ messages in thread
From: David Maus @ 2011-03-14 19:39 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: mailing-list-org-mode

[-- 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 --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
       [not found]   ` <87sjup4hkg.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
@ 2011-03-15  6:47     ` Francesco Pizzolante
  2011-03-15 20:12       ` David Maus
  0 siblings, 1 reply; 10+ messages in thread
From: Francesco Pizzolante @ 2011-03-15  6:47 UTC (permalink / raw)
  To: David Maus; +Cc: mailing-list-org-mode

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">
&lt;p&gt;<img src="toto.png"  alt="toto.png" /></p>
<p>toto</p>
</div>
--8<---------------cut here---------------end--------------->8---

Regards,
 Francesco

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
  2011-03-15  6:47     ` Francesco Pizzolante
@ 2011-03-15 20:12       ` David Maus
       [not found]         ` <87hbb4kur8.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: David Maus @ 2011-03-15 20:12 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: David Maus, mailing-list-org-mode

[-- 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 --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
       [not found]         ` <87hbb4kur8.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
@ 2011-03-16  9:17           ` Francesco Pizzolante
  2011-03-20 11:23             ` David Maus
  0 siblings, 1 reply; 10+ messages in thread
From: Francesco Pizzolante @ 2011-03-16  9:17 UTC (permalink / raw)
  To: David Maus; +Cc: mailing-list-org-mode

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&amp;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&trade;</p>
</div>
--8<---------------cut here---------------end--------------->8---

Thanks.

Regards,
 Francesco

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
  2011-03-16  9:17           ` Francesco Pizzolante
@ 2011-03-20 11:23             ` David Maus
  2011-03-21  7:14               ` Francesco Pizzolante
  0 siblings, 1 reply; 10+ messages in thread
From: David Maus @ 2011-03-20 11:23 UTC (permalink / raw)
  To: Francesco Pizzolante; +Cc: David Maus, mailing-list-org-mode

[-- 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 --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug when publishing images
  2011-03-20 11:23             ` David Maus
@ 2011-03-21  7:14               ` Francesco Pizzolante
  0 siblings, 0 replies; 10+ messages in thread
From: Francesco Pizzolante @ 2011-03-21  7:14 UTC (permalink / raw)
  To: David Maus; +Cc: mailing-list-org-mode

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-21  7:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14  9:09 Bug when publishing images Francesco Pizzolante
2011-03-14  9:51 ` Giovanni Ridolfi
2011-03-14  9:56 ` Bastien
     [not found]   ` <87pqpuhvov.fsf-mXXj517/zsQ@public.gmane.org>
2011-03-14 10:20     ` Francesco Pizzolante
2011-03-14 19:39 ` David Maus
     [not found]   ` <87sjup4hkg.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
2011-03-15  6:47     ` Francesco Pizzolante
2011-03-15 20:12       ` David Maus
     [not found]         ` <87hbb4kur8.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
2011-03-16  9:17           ` Francesco Pizzolante
2011-03-20 11:23             ` David Maus
2011-03-21  7:14               ` Francesco Pizzolante

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).