Yes this is possible, because if the latex_formatter is not commented out, then the output in the ipnb is renedered by mathjax and if it is commented out then png images are rendered. I need to figure out why the latex_formatter takes preference over the png_formatter ..