Open ghost opened 3 years ago
Could you provide the feed so I can see what is going on? Thank you
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
What browser are you using? It seems that I cannot reproduce on Firefox.
Here is a screenshot of my output.
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. If I could access another install of FreshRSS I could see if I can reproduce this unfortunately the demo.freshrss.org website does not allow me to add customs feeds which have LaTeX.
@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. What theme are you using?
I have made a quick test and it worked for me, thought with some CSP errors - maybe something to look into. Will check again a bit later
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. As I mentioned before I have the same issue when I use the bookmarklet from https://checkmyworking.com/misc/mathjax-bookmarklet/ so I think it's somehow my freshRSS installation and mathjax, though I don't know why.
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? If yes, my email can be found online.
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!
I found the JS error. It will be fixed in next release. I still don't understand the CSS error :/
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.