JuliaTeX / TikzPictures.jl

Creating PGF/TikZ pictures and saving them in various formats
Other
89 stars 28 forks source link

Use jll binary #75

Closed rikhuijzer closed 3 years ago

rikhuijzer commented 3 years ago

Tectonic is packaged as a Julia jll binary (via Yggdrasil) and could most likely solve a lot of problems people are having with TikzPictures. When using Tectonic like

Tectonic.tectonic() do tectonic_bin
     run(`$tectonic_bin paper.tex`)
end

all the required artefacts are managed by Julia and Tectonic.

For example, I'm using Tectonic for my package Books.jl and due to it, I don't have to install LaTeX in the CI job. Julia handles it for me and the users.

rikhuijzer commented 3 years ago

Let me know if this sounds like a good idea, then I'll send in a PR.

mykelk commented 3 years ago

Nice! Let's do it! Let's have it as the default if lualatex -v fails, and make it switchable as well (just like the use of the poppler backend).

mykelk commented 3 years ago

Done! Thanks for the idea!