The first thing I want to do is profusely thank any person that takes the time to read this. The post looks long, but this is mostly because I formatted it with bullet points and I wanted to be as detailed as possible and provide a minimal working example. This is my first time embarking on an independent coding project and my first ever Stack Exchange post so even though I checked to not break any rules, I might have missed something.
I am working on my first django project (supposed to be a simple blog) and I think I am running into a lot of unknown unknowns. I want to: - Render [;\LaTeX] style mathematical formulae in an article template that I am using. The template is an HTML file and the source code is found here. It extends this base template
I have tried
- the django-mathjax package. After I followed the instructions and my project did not compile, I tired the suggestion in this stack exchange post to no avail.
- With code from this youtube video, I created a sample html file that did what I wanted but it fell apart when I added it to the base_layout template in my project.
At this point, I got desperate. I then tried:
- django-tex
- django-latexify
- I read this stack exchange post and it almost made sense
- this post in /r/django which does say to use mathjax, but I unfortunately have been failing at this so far
Based off of all this, I have some questions that hopefully you all can help me out with.
- Suppose you want to do something in python. You find a random package on github that claims to do it for you, but you have never heard of it before, it has not been updated in 2 years. Do you trust it? How do you go about selecting packages for a project/ goal if it requires using a package that is not one of the canonical ones (like numpy) that you KNOW you can trust?
- Why is MathJax the best way to incorporate latex style equations to websites/ HTML/ CSS
- I feel like the first package should have worked and maybe I am making a mistake with my virtual environment. Is there a way to confirm this (sorry I know this is super vague)
- Most important: Given that I have tried so many different things and none of them worked, how do I go about discerning what my next step is. Should the fact that my templates are HTML files guide me?
- If the answer to my dilemma is in the MathJax documentation or the Django documentation, how would I effectively search for it?