From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: extra paragraph in image export? Date: Sat, 21 Jan 2017 11:26:29 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c05b79090a46005469d3a2a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUyUu-0000eU-Rp for emacs-orgmode@gnu.org; Sat, 21 Jan 2017 11:26:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUyUq-0002dn-Gd for emacs-orgmode@gnu.org; Sat, 21 Jan 2017 11:26:36 -0500 Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:36943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUyUq-0002bf-BB for emacs-orgmode@gnu.org; Sat, 21 Jan 2017 11:26:32 -0500 Received: by mail-it0-x232.google.com with SMTP id r185so40725596ita.0 for ; Sat, 21 Jan 2017 08:26:30 -0800 (PST) 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" To: Org Mode --94eb2c05b79090a46005469d3a2a Content-Type: text/plain; charset=UTF-8 with org-html-html5-fancy is non-nil, images are exported with something like this code:

proof_2x.png

At least in ox-reveal, this makes it quite difficult to address images separately from text (e.g., to set the text-align property appropriately. You can try this if you have ox-reveal installed with any simple image: ---------- * Test [[https://imgs.xkcd.com/comics/proof_2x.png]] -------- At least on my machine, the image won't be centered in the resultant slide, and it will be hard to construct CSS to fix the issue. Is there a strong reason to include the

tag? I've removed it from org-html--wrap-image and haven't noticed any ill effects so far, but haven't done much testing. --94eb2c05b79090a46005469d3a2a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

with org-html-html5-fancy is non-= nil, images are exported with something like this code:

<figure&g= t;
<p><img src=3D"https://imgs.xkcd.com/comics/proof_2x.png" alt=3D&qu= ot;proof_2x.png" class=3D"fragment (appear) visible current-fragm= ent" data-fragment-index=3D"0"></p>
</figure&= gt;


At least in ox-reveal, this makes it quite difficult t= o address images separately from text (e.g., to set the text-align property= appropriately.=C2=A0 You can try this if you have ox-reveal installed with= any simple image:
----------
* Test
[[https://imgs.xkcd.com/comics/proof_2= x.png]]

--------
At least on my machine, the image won&= #39;t be centered in the resultant slide, and it will be hard to construct = CSS to fix the issue.=C2=A0

Is there a strong reason to inclu= de the <p> tag? I've removed it from org-html--wrap-image and hav= en't noticed any ill effects so far, but haven't done much testing.= =C2=A0

--94eb2c05b79090a46005469d3a2a--