[OS X TeX] Asymptote

Herbert Schulz herbs at wideopenwest.com
Mon Sep 26 12:41:18 CEST 2011


On Sep 26, 2011, at 1:18 AM, Ararat Andrasian wrote:

> Hello,
> How can I configure texshop so it could use the asymptote in texlive 2011. 
> 
> Thanks 
> Arnie

Howdy,

Assuming you've installed asy already (that's another procedure) and you are using TeXShop it's pretty easy. You need only activate the ``latexmk engines'' by moving them from ~/Library/TeXShop/Engines/Inactive/Latexmk/ two folders up, to ~/Library/TeXShop/Engines/ (note: ~/Library/ is the Library folder in your HOME folder --- if you are using Lion you can get to it by pressing the Option Key and Clicking on Finder's Go menu) and resstarting TeXShop. To tell TeXShop that a .tex file should use the asymptotemk engine place the line

% !TEX TS-program = asymptotemk

at the top of the file. From then on simply Typeset->Typeset (Cmd-T) will automatically compile only those asymptote figures that have changed since the last compile as well as take care of multiple runs of pdflatex and biblatex and/or makeindex.

There is another Asymptote specific engine found in ~/Library/TeXShop/Engines/Inactive/Asymptote/ but try the asymptotemk engine first and see if you like it.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list