latex path not specified errors
On my post where I use latex markup extensively, instead I am seeing various forms and dimensions of red text against a yellow background that reads ‘latex path not specified’.
The specific post is:
I’ve reached out to my hosting provider and they don’t seem to know what’s going on.
This support post seems to imply that the issue is a known issue with the core WordPress functionality (https://en.forums.wordpress.com/topic/latex-path-not-specified-errors?replies=3#post-2501396), but googling and searching has turned up nothing. Where is the setting that I can specify or check that the latex path is specified properly, and how do I go about troubleshooting it or helping my hosting provider troubleshoot it?
Thanks in advance!
Update, looking at the WordPress-generated HTML, it looks like latex rendering is linking to wordpress servers? The image for the first latex render is linked to the url: http://s0.wp.com/latex.php?latex=%2882%2C000%29_%7B10%7D&bg=ffffff&fg=000&s=0
Which is definitely not under my control. Note that going to this URL in my browser gives me a standard HTTP 404 error.
Also, upon page reloads, it looks like the rendering may actually be valid, briefly, and then updated with the error message. Which is, tbh, a little weird, but maybe that’s a browser caching issue?
Note also that SOME renders are working. In my post, I render 2^0, 2^1 and 2^2, and they are working properly:
Finally, here’s a screenshot of what I see vis a vis the actual error.
I’ve had this issue on my blog in the last two days too (though they are not visible currently because I rolled back the articles). It appears that any latex fragment that could not be rendered from a cache (i.e. a rendering of a LaTeX fragment that had not previously been rendered) is giving the latex path error.
Doing more troubleshooting, I saw that some s0.wp.com URLs are rendering fine on the s0.wp.com site, but not rendering fine in my post.
Renders as “latex path not specified” on my post, but is properly rendering as the actual link.
– http://s0.wp.com/latex.php?latex=%2831%29_%7B8%7D+%3D%3D+%2825%29_%7B10%7D&bg=ffffff&fg=000&s=0, but link, properly rendering.
Also, shorter expressions, like the 2^0 and 2^1 and 2^2 linked above, as well as pi at: http://s0.wp.com/latex.php?latex=%5Cpi&bg=ffffff&fg=000&s=0 are rendering properly both in browser and in post.
I wonder if someone set a timeout threshold or bandwidth threshold in WordPress core that’s replacing rendered content on s0.wp.com with “latex path not specified” somewhere? Is this an editable or overridable value, perhaps, in the config file?
Also, I was unable to find the string, “latex path not specified” using the command ‘grep -r “latex path not specified” .’ in my wordpress application directory, which again argues that the issue may be somewhere within the WordPress.com latex-rendering infrastructure.
More troubleshooting: Disabling Jetpack seemed to restore latex rendering properly. Drilling into Jetpack settings now.
With JetPack enabled but Beautiful Math turned off, latex markup is left as a string, and “latex path not specified” does not display.
With JetPack enabled but all settings at default, “latex path not specified” does display.
With JetPack disabled, proper LaTeX markup displays properly. Seems like a conflict somehow between WordPress core LaTeX handling and JetPack LaTex handling.
Still playing with likely JetPack settings.
I’m having the same issue, and I’m really worried. I teach math, and I have students who use this site all day every day! If you hear anything, please please let us know! I really don’t know what to do!
I don’t have JetPack enabled / connected. I use WordPress on my own domain. I use Easy WP LaTex, not Beautiful Math.
I’ve sent a support request to Jetpack support, linking to this thread as well as providing other information.
I’ll update here if I hear back.
Okay, well we’ll see whether anyone can respond.
I think the JetPack thing may have been a false positive with WP Fast Cache, but I’ve tried various ways of enabling/disabling both JetPack and WP Fast Cache and can’t seem to fix it.
Still suspecting it’s WordPress core that’s causing the issue somehow, especially now that you’ve said that you don’t use Jetpack’s Beautiful Math.
The same thing has been happening to me the past couple of days. I don’t use JetPack. I’m just writing a free WordPress blog. Latex working well for months, and I write posts using Chrome under linux and W10.
I doubt the problem here is with JetPack.
I’m with Malcolm in suspecting WordPress broke latex after some internal software upgrade.
I just fully deactivated and uninstalled JetPack. Still didn’t help. Do you think I should put it back in? I think the address is a WordPress issue. Isn’t JetPack a plugin?
Yeah, let’s take the focus off Jetpack for now.
So, any of you have connections at WordPress to reach them where they will respond to us? Our students’ math lives are at stake! :)
Mee, too. It’s hurt. I am using Genesis, too, and I also lost one function in functions.php. Maybe wordpress update?
I hope they will do an urgent update, fast! This loss of LaTeX is hurting so many of us!
If a WP staffer wants to see this issue, it is all over my math website. I have not changed anything in the code. I’ve been using Easy WP LaTeX for years, and it has always worked up until last night! I haven’t made any changes to my site, and this same issue appears to be happening to a lot of people.
Here is one example page from my school’s site:
Due to feedback from an official moderator on another thread on this site, I’ve resubmitted this question on WordPress.org here: https://wordpress.org/support/topic/latex-path-not-specified-errors?replies=1#post-7685268
If the mods could keep this discussion around, I would appreciate it, since it has debugging and troubleshooting information from multiple contributors that might prove helpful.
The topic ‘latex path not specified errors’ is closed to new replies.