tag:blogger.com,1999:blog-5822805028291837738.post2356687894161179491..comments2023-12-09T03:51:33.158-05:00Comments on Various Consequences: Latex for Blogger: PandocJoshua Stultshttp://www.blogger.com/profile/03506970399027046387noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5822805028291837738.post-1547153129001543272011-08-29T12:57:25.799-04:002011-08-29T12:57:25.799-04:00The URL for the --mathjax option is not optional (...The URL for the --mathjax option is not optional (it is for --mathml and --jsmath), so the full command is (using the script from <a href="http://www.variousconsequences.com/2011/07/latex-for-blogger.html" rel="nofollow">the previous post</a>): <br /><br />pandoc -f latex -t html --mathjax=http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML -o foo.html foo.texJoshua Stultshttps://www.blogger.com/profile/03506970399027046387noreply@blogger.comtag:blogger.com,1999:blog-5822805028291837738.post-90280655945030189102011-08-17T19:50:53.924-04:002011-08-17T19:50:53.924-04:00Awesome, thanks!Awesome, thanks!Joshua Stultshttps://www.blogger.com/profile/03506970399027046387noreply@blogger.comtag:blogger.com,1999:blog-5822805028291837738.post-29084729135572382172011-08-17T19:49:09.342-04:002011-08-17T19:49:09.342-04:00Oops. Hadn't read your previous post. So
...Oops. Hadn't read your previous post. So <br /><br /> pandoc -f latex -t html --mathjax -o pandoc.html pandoc.tex<br /><br />should get you what you want.Davidnoreply@blogger.comtag:blogger.com,1999:blog-5822805028291837738.post-51953765767694150512011-08-17T19:45:14.671-04:002011-08-17T19:45:14.671-04:00With those options, pandoc won't use mathjax. ...With those options, pandoc won't use mathjax. It just tries as best it can to render the formula in Unicode. Try using the `--mathjax` option or one of the other math options that pandoc supports (for mathjax, you'll need to have a way to load the mathjax script into the page; not sure how to do that on blogger).Davidnoreply@blogger.comtag:blogger.com,1999:blog-5822805028291837738.post-67996814563401739512011-08-13T19:40:02.096-04:002011-08-13T19:40:02.096-04:00Concur, FAIL on the second equation.Concur, FAIL on the second equation.shallow monkeyhttps://www.blogger.com/profile/13034168320000048613noreply@blogger.comtag:blogger.com,1999:blog-5822805028291837738.post-34405821774601830872011-08-13T18:37:20.331-04:002011-08-13T18:37:20.331-04:00hmm, doesn't seem to convert the second equati...hmm, doesn't seem to convert the second equation into something that MathJax will render.Joshua Stultshttps://www.blogger.com/profile/03506970399027046387noreply@blogger.com