[Tex/LaTex] I can’t run Asymptote with Mac OS X Lion

asymptoteinstallingmac

Should I wait for MacTeX 2012? Can I use TeXShop to run asymptote? I am not good with terminal.

Can you help me?

Best Answer

TeXShop comes with an 'engine' for Asymptote, so it's easy to run it from TeXShop. To install the engine, go to ~/Library/TeXShop/Engines/ (on Lion, this folder is hidden, so you need to go to the Go menu item in the Finder and enter the path directly) and move the Asymptote.engine file from the Inactive/Asymptote folder to the Engines folder. There's also a sample .tex file in that folder that you can look at.

Restart TeXShop, and the new engine should appear in the pulldown menu beside the Typeset button in the document window. When you want to run Asymptote, choose that Engine from the pulldown menu and the hit the Typeset button.

Related Question