Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks to both of you for your answers. I think however that what gets me as close as possible to what I want is the following:

  • Get the html directly from the source of the notebook output in the browser
    • find the output you are interested in, you can locate it by searching for the <script type="math/tex" portions
  • Paste it in your target html file
  • And link the MathJax script in your target html file by either

    • a) adding the following to your html file (ideally in the header): <script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"> </script>
    • b) getting the MathJax library and linking the local version of the script

More info on MathJax and the local/online versions can be found here: http://docs.mathjax.org/en/latest/installation.html and here: http://docs.mathjax.org/en/latest/start.html#mathjax-cdn