JuliaTeX / TikzPictures.jl

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

Build script #23

Closed zsunberg closed 7 years ago

zsunberg commented 7 years ago

Should this have a dep/build.jl script that gives warnings and tries to install lualatex if it is missing?

zsunberg commented 7 years ago

If someone wants to tackle this, here is a start: https://github.com/zsunberg/LaserTag.jl/blob/master/deps/build.jl

mykelk commented 7 years ago

Yeah, that looks good. Texlive if pretty huge, so I was thinking that an error would be sufficient, pointing the user to the install. It would be nice to have a texlive.jl package that takes care of all this for you.

zsunberg commented 7 years ago

shoot - this package is very difficult to use with Travis-ci right now because the texlive version available via aptitude in the ubuntu version they use does not have standalone.cls... very frustrating. Am I missing an easy way to use this on Travis?

mykelk commented 7 years ago

This seems to work, no? https://github.com/sisl/TikzPictures.jl/blob/master/.travis.yml

mykelk commented 7 years ago

I think the key is sudo apt-get install texlive-latex-extra

zsunberg commented 7 years ago

yes latex-extra is definitely required, but the reason it is working and mine is not is because it's on trusty - didn't know you could force that.

On Mon, Jun 19, 2017 at 10:54 AM Mykel Kochenderfer < notifications@github.com> wrote:

I think the key is sudo apt-get install texlive-latex-extra

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sisl/TikzPictures.jl/issues/23#issuecomment-309516820, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC0axMem7IrDWljfvM7eCE2TEycDYmzks5sFrXTgaJpZM4N-ghP .

mykelk commented 7 years ago

dist: trusty