openzim / sotoki

StackExchange websites to ZIM scraper
https://library.kiwix.org/?category=stack_exchange
GNU General Public License v3.0
216 stars 25 forks source link

Math formulas are not rendered #283

Open mazen-mardini opened 1 year ago

mazen-mardini commented 1 year ago

Hello!

Math formulas in for example (Theoretical) Computer Science are not rendered. Normally, MathJax should render an expression such as $a \in R$ to a ∈ R, but it doesn't.

I suspect that this affects all StackOverflow packages.

kelson42 commented 1 year ago

Indeed, see https://library.kiwix.org/viewer#mathoverflow.net_en_all_2023-01/questions/31448/lower-bounds-in-theoretical-computer-science

Or

https://library.kiwix.org/viewer#mathoverflow.net_en_all_2023-01/questions/tagged/diophantine-equations

Looks like a regression to me.

rgaudin commented 1 year ago

Original: https://mathoverflow.net/questions/227713/estimating-the-size-of-solutions-of-a-diophantine-equation

Screenshot 2023-03-29 at 09 12 44

ZIM https://library.kiwix.org/viewer#mathoverflow.net_en_all_2023-01/questions/227713/estimating-the-size-of-solutions-of-a-diophantine-equation

Screenshot 2023-03-29 at 09 13 16

MathJax is found but not applied 🫤

@kelson42 the questions list doesn't uses mathjax on the original website neither: https://mathoverflow.net/search?q=estimating-the-size-of-solutions-of-a-diophantine-equation

mazen-mardini commented 1 year ago

@rgaudin Something else worth noting from your example, is that the embedded image seems to be incorrect as well.

This applies to the earlier version of the question, which the ZIM is based on: https://mathoverflow.net/posts/227713/revisions

rgaudin commented 1 year ago

@mazen-mardini thank you for noticing! I've opened a separate ticket.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.