artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
356 stars 18 forks source link

Infinite render #51

Open jolitti opened 8 months ago

jolitti commented 8 months ago

I installed the extension and copy-pasted one of the example snippets in the presentation page, but once i click outside of the box the rendering circle spins infinitely without producing a rendered result

DennisVanIngen commented 8 months ago

I had the same issue, in my case restarting obsidian fixed the problem.

eiiot commented 7 months ago

Same here, but I get the problem often enough where it's become an issue.

FegDotExe commented 6 months ago

Same here; specifically, everything works normally except for when I try to render an [op amp] node; when I do that, the graph begins an infinite render.

campaner0 commented 4 months ago

I also encounter this whenever using the circuitikz package. Restarting obsidian doesn't fix

abhmul commented 2 months ago

According to the Developer Console the error seems to come from tikzjax.js at the following code:

await P().setItem(A.md5hash, r.outerHTML)

where it seems that r is null. It looks like the tikzjax.js file is generated? I'm not very familiar with typescript and js. Does anyone here understand how this file is created and what might bring about this error?

GeoffClements commented 1 month ago

I only just discovered this plug-in and I have this problem. I've only seen it successfully render once and I'm unable to reproduce the conditions that worked.

Mhuz commented 1 month ago

I'm having the same issue, only the first example is working for me. It seems like an infinite loop occurs when using an additional package through \usepackage that, in fact, isn't used in first example