JuliaTeX / TikzPictures.jl

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

Support for other tex engines #7

Closed mbaz closed 9 years ago

mbaz commented 9 years ago

Would it be difficult to add support for other engines, such as pdflatex or xelatex? I'm thinking that maybe what engine to use could be configured by the user.

mykelk commented 9 years ago

I think we use lualatex so that it is easy to support the lua-specific things in the most recent release of Tikz. Why would one prefer to use pdflatex or xelatex instead?

mbaz commented 9 years ago

(I was unaware of the new graph layout algorithms in Tikz -- very nice).

I prefer to use xelatex because I've been using it for years and I have a workflow that works. I don't even have luatex installed. My thinking is, if {pdf,xe}latex support can be added easily to tikzpictures, it'd be a useful feature to users like me. But adding support may be harder than I think; for instance, maybe error reporting handling is very different between the engines.

On Sat, Sep 19, 2015 at 11:41 PM, Mykel Kochenderfer < notifications@github.com> wrote:

I think we use lualatex so that it is easy to support the lua-specific things in the most recent release of Tikz. Why would one prefer to use pdflatex or xelatex instead?

— Reply to this email directly or view it on GitHub https://github.com/sisl/TikzPictures.jl/issues/7#issuecomment-141742357.

mykelk commented 9 years ago

This feature is now implemented in 06e12bc3ed4be42da92763c819a56bcdda8c31c8. You can use tikzCommand("xelatex") or whatever other command you want to use instead of lualatex.

mbaz commented 9 years ago

Thanks!

On Sun, Oct 18, 2015 at 10:22 PM, Mykel Kochenderfer < notifications@github.com> wrote:

This feature is now implemented in 06e12bc https://github.com/sisl/TikzPictures.jl/commit/06e12bc3ed4be42da92763c819a56bcdda8c31c8. You can use tikzCommand("xelatex") or whatever other command you want to use instead of lualatex.

— Reply to this email directly or view it on GitHub https://github.com/sisl/TikzPictures.jl/issues/7#issuecomment-149079351.