• yikyak

    (@yikyak)


    Hi,

    I use both KaTeX and MathJax in my WP site, I am trying to make the site faster (hence KaTeX), but need MathJax for the cases that KaTeX does not have the capability to process the expressions I use.

    I also use Lester Chan’s WP-Print https://www.ads-software.com/plugins/wp-print/ so users can take a nice print friendly hard copy of the posts. This strips out lots of the web site aspects, to leave more the basic post content.

    WP-Print does not seem to play so nice with other plugins. I suspect it ignores the shortcodes (I use a MathJax plugin as well) so I do not get nice maths displayed.

    In order to get the MathJax to work, I had to manually add MathJax calls to the <head> section created by WP-Print. This has worked fine. But I have no idea how to make WP-KaTeX work in this way. I just don’t know what to add, or even if modifying <head> is the right thing to do.

    Does anyone have any ideas for a solution?

    Thanks
    YikYak

    https://www.ads-software.com/plugins/wp-katex/

Viewing 1 replies (of 1 total)
  • Plugin Author ascom

    (@ascom)

    I have not used WP-Print before, but according to this topic, you should be able to insert $content .= do_shortcode( '[katex]' ) after this line.

Viewing 1 replies (of 1 total)
  • The topic ‘KaTeX and WP-Print’ is closed to new replies.