We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I had to add a equation to my code. So, I typed out the equation in tex. And rendered the file using
xelatex and then used
pdfcrop to remove the extra spacing and the converted it into a SVG file using
pdf2svg. I put the SVG file in the data directory of my sketch. Now when I
loadShape() the SVG into a PShape and run the sketch I get nothing. I am sure that there is nothing wrong with the SVG file because Firefox and Inkscape can open them correctly.
So, some please tell me how can I get the SVG to display or better yet, tell me how to add a TEX equation into Processing and save me from a
xelatex eqn.tex && pdfcrop eqn.pdf && pdf2svg eqn-crop.pdf eqn.svg && cp eqn.svg data/ loop every time I update a equation.