emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: David Maus <dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org>
Cc: mailing-list-org-mode <emacs-orgmode-mXXj517/zsQ@public.gmane.org>
Subject: Re: Bug when publishing images
Date: Wed, 16 Mar 2011 10:17:41 +0100	[thread overview]
Message-ID: <874o73s9u2.fsf@somewhere.org> (raw)
In-Reply-To: <87hbb4kur8.wl%dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org> (David Maus's message of "Tue, 15 Mar 2011 21:12:59 +0100")

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

  parent reply	other threads:[~2011-03-16  9:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2011-03-20 11:23             ` David Maus
2011-03-21  7:14               ` Francesco Pizzolante

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=874o73s9u2.fsf@somewhere.org \
    --to=fpz-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=dmaus-lYycHbxpNtazQB+pC5nmwQ@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /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).