Mathjax in HTML slide shows: include explicit "Typeset" instruction.

This seems to be needed for some formats (e.g. slideous) and won't
hurt in others.

Closes #966.
This commit is contained in:
John MacFarlane 2013-09-01 15:05:51 -07:00
parent 8e61a6214f
commit 8b0052ba5b

View file

@ -143,7 +143,8 @@ pandocToHtml opts (Pandoc meta blocks) = do
MathJax url ->
H.script ! A.src (toValue url)
! A.type_ "text/javascript"
$ mempty
$ preEscapedString
"MathJax.Hub.Queue([\"Typeset\",MathJax.Hub]);"
JsMath (Just url) ->
H.script ! A.src (toValue url)
! A.type_ "text/javascript"