I was wondering if it is possible to embed Tikz images into Weave
files, for rendering to html or pdf? I have tikz snippets and I was wondering if there is an easy way to migrate these into Weave
rendered documents.
Now in looking at the Weave repo, there is a reference to one issue about this. Output markdown with math as images · Issue #287 · JunoLab/Weave.jl · GitHub . But the solution that was referenced there was to use this GenTex
package, GitHub - rikhuijzer/GenTeX.jl: Generate LaTeX images. However, that package is also deprecated and archived now.
So I figured I would check whether anyone had figured out a suitable workaround as yet? I think that using Mathjax or Katex or something would support tikz. I have used Tikz images when creating Hugo blog posts etc., but I am not sure how difficult that is to link into Weave.
Any suggestions would be appreciated.