-
Notifications
You must be signed in to change notification settings - Fork 0
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
Latex disappears #1
Comments
Could you provide the feed so I can see what is going on? |
Yes, the feed is accessible here: http://export.arxiv.org/rss/hep-th These are pictures of before/after turning on the extension. https://postimg.cc/gallery/YQc90hw |
I was using Firefox but I just checked on Chrome and the issue is there as well. I also ran multiple tests:
I would like to specify that the LaTeX is present in the source, it just seems to disappear. |
@Alkarex Do you have any thoughts? |
@Nchagnet Do you have any other FreshRSS extension enabled? |
I had the default ones but I tried disabling them (as well as all other browser extensions) and it didn't help. |
I am running out of ideas why it's working on my machines and not on yours. |
I have made a quick test and it worked for me, thought with some CSP errors - maybe something to look into. |
Any error/warning in the Web browser console? |
Hi Alkarex, No error/warning in the console related to that. I tried multiple themes (including the default one) and the problem was there each time. I just tried reinstalling the extension just in case. Thank you both so much for helping me with this, the LaTeX rendering is arguably the feature I need the most in a RSS reader. |
Could you make share a test account with us with that feed and relevant extension enabled? |
It's done, thank you so much! |
@aledeg There seems to be at least two distinct bugs, in CSS and in JS: For CSS, try with those changes: mjx-assistive-mml {
/* position: absolute !important; */
}
mjx-container[jax="CHTML"] {
line-height: 0;
display: inline-block;
} Furthermore, there is a race condition, as the extension does not wait for Mathjax to be loaded (this ends up working sometimes, not always): |
Thank you for your help. I'll look into it. |
@Nchagnet Meanwhile, you can try to add a custom stylesheet (for instance with the CustomCSS extension) with the following: #global mjx-assistive-mml {
position: relative !important;
}
mjx-container[jax="CHTML"] {
display: inline-block;
} |
Thank you very much! It worked perfectly! |
Before, the typeset function was called all the time, even when it was not defined. Thus generating some alerts in the console. Now, the function is called only when it exists. See #9
I found the JS error. It will be fixed in next release. |
Hi,
I just installed the extension, enabled it, went to check on one of my feeds featuring heavy inline math LaTeX (hep-th arxiv, I can give a specific example if necessary).
What happened then is that when I load the page, I can very briefly see the inline math unformated and it disappears (presumably when MathJax is loaded).
By the way, I am using the yunohost version of FreshRSS.
The text was updated successfully, but these errors were encountered: