public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc, reveal.js and the mathjax plugin
@ 2017-11-03  5:25 R (Chandra) Chandrasekhar
       [not found] ` <42fa0576-c0e0-117c-11d9-a8b3e68e8ec0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: R (Chandra) Chandrasekhar @ 2017-11-03  5:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I am using pandoc with reveal.js after some years.

While pandoc's --mathjax option is fine for standalone HTML output, I 
have had non-rendition when using it with reveal.js.

Since reveal.js has its own plugin, and the instructions [1] are to 
invoke it thus:
---
Reveal.initialize({

	// other options ...

	math: {
		mathjax: 
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
		config: 'TeX-AMS_HTML-full'  // See 
http://docs.mathjax.org/en/latest/config-files.html
	},

	dependencies: [
		{ src: 'plugin/math/math.js', async: true }
	]

});
---
[1]: https://github.com/hakimel/reveal.js#mathjax

I want to know what invocation I should make with pandoc to achieve this.

If it means having a suitably named file with is content in my root 
directory, I would appreciate knowing what I should call it.

Thanks.

Chandra


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

end of thread, other threads:[~2017-11-05  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03  5:25 pandoc, reveal.js and the mathjax plugin R (Chandra) Chandrasekhar
     [not found] ` <42fa0576-c0e0-117c-11d9-a8b3e68e8ec0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-03  5:39   ` John MacFarlane
2017-11-05  5:21   ` R (Chandra) Chandrasekhar
     [not found]     ` <6f1f6c12-a784-e466-361d-9769b8d35175-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-05  6:24       ` John MacFarlane
     [not found]         ` <20171105062436.GB9333-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-11-05  7:35           ` R (Chandra) Chandrasekhar

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).