Hello Mykel, On Wednesday, January 21, 2015 at 8:02:14 PM UTC+1, Mykel Kochenderfer wrote: > > You need to make sure you are running texlive 2014. If you are indeed > running texlive 2014, then I'm happy to look into this more deeply with > you. Please file an issue <https://github.com/sisl/PGFPlots.jl/issues> > with the code you're trying to use to plot. If you want to try digging into > it a little on your own, you can follow these steps: > 1. run "using TikzPictures" > 2. run "tikzDeleteIntermediate(false)" > 3. rerun the commands you used to plot > 4. go into the console and run "lualatex tikzpicture" on the > tikzpicture.tex that is generated in the current directory > 5. the errors you get in step 4 should give a hint as to what is wrong > > Thanks, this was very helpful.
In my case I had to - install texlive 2014 (from mactex, old version was 2009) - update / upgrade brew - install pdf2svg (using `brew homebrew/x11/pdf2svg`) which all in all took several hours on my old laptop (2010), and a system crash. Cheers, ---david On Wednesday, January 21, 2015 at 5:21:46 AM UTC-8, David van Leeuwen wrote: >> >> Hello, >> >> On Thursday, August 21, 2014 at 11:05:08 PM UTC+2, Mykel Kochenderfer >> wrote: >>> >>> There are three new Julia packages for interfacing with PGF/TikZ >>> <http://www.ctan.org/pkg/pgf> for making publication-quality graphics. >>> >>> 1. TikzPictures.jl <https://github.com/sisl/TikzPictures.jl>. Basic >>> interface to PGF/TikZ. Images can be saved as PDF, SVG, and TEX. If >>> using >>> IJulia, it will output SVG images. >>> 2. PGFPlots.jl <https://github.com/sisl/PGFPlots.jl>. Plotting tool >>> that uses the pgfplots <http://ctan.org/pkg/pgfplots> package (built >>> on top of TikZ). >>> 3. TikzGraphs.jl <https://github.com/sisl/TikzGraphs.jl>. Graph >>> layout package using algorithms built into PGF/TikZ 3.0+. >>> >>> Documentation is provided with each package. Installation of the >>> dependencies (e.g., pdf2svg and pgfplots) is still a bit manual, but >>> instructions are in the documentation. >>> >> >> This looks great, thanks. >> >> However, I run into problems with PGFPlots: >> >> Error saving as SVG >> ERROR: The pdf generation failed. >> Be sure your latex libraries are fully up to date! >> You tried: `lualatex --enable-write18 --output-directory=. tikzpicture` >> >> >> The latex on my system (I think a tex live latex on mac) is pdflatex. Does >> anyone know how I can configure this in PGFPlots? >> >> >> Thanks >> >> >> ---david >> >
