On Sun, Oct 25, 2015 at 4:46 PM, Eric S Fraga <e.fr...@ucl.ac.uk> 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
> <div>.  I would like to have the option of a bare-bones <img> 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
>

Reply via email to