[OS X TeX] tikz editor

Michael Sharpe msharpe at ucsd.edu
Thu Nov 28 13:18:50 EST 2013


On Nov 27, 2013, at 5:40 PM, M. Tamer Özsu <ozsut at mac.com> wrote:

> I used to use TikZ Editor for developing tikz figures. I recently moved to a new machine running Mavericks and did a clean install. Now, the same documents that used to work with TikZ Editor are giving me an error:
> 
> Preview error: Can't convert the source file to PDF. Please check the LaTeX command in preview's preferences.
> 
> The LaTeX command referred to above is the default:
> 
> pdflatex -file-line-error -interaction=nonstopmode -output-directory $OUTPUT_DIR -jobname $FILE_NAME $FILE_PATH
> 
> Does anyone know, what might be going on?
> 
> Thanks.
> 
> ==Tamer
> 

The command seems to run in a shell where /usr/texbin is not on the path. Change the LaTeX command to 

> /usr/texbin/pdflatex -file-line-error -interaction=nonstopmode -output-directory $OUTPUT_DIR -jobname $FILE_NAME $FILE_PATH

This worked for me with Mavericks, where I saw the same error you reported. Adding -shell-escape, as Pete suggested, may be important for some TikZ processes.

Michael


More information about the MacOSX-TeX mailing list