From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: org-reveal questions Date: Mon, 26 Oct 2015 12:34:26 -0400 Message-ID: References: <87wpue5cq9.fsf@ucl.ac.uk> <87wpuak75x.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f9ae0dd2ed5052304884a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqkj6-0002x2-Iv for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 12:34:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqkj5-0003Bg-DE for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 12:34:28 -0400 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:33279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqkj5-0003BY-7L for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 12:34:27 -0400 Received: by iodd200 with SMTP id d200so29217085iod.0 for ; Mon, 26 Oct 2015 09:34:26 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org mode --001a113f9ae0dd2ed5052304884a Content-Type: text/plain; charset=UTF-8 On Sun, Oct 25, 2015 at 6:01 PM, Matt Price wrote: > > > On Sun, Oct 25, 2015 at 4:46 PM, Eric S Fraga wrote: > >> The second problem is more about HTML export than reveal >> specifically. In LaTeX, an image is exported directly without any >> surrounding material if only the image is there. Surrounding material, >> i.e. LaTeX figure environment, is only included if a caption is >> present. In reveal, there doesn't seem to be an equivalent >> behaviour. That is, all my images get exported within a figure >>
. I would like to have the option of a bare-bones export >> without having to resort to direct HTML. Is this possible? It would >> seem to make sense to have the same type of logic apply to HTML export >> as it does to LaTeX? >> >> I doubt this is possible in reveal right now but it shouldn't be too hard > to add a (switch ) statement that exports a naked img if some condition is > met. And I et a relevant patch could be submitted as a feature request. > > Rereading this, I think maybe you should post this to a list as a question about the html exporter, not org-reveal. Nicolas and others may have thoughts on the logic of the difference. The difference may reside in differing expectations/standards in latex & html. m > > --001a113f9ae0dd2ed5052304884a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Oct 25, 2015 at 6:01 PM, Matt Price <moptop99@gmail.com&g= t; wrote:


On = Sun, Oct 25, 2015 at 4:46 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
The second problem is more about HTML export than reveal
specifically.=C2=A0 In LaTeX, an image is exported directly without any
surrounding material if only the image is there.=C2=A0 Surrounding material= ,
i.e. LaTeX figure environment, is only included if a caption is
present.=C2=A0 In reveal, there doesn't seem to be an equivalent
behaviour.=C2=A0 That is, all my images get exported within a figure
<div>.=C2=A0 I would like to have the option of a bare-bones <img&= gt; export
without having to resort to direct HTML.=C2=A0 Is this possible?=C2=A0 It w= ould
seem to make sense to have the same type of logic apply to HTML export
as it does to LaTeX?

I doubt this is possible in reveal right now b= ut it shouldn't be too hard to add a (switch ) statement that exports a= naked img if some condition is met.=C2=A0 And I et a relevant patch could = be submitted as a feature request.=C2=A0


Rereading this, I think maybe you should pos= t this to a list as=C2=A0 a question about the html exporter, not org-revea= l.=C2=A0 Nicolas and others may have thoughts on the logic of the differenc= e. The difference may reside in differing expectations/standards in latex &= amp; html.=C2=A0

m
=C2=A0


--001a113f9ae0dd2ed5052304884a--