Skip to content
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

KateX not loading math #24

Closed
Ian-Goode opened this issue Nov 17, 2017 · 4 comments
Closed

KateX not loading math #24

Ian-Goode opened this issue Nov 17, 2017 · 4 comments

Comments

@Ian-Goode
Copy link

The KateX package is not working properly at the moment. I have looked through your blog post on markdown and html which has some math to be displayed but it is just being ignored when the site is produced. This same issue is happening to me on my blog. I am not sure what is being done in the KateX java script files but the issue is probably there.

@sylhare
Copy link
Owner

sylhare commented Nov 18, 2017

Allo,

Well on the demo site it looks fine, and on your site too on my side:

image

Maybe it was a temporary issue with Github page, or the file did not load the first time. Is it still not working on your side?

@Ian-Goode
Copy link
Author

Ian-Goode commented Nov 18, 2017

I was looking at this specific page in your demo, near the bottom where you attempt to use KaTeX.
https://sylhare.github.io/Type-on-Strap/2014/11/28/markdown-and-html.html
When i look at the .md file I can see that you write out some LaTeX but it isn't showing on the webpage. This what I see when I look at that part of the webpage.

katex

After I made this post about KaTeX not working I re-implemented the workings of mathjax into the post.html file. That was just a temporary fix and it makes the LateX look blue most of the time but sometimes black, idk why.

@sylhare
Copy link
Owner

sylhare commented Nov 18, 2017

Hum, I will look into it, I might have broken something when minifying the file.

sylhare added a commit that referenced this issue Nov 18, 2017
@sylhare
Copy link
Owner

sylhare commented Nov 18, 2017

Yup, it's fixed now ;)

image

You can update your site with the latest version. The problem was that the script needs to be loaded after the html is loaded, but since I moved it from the footer to the header, I had to manually say it.

@sylhare sylhare closed this as completed Nov 18, 2017
@sylhare sylhare reopened this Nov 19, 2017
@sylhare sylhare closed this as completed Nov 20, 2017
gmoon92 pushed a commit to gmoon92/gmoon92.github.io that referenced this issue Oct 5, 2021
gmoon92 added a commit to gmoon92/gmoon92.github.io that referenced this issue Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants