Sunday, 2 June 2013

Setup Asymptote in Texmaker

Setup Asymptote in Texmaker

Here it says that to setup Asymptote in TeXnicCenter, one should put -batchView -tex "pdflatex" %tc-*.asy into the Arguments line. But there is no Arguments line in Texmaker. Instead, there is only one line corresponding to Asymptote in "Configure Texmaker". Entering "C:/Program Files (x86)/Asymptote/asy.exe" -batchView -tex "pdflatex" %tc-*.asy leads to error: could not load module 'C:/Users/Dominik/Documents/Latex/test5tc-*.asy. I suspect the reason is that in Texmaker the symbol % actually stands for the filename.
By the way, using "C:/Program Files (x86)/Asymptote/asy.exe" %.asy on a simple code
draw((0,0)--(100,100)); draw((0,100)--(100,0)); dot((50,50));
does give the result in GSView. But I want to use Asymptote in my LaTeX files and also output it in PDF, so I need to configure that somehow. Thanks in advance for the help.

No comments:

Post a Comment