X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8d1970aa1c818b8e75365e98f0c127199ef761fa..687f7f7b77d72e6e6ad6aa5f2323894cc87c1366:/doc/bugs/mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn diff --git a/doc/bugs/mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn b/doc/bugs/mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn index 32984318e..568322822 100644 --- a/doc/bugs/mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn +++ b/doc/bugs/mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn @@ -1,3 +1,31 @@ After my upgrade from ubuntu 14.04 to 15.04 mathjax stopped working in my ikiwiki. Math is displayed correctly for pages created before the upgrade. For new pages or if I change an old page, math is not rendered but the LaTeX source code is printed (with \[ \] as deliminiters instead of $$ $$). Any idea what may be wrong here and how to fix it? + +> Mathjax does not seem to be supported by default by Ikiwiki. So the first question is: how did you enable mathjax? +> +> Maybe you can also save the html of an old page, change something in it to make it rebuilt, and diff the resulting html with the old one, to see what changed. +> +> -- [[Louis|spalax]] + +I installed mathjax via the pandoc-iki plugin as described [here](http://stackoverflow.com/a/8444409/406686) + +The rebuild of an old site containing math is missing the following lines: + + + + +
+ + +---------------------- + +I finally noticed that the `page.tmpl` was messed up. It seams that the upgrade deleted the relevant `mathjax` line. Adding this makes it work again. [[Thanks|done]]! +