Having trouble with LaTeX plugin for WordPress

104 views
Skip to first unread message

metal1sab...@gmail.com

unread,
Sep 16, 2015, 8:53:46 AM9/16/15
to MathJax Users
I tried KaTeX with WordPress and did not work, could not reactivate LaTeX plugin unless I forced it from settings and now the math takes much longer to appear and it shows codes in posts first, any help?

my site 
 

thank you!

Murray

unread,
Sep 17, 2015, 10:39:54 PM9/17/15
to MathJax Users, metal1sab...@gmail.com
Hello

Your source code for that page (towards the bottom) says:

<code><!-- MathJax Latex Plugin installed: Disabled as no shortcodes on this page --> </code>

And indeed, there are no shortcodes on your page.

According to the MathJax-LaTeX plugin instructions:

You can use native mathjax syntax -- $$E=mc^2$$ or (E=mc^2). However, if this is the only syntax used, the plugin must be explicitly told to load mathjax for the current page. This can be achieved by adding a [mathjax] shortcode anywhere in the post. For posts with both [latex]x[/latex] and $$x$$ syntaxes this is unnecessary.

Adding a [mathjax] shortcode anywhere in the post should fix your issue, I believe.

Reagards
Murray

Phillip Lord

unread,
Sep 18, 2015, 5:30:11 AM9/18/15
to Murray, MathJax Users, metal1sab...@gmail.com

There is also a "Force Load" option in the settings which should avoid
the requirements for this form of shortcode at all. Then "$$E=mc^2$$
will work on every page. I tend not to use this because of the
accidental use of this syntax, but then I don't use a lot of maths. If
you use it on pretty much every page, this would be a good option to
use.

Phil



Murray <murray...@gmail.com> writes:

> Hello
>
> Your source code for that page (towards the bottom) says:
>
> <code><!-- MathJax Latex Plugin installed: Disabled as no shortcodes on
> this page --> </code>
>
> And indeed, there are no shortcodes on your page.
>
> According to the MathJax-LaTeX plugin
> <https://wordpress.org/plugins/mathjax-latex/> instructions:

george shiber

unread,
Sep 18, 2015, 9:40:29 AM9/18/15
to Phillip Lord, Murray, MathJax Users
Thank you so much, sincerely, George!
Reply all
Reply to author
Forward
0 new messages