You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
edit: oh wait looks like there's a serverside latex math renderer, that sounds better than bundling 1MB of js https://katex.org/docs/api
edit2: ok i checked this out - all the serverside rendering for latex math in ruby just uses katex or some other older js rendering engine. the gems are at least 2 years unmaintained, but they are literally just wrappers around the execjs gem and katex, so we could borrow that code (with attribution) and vendor our own katex so we can update it periodically? then we add a note in the docs saying any latex in titles needs to have the $'s touching the first and last characters with whitespace on either side like $x = y$ so we can write regex that matches it but not if someone is using a dollar sign as a currency symbol (which always has whitespace before it).
OR
we can repurpose some of mathstodon's code that we borrowed at neuromatchstodon to replace common latex commands with unicode symbols
I was just looking at recent articles on the homepage (https://joss.theoj.org/) and saw that
PyXAB - A Python Library for $\mathcal{X}$-Armed Bandit and Online Blackbox Optimization Algorithms
did not get rendered correctly. There's some LaTeX / TeX / MathTeX in between the dollar sign$
delimiters that should get rendered beautifully on the homepage.The same thing happens when navigating to its page https://joss.theoj.org/papers/10.21105/joss.06507
A silver lining is that it seems to be rendered beautifully in the article title in the PDF!
I'm on Firefox v131 on Mac OS 14. I also checked this was happening on Safari v17.6 on the same machine
The text was updated successfully, but these errors were encountered: