I’m trying to add equations using https://www.mathjax.org/ to a html/text filter. However it doesn’t seem to render at all?
I just added the example from the mathjax page:
<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>
</head>
<body style="font-size: 72pt;">
<p>
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]
</p>
Inserted so that the html documents structure was fine.
What am I doing wrong? Or is this just not possible?
I’m sorry, I’ve tried 5 or 6 different ways to get it to work with Shotcut, but none of them was successful, none of them produced any error messages. A pity really.
My only suggestion would be to run the script in a browser and take a high-resolution screenshot of that, edit it if necessary then add the image to your Shotcut project.
My “work around” for now is to create a standalone document in Latex, color the text white and create a transparent background png file.
Because it is white I can color it using color grading.