From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: extra paragraph in image export? Date: Sat, 21 Jan 2017 18:09:08 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11448be2923b580546a2daf9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cV4mV-0000GO-F5 for emacs-orgmode@gnu.org; Sat, 21 Jan 2017 18:09:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cV4mU-0004Ih-6f for emacs-orgmode@gnu.org; Sat, 21 Jan 2017 18:09:11 -0500 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:35611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cV4mU-0004IV-1N for emacs-orgmode@gnu.org; Sat, 21 Jan 2017 18:09:10 -0500 Received: by mail-it0-x22b.google.com with SMTP id 203so42423077ith.0 for ; Sat, 21 Jan 2017 15:09:10 -0800 (PST) In-Reply-To: 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 --001a11448be2923b580546a2daf9 Content-Type: text/plain; charset=UTF-8 On Sat, Jan 21, 2017 at 11:26 AM, Matt Price wrote: > with org-html-html5-fancy is non-nil, images are exported with something > like this code: > >
>

alt="proof_2x.png" class="fragment (appear) visible current-fragment" > data-fragment-index="0">

>
> > There is some cruft in here -- I hastily copied from `inspect element` instead of from the code itself, and also included some ox-reveal-specific markup. This is a more representative output:

proof_2x.png

The following's still true: > > 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. > > --001a11448be2923b580546a2daf9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Sat, Jan 21, 2017 at 11:26 AM, Matt Price <moptop99@gmail.com&= gt; wrote:
The following's still true:

At least in ox-reveal, this makes it quite difficult to addres= s images separately from text (e.g., to set the text-align property appropr= iately).=C2=A0 You can try this if you have ox-reveal installed with any si= mple 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 ha= rd to construct CSS to fix the issue.=C2=A0

Is there a strong= reason to include the <p> tag? I've removed it from org-html--wr= ap-image and haven't noticed any ill effects so far, but haven't do= ne much testing.=C2=A0


--001a11448be2923b580546a2daf9--