0

I cant seem to to run asymptote after installing ghostscript, gsview, and MikTex please help me. All i get when i write the asy command in the cmd is this. I have a Windows 7 Ultimate installed on my PC.asymptote command error.

PS:- I just remembered that as I have installed a fresh Windows I dont have Visual Studio C++, could that be the reason. If any other information is necessary please ask for it.

  • 1
    Actually it looks like you have Asymptote running in the window, in interactive mode. – Charles Staats Jul 18 '16 at 15:15
  • 1
    Several possibilities. You can change how you are launching Asymptote. You can use Asymptote within LaTeX, using either asypictureB or latexmk to launch Asymptote automatically. Or, within interactive mode, you can type input "<filename>" on one line (no .asy suffix) and shipout("<filename>") on the next. – Charles Staats Jul 18 '16 at 15:31
  • 1
    For the first (most conventional) option, to change how you launch Asymptote: You want to go to the ordinary command-line (NOT Asymptote itself; e.g., don't click on any Asymptote icon), and type asy <filename>. – Charles Staats Jul 18 '16 at 15:32
  • 1
    If you wrote an Asymptote file you're trying to run, the name of that file. If you wrote a filename foo.tex using the Asymptote package and then ran latex on it, you want to run asy foo-*.asy if I recall correctly. (If that doesn't work try it with _ instead of -.) – Charles Staats Jul 18 '16 at 15:39
  • 1
    If you're just trying to get a feel for Asymptote, you're probably better off just typing commands in interactive mode. See the link in my first comment. But yes, if you have example files from somewhere they will probably work provided they're in the same directory as you are in when you launch asymptote. – Charles Staats Jul 18 '16 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.