-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mathjax not working with learn2 #5
Comments
Hi @abilbaotm , don't know why it is not working. It may that Grav core API has changed a bit in the last releases. Will test it in the next days. In general, MathJax works if the following settings |
I have recreated this issue again and seems to be working. Maybe some update?. Anyway, thanks for your attendance @Sommerregen |
Hi @abilbaotm , sorry for my silence. I had some problems in setting up a new machine and testing environment. To be clear, is the issue solved? It is unclear for me from your writing... However I tested with Grav v1.1.8 and MathJax v1.5.0 and didn't encounter the issue. |
Yea, the issue is solved. Thanks @Sommerregen |
Hi! I am experiencing the same problem with the latest version of learn2 v1.6.3. I have installed MathJax v1.5.1 via the Admin Panel v1.4.2 (have tried manually as well). I have checked the console in Chrome and I'm getting the following 404 access errors when the plugin is trying to GET: http://roymechi.co.uk/jax/input/TeX/config.js?V=2.7.1 Both My site is HTTPS, could that be causing an issue? Regards, J |
Hi @jberr , first of all I assume you have changed the |
Hi @Sommerregen , Firstly thanks so much for replying! My mathjax.yaml settings are as follows:
I haven't changed any other settings other than adding the tablesorter plugin. I disabled my HTTPS certificate (dreamhost letsenrcypt) but have since re-enabled it as it made no difference. I did actually install MathJax locally to see if it made a difference but it did not, so I switched the CDN back on and the settings back to as above. Thanks, |
I have switched off maintenance mode so you can see the issue at http://roymechi.co.uk/advanced/adv-topic-1 |
Hi @Sommerregen , Just to clarify, I am using the default settings for both MathJax and the Learn2 theme. I have not modified anything to generate the links that are pointing to my local domain, I expected them all to be external and using the CDN. These locations do not exist on my web server. Thanks for all your help @Sommerregen |
Dear @jberr , I can clearly see that MathJax is processed (i.e., look at the source code and search for However, I don't get the error messages you got, mine is working, and I don't think Tablesorter Plugin is the problem here. It might be an assets collection issue from Grav core itself as I see you pipeline all assets into one css or js file. The first thing is to switch this behaviour off and see whether the issue still persists. It might be that some latest changes in Grav cause the issue (I know there where some latest commits or at least one bug with external assets). |
Hi @Sommerregen , Thank you for looking in to this, I have set It seems the Learn2 skeleton enables this setting by default. I am a bit new to this and I did not realise this would have an effect on it. What can I do re-enable the JS asset pipeline and include MathJax? There are a number of options shown in https://learn.getgrav.org/themes/asset-manager, I'm not sure which one is best to add the CDN path. Kind regards, |
Hi @jberr , Glad you solved it. First of all, please file a bug in the Grav core repository and reference this issue. It is related to the Kind regards, |
Hi!
I installed
learn2
theme andmathjax
plugin. But mathjax seems not to be working.Any suggestion to debug or knowledge?
Regards.
The text was updated successfully, but these errors were encountered: