Textmate 2 windows
Now if you open a new file and type which gnuplot, Ctrl-R, it should give you something, and if you type which pdflatex, Ctrl-R, it should say /usr/texbin.įinally, you need to make sure that TextMate runs pdflatex with the shell-escape option. (It's important that you keep $PATH in this list too, otherwise TextMate won't be able to use many important commands.) Make sure the check box next to PATH is checked. You should change this so that the directory containing gnuplot is in the list, for example /usr/texbin:$PATH:/opt/local/bin:/opt/local/sbin:/opt/bin So assuming that TextMate can't find gnuplot, the easiest way to fix this is to go to TextMate's Preferences > Variables and edit the entry for PATH. If TextMate gives you an error message, then it can't find gnuplot if it prints a directory name then it can. You can check that TextMate is able to find gnuplot by opening a new file in TextMate, typing the line which gnuplot, and running that line with Ctrl-R. This might be an issue with TextMate's PATH, which is not (necessarily) the same as the PATH when you work from Terminal. Replacing it with a default range and clearing all plots.Īnd no errors from terminal with pdflatex -shell-escape file.tex. ! Package pgfplots Warning: You have an axis with empty range. gnuplot' manually on the respective gnuplot file.
Maybe you need to enable the shell-escape feature? For pdflatex, this Gnuplot-result file '' could not be found. Ejercicio1.tex:6 Package pgfplots Error: Sorry, the
#Textmate 2 windows code#
What happens? Is it a PATH problem? How can I solve it? (I don't really understand what is a PATH, therefore I can't try/imagine by myself) Code and Logs Example 1: \documentclass On the contrary, if I call the file from the terminal with pdflatex -shell-escape file.tex then it compiles perfect. But if I use some code which needs of gnuplot it isn't able to call it. I use TextMate to compile my documents, which compiles everything perfectly. Now port and gnuplot work both from terminal in both accounts.īut here is the problem. After little hacking ( here it is more info), I solved it. Then created a new (non-admin) account, and then neither port nor gnuplot worked.
#Textmate 2 windows install#
In this account, the command port works correctly from terminal (which let mi install gnuplot), and also does gnuplot app (from terminal). I reinstalled the operating system (Mac OS X 10.8.2), installed MacTeX (the last one), installed MacPorts and gnuplot through it (in an administrator account). So I write here my actual problem, which is the same as before. I don't really remember what was the exact problem with this (well, of course, gnuplot didn't work correctly). I reopen this post, which was started some time ago but didn't came with a solution.