Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

Can you help me?

share|improve this question
add comment

1 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.

share|improve this answer
    
I tried that and was able to process the sample.tex file with the Asymptote engien. However, the graphics for the cube, the large Euler's formula display, and the horizontal dimensional arrows all seemed out of place, overwriting the text "One can also scale the figure to the full line width:". –  murray Jul 6 '12 at 0:28
    
How does one get the GUI version, xasy, to run under OS X? I've never been able to get the library dependencies satisfied. –  murray Jul 6 '12 at 0:31
    
@murray The sample file compiles fine for me except that the coordinate of the label of the cube is slightly off (it should be (1,1,0.5) instead of (0,1,0.5). But to get the cube displayed correctly on the page you have to use the [inline] option for the package. As for the GUI version, I have no idea, as I don't actually use Asymptote. –  Alan Munn Jul 6 '12 at 1:04
    
In sample.tex, when I change the cube's label coordinates from (0,1,0.5) to (1,1,0.5) then the cube and its label both disappear entirely from the output. –  murray Jul 6 '12 at 16:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.