Asymptote now works just fine except for when I try to add labels (that are created using LaTeX). In that case, I get
Process started
Cannot execute C:\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe/pdflatex Please put in a file config.asy: import settings; texpath="LOCATION"; where LOCATION specifies the location of the directory containing your pdflatex engine (pdflatex). Alternatively, set the environment variable ASYMPTOTE_TEXPATH or use the command line option -texpath="LOCATION". For further details, see http://asymptote.sourceforge.net/doc/Configuring.html http://asymptote.sourceforge.net/doc/Search-paths.html
Process exited with error(s)
My Asymptote command in Texmaker is set to
"C:/Program Files (x86)/Asymptote/asy.exe" -gs="C:/Program Files/gs/gs9.07/bin/gswin64.exe" -texpath="C:\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe" %.asy
(Nothing works without specifying the ghostscript location.) But I am also specifically stating the pdflatex location as the error says I should do, and I am still getting the error. What should I do? (Btw, yes, all the paths are correct, my pdflatex.exe really is at that location.)
texpath
. It should be a path so something like-texpath="C:\MiKTeX 2.9\miktex\bin\x64\"
would do