I was looking for an Obsidian plugin which would render into .svg complex Latex Equations not supported on Obsidian’s Basic Mathjax version. I found a plugin which suit my needs, it’s called Obsidian-Latex-render(Github) and I installed it manually.
Now, The read.md for this is super dense and I can’t understand a blind word. I need your help making this work.
What I know (or I think I know)
I need to have a Latex Installation natively on my desktop, which I have(screenshot)
edit#1 I got to know how it works but not completely.
now, I should enter the command to generate the svg into the Command to generate SVG tab. This would be, latex -interaction=nonstopmode -halt-on-error -shell-escape '/home/bob/example.tex' && dvisvgm --font-format=woff2,ah '/home/bob/example.dvi'
latex {filepath/filename.tex} creates a .dvi file in the same name as the filename with the extension dvi, if you pass this through dvisvgm {filepath/filename.dvi} you would get the svg file. Now, I don’t know what to enter in the latex code block.
It’s apparently supposed to render everything I put in, but it isn’t rendering anything. It’s not showing an error either, which is good as it showed an error previously
But yes, still haven’t figured out how this works completely
I also don’t have an idea how the plugin works, but is it possible to share the complex equation that is not possible in Mathjax/obsidian? Maybe there is an other way to make it work.
Could you share the LaTeX code or screenshot of the equation.