JuliaTeX / TikzPictures.jl

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

Why is limit_to not exposed for TIKZ #69

Closed H-M-H closed 3 years ago

H-M-H commented 3 years ago

I tend to use \includegraphics for TIKZ pictures a lot but in this case I need them without preamble but with the .tikz file ending. Is there a reason why limit_to is set to :all only? https://github.com/JuliaTeX/TikzPictures.jl/blob/5bca9c2856e06cbf4f7a1a9231b05ef265b06bee/src/TikzPictures.jl#L101-L105

I can workaround this by changing limit_to after creating a TIKZ object and this seems to work just fine.

mykelk commented 3 years ago

Feel free to file a PR where we can pass in an optional argument.

H-M-H commented 3 years ago

Alright, have a look at #70 then.

mykelk commented 3 years ago

Thanks!