Closed schlichtanders closed 2 years ago
When I use this
using TikzPictures tp = TikzPicture("\\draw (0,0) -- (10,10);\n\\draw (10,0) -- (0,10);\n\\node at (5,5) {tikz \$\\sqrt{\\pi}\$};", options="scale=0.25", preamble="")
I only get plain text output.
TikzPicture("\\draw (0,0) -- (10,10);\n\\draw (10,0) -- (0,10);\n\\node at (5,5) {tikz \$\\sqrt{\\pi}\$};", "scale=0.25", "", "tikzpicture", "", "", true, true)
when I try a tip found in this other issue https://github.com/JuliaTeX/TikzPictures.jl/issues/6
using TikzPictures tikzDeleteIntermediate(false) tp = TikzPicture("\\draw (0,0) -- (10,10);\n\\draw (10,0) -- (0,10);\n\\node at (5,5) {tikz \$\\sqrt{\\pi}\$};", options="scale=0.25", preamble="") run(`lualatex tikzpicture.tex`)
I get even an error
Unable to read environment locale: exit now. failed process: Process(`lualatex tikzpicture.tex`, ProcessExited(1)) [1] Stacktrace: [1] pipeline_error @ ./process.jl:525 [inlined] [2] run(::Cmd; wait::Bool) @ Base ./process.jl:440 [3] run(::Cmd) @ Base ./process.jl:438 [4] top-level scope @ In[19]:4 [5] eval @ ./boot.jl:360 [inlined] [6] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String) @ Base ./loading.jl:1094
running julia 1.6.1 on nixos 21.05
julia> versioninfo() Julia Version 1.6.1 Commit 6aaedecc44 (2021-04-23 05:59 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, icelake-client)
I can run both ; which lualatex and also ; which pdf2svg in the jupyter notebook and both work. Any help is highly appreciated
; which lualatex
; which pdf2svg
Could it be related to this issue? https://tex.stackexchange.com/questions/374303/luatex-error-unable-to-read-environment-localeexit-now
Assuming this was resolved?
When I use this
I only get plain text output.
when I try a tip found in this other issue https://github.com/JuliaTeX/TikzPictures.jl/issues/6
I get even an error
running julia 1.6.1 on nixos 21.05
I can run both
; which lualatex
and also; which pdf2svg
in the jupyter notebook and both work. Any help is highly appreciated