public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* reveal.js and --self-contained error
@ 2019-05-14 21:07 Pétùr
       [not found] ` <9bae0f4d-d541-7dbc-a3f2-3508689fcb38-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Pétùr @ 2019-05-14 21:07 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hello,

Using pandoc to generate slides with reveal.js and "--self-contained"
option generates this error:

$ pandoc -t revealjs -s  --self-contained slides.md -o slides.html -V
revealjs-url=./reveal.js --slide-level=2 -V width="'100%'" -V
height="'100%'"
File ./reveal.js/lib/js/head.min.js not found in resource path

(this works without "--self-contained").

My reveal.js folder contains all the github official repository [1].
There is no file lib/js/head.min.js in current version of reveal.js

I have pandoc 2.7.2.

How can I generate a self contained reveal.js presentation with pandoc ?

[1] https://github.com/hakimel/reveal.js/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: reveal.js and --self-contained error
       [not found] ` <9bae0f4d-d541-7dbc-a3f2-3508689fcb38-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2019-05-14 21:52   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2019-05-14 21:52 UTC (permalink / raw)
  To: Pétùr, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


This is fixed in current master, but not in the last
release.  The workaround is simple: just remove the link to
head.min.js from the reveal.js template.  (Or, you
could put a dummy js file in for head.min.js in the
reveal.js directory.)

Pétùr <peturvilj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello,
>
> Using pandoc to generate slides with reveal.js and "--self-contained"
> option generates this error:
>
> $ pandoc -t revealjs -s  --self-contained slides.md -o slides.html -V
> revealjs-url=./reveal.js --slide-level=2 -V width="'100%'" -V
> height="'100%'"
> File ./reveal.js/lib/js/head.min.js not found in resource path
>
> (this works without "--self-contained").
>
> My reveal.js folder contains all the github official repository [1].
> There is no file lib/js/head.min.js in current version of reveal.js
>
> I have pandoc 2.7.2.
>
> How can I generate a self contained reveal.js presentation with pandoc ?
>
> [1] https://github.com/hakimel/reveal.js/
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9bae0f4d-d541-7dbc-a3f2-3508689fcb38%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/yh480kzhnopuue.fsf%40johnmacfarlane.net.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-14 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14 21:07 reveal.js and --self-contained error Pétùr
     [not found] ` <9bae0f4d-d541-7dbc-a3f2-3508689fcb38-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-05-14 21:52   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).