Git Product home page Git Product logo

Comments (7)

rjzupkoii avatar rjzupkoii commented on July 20, 2024 1

This appears to be the same issue as #1041 - can you link to one of the builds that got pushed to your live website?

GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.

This warning you can ignore in the terminal. At some point I'll take a closer look at it to see if there's a way to suppress it since it doesn't impact local testing.

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on July 20, 2024 1

Ah, I see. Thanks for the tip.

I removed the Mathjax supplemental file and the reference to it in the default. Still the same problem, although I may have forgotten somewhere else that I modified the files to get Mathjax working.

I'm going to try to wipe it all clean and start over and see if I can just use your slight modifications to the code mentioned above locally and then try pushing. At this point, I can't seem to get the theme to look coherent on the website even without adding any posts of my own or any reference to MJ. Thanks for the help! I'll report back.

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on July 20, 2024 1

OK, that did it. So, for the record, your update to the source code + my removal of all Mathjax custom code worked.

THANK YOU!!!!

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on July 20, 2024

Forgive me if I'm not linking the correct thing, but I think this should be a good example of a build that worked locally to include the theme but does not include it live.

https://github.com/griffinjmbur/griffinjmbur.github.io/actions/runs/7939272300

By the way, I should note that, although I cannot remember where, I did remember between my first post and this one that I have read about the mathjax fix specifically causing themes not to display. I'm not sure if that's helpful.

I can directly post the specifics of my Mathjax modifications if useful, but they basically followed the guidelines here (https://archive.ph/aKZ29).

Thanks a million for the help.

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on July 20, 2024

@griffinjmbur Thanks for those links! I still haven't been able to reproduce the error on my slide; however, I suspect there might be a conflict between how MathJax works on stock Minimal Mistakes and Academic Pages. I've bumped MathJax to version 3.0 and updated the template's guide page to demonstrate things up and running. You'll likely need to undo the MathJax related changes in griffinjmbur/griffinjmbur.github.io@47dea63 but hopefully this fixes the problem!

from academicpages.github.io.

griffinjmbur avatar griffinjmbur commented on July 20, 2024

Got it.

I am going to ask a stupid question, and please link to me to your Ko-Fi/Patreon or whatever for this if you choose to answer it. I just re-pushed and got the same error, but I doubtless didn't actually correct my local files correctly. By

undo the MathJax related changes

do you mean something akin to

modify the mathjax_support.html file to allow for compatibility with Mathjax 3?

?

I (with a bit of help from GPT) updated the _includes/mathjax_support-html to look like this (https://github.com/griffinjmbur/griffinjmbur.github.io/blob/master/_includes/mathjax_support.html), but I'm still get the same issue.

Sorry about this. It is embarrassing to me that I am adept at certain computer/math related tasks but that I'm still just barely proficient at Git and all things web engineering. Any help would be most appreciated!

from academicpages.github.io.

rjzupkoii avatar rjzupkoii commented on July 20, 2024

@griffinjmbur From what I was reading it seems like some approaches to MathJax end up overriding some of the template's settings, so that's most likely what is happening. With MathJax version 3.0 you really shouldn't need much more that the two lines in green from 45ea6b2 - I'd recommend starting by undoing anything you did related to MathJax to see if you can start by just getting the site deployed successfully. Then once you have that you can try adding these two lines to _includes/head/custom.html:

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

from academicpages.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.