From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: extra paragraph in image export? Date: Sun, 22 Jan 2017 14:18:47 +0100 Message-ID: <87lgu3b5c8.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVI2q-00073F-6d for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 08:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVI2p-0002z1-1k for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 08:18:56 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:44291) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVI2o-0002yw-Rf for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 08:18:54 -0500 In-Reply-To: (Matt Price's message of "Sat, 21 Jan 2017 11:26:29 -0500") 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: Matt Price Cc: Org Mode Hello, Matt Price writes: > with org-html-html5-fancy is non-nil, images are exported with something > like this code: > >
>

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

>
> > > 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. I'm not well-versed enough in HTML to answer this, but, from Org POV, there should be a difference between A paragraph #+caption: foo [[block-image.png]] Another paragraph and A paragraph with an [[inline-image.png]] and some text following. Would removing the

tag blur the difference between the two examples above ? Regards, -- Nicolas Goaziou