I've been trying to get asymptote
to work on my MacBook Pro running Yosemite. I downloaded asymptote
onto the desktop and I tried to install it. I now have a "usr" folder on my desktop (is there a better way to do this? Where is it common to put an asy folder? It seems like there is very little documentation for installing asy on OS X). I created a config.asy
file (inside the usr file on my desktop) and wrote inside it,
import settings;
outformat="pdf";
batchView=false;
pdfviewer="/Applications/Skim.app/Contents/MacOS/skim";
gs="gs";
I created a file test.txt
with the code
import three;
currentprojection=orthographic(5,4,2,center=true);
size(5cm);
size3(3cm,5cm,8cm);
draw(unit box);
Then I ran the following in the command prompt:
laptop-17364637:usr nphirning$ asy -V test.txt
laptop-17364637:usr nphirning$ 2015-05-09 15:05:45.271 skim[16549:1853625]
Unsupported: Unsupported Annotation Type
It works if I don't import three, but what's the problem with 3D graphics? Any help with the best way to set up asymptote
would also be great.
config.asy
file can be created if you can figure out where to put it, but it's optional. – Charles Staats May 9 '15 at 22:18/usr/texbin/
-- but you don;t really need to worry about that. Just do a full install and it will create all the paths and links you need. – Thruston May 9 '15 at 22:20.asy
, not.txt
. – Charles Staats May 10 '15 at 2:43