• Hi I develop the plugin Print My Blog which can create PDFs from WordPress posts, and I’m trying to make it work nicely with MathJax-LaTeX.
    One issue I have is that MathJax-LaTeX adds empty DIVs at the top and end of the page, which my HTML-to-PDF conversion service interprets as content and so adds an extra page at the start and end of the document for them.
    So I’d like to hide these empty divs. The first one only contains a div with ID “MathJax_Hidden”, and the second one only contain as div with ID “MathJax_Font_Test”. I have written some Javascript on my end to deal with this issue, but it would be nice if MathJax-LaTex would either:

    A. give an ID or class to the wrapper divs (the parents of “MathJax_Hidden” and “MathJax_Font_Test”) so I could use CSS to add “display:none” onto them when my plugin is making the PDFs,
    B. or if MathJax-LaTeX would completely remove these divs rather than just hiding the nested divs.

    Here’s a video I made showing the issue: https://1drv.ms/u/s!AuMAO_Xs0t43pXBWqkatvxRAO-5n?e=NfbEiB (I plan to only keep this video up until this thread is closed.)

    Does that make sense?

  • The topic ‘Can you remove MathJax_Hidden and MathJax_Font_Test parents when done?’ is closed to new replies.