From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: org-reveal questions Date: Sun, 25 Oct 2015 18:01:45 -0400 Message-ID: References: <87wpue5cq9.fsf@ucl.ac.uk> <87wpuak75x.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f9ae09bfc070522f4fde4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqTMK-0001MJ-0I for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 18:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqTMI-0000HG-M0 for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 18:01:47 -0400 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:32890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqTMI-0000HC-GX for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 18:01:46 -0400 Received: by iodd200 with SMTP id d200so6307121iod.0 for ; Sun, 25 Oct 2015 15:01:45 -0700 (PDT) In-Reply-To: <87wpuak75x.fsf@ucl.ac.uk> 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: Matt Price , Xebar Saram , org mode --001a113f9ae09bfc070522f4fde4 Content-Type: text/plain; charset=UTF-8 On Sun, Oct 25, 2015 at 4:46 PM, Eric S Fraga wrote: > Hello all, > > So, I decided I would play with org-reveal some more, just to see if I > could get some of the functionality that Xebar wanted fairly > easily. It turns out that I could use a web based presentation for a > small PR exercise... > > I've run into two stumbling blocks using org-reveal. > > First, the #+HTML: directive seems to be ignored although > the #+BEGIN_HTML/#+END_HTML construct works. This is only in reveal > export, not HTML export. > could you file this as a bug report on github, and then post the URL? I'll try to figure out the issue and fix it. I'm a slow coder and actually don't use the #+HTML: directive, but have a ninterest in getting better. > > 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. > Thanks, > eric > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-209-gba4d33 > --001a113f9ae09bfc070522f4fde4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Oct 25, 2015 at 4:46 PM, Eric S Fraga <e.fraga@ucl.ac.uk&g= t; wrote:
Hello all,

So, I decided I would play with org-reveal some more, just to see if I
could get some of the functionality that Xebar wanted fairly
easily.=C2=A0 It turns out that I could use a web based presentation for a<= br> small PR exercise...

I've run into two stumbling blocks using org-reveal.

First, the #+HTML: directive seems to be ignored although
the #+BEGIN_HTML/#+END_HTML construct works.=C2=A0 This is only in reveal export, not HTML export.

could you file= this as a bug report on github, and then post the URL? I'll try to fig= ure out the issue and fix it. I'm a slow coder and actually don't u= se the #+HTML: directive, but have a ninterest in getting better. =C2=A0

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 but it s= houldn'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 subm= itted as a feature request.=C2=A0

=C2=A0
Thanks,
eric

--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-209-gba4d33=

--001a113f9ae09bfc070522f4fde4--