]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / bugs / mathjax_doesn__39__t_work_anymore_after_upgrade.mdwn
index e3b304b2de74fda4c875e3a77873b48c3020063c..5683228224ac6844400a0f37124b7d46a0fd12c0 100644 (file)
@@ -8,18 +8,24 @@ Any idea what may be wrong here and how to fix it?
 >
 > -- [[Louis|spalax]]
 
-I installed mathjax as described here http://stackoverflow.com/a/8444409/406686. 
+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:
 
-<script src="/mathjax/MathJax.js?config=TeX-AMS_HTML-full" type="text/javascript"></script>
-</head>
-<body>
-<noscript>
-<div style="color:#CC0000; text-align:center">
-<b>Warning: <a href="http://www.mathjax.org/">MathJax</a>
-requires JavaScript to process the mathematics on this page.<br>
-If your browser supports JavaScript, be sure it is enabled.</b>
-</div>
-<hr>
-</noscript>
+
+     <script src="/mathjax/MathJax.js?config=TeX-AMS_HTML-full" type="text/javascript"></script>
+     </head>
+     <body>
+     <noscript>
+     <div style="color:#CC0000; text-align:center">
+     <b>Warning: <a href="http://www.mathjax.org/">MathJax</a>
+     requires JavaScript to process the mathematics on this page.<br>
+     If your browser supports JavaScript, be sure it is enabled.</b>
+     </div>
+     <hr>
+     </noscript>
+
+----------------------
+
+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]]! 
+