This PR adds 2 new variables to window: window.TikZJax and window.TikZJaxNoAutostart.
The variable window.TikZJax is a function, the one that used to be assigned to window.onload.
It also now accepts a root parameter which defaults to document.
The variable window.TikZJaxNoAutostart prevents TikZJax from assigning window.TikZJax to window.onload if set to true.
This PR adds 2 new variables to
window
:window.TikZJax
andwindow.TikZJaxNoAutostart
.The variable
window.TikZJax
is a function, the one that used to be assigned towindow.onload
. It also now accepts aroot
parameter which defaults todocument
.The variable
window.TikZJaxNoAutostart
prevents TikZJax from assigningwindow.TikZJax
towindow.onload
if set totrue
.