[OS X TeX] Asymptote config
msharpe at ucsd.edu
Sat Jan 29 23:11:29 CET 2011
On Jan 29, 2011, at 11:47 AM, David Arnold wrote:
> I'm very new to Asymptote and was pleased to see that it's part of the mactex installation. However, this command responds that gv is not found:
> david-arnolds-macbook-pro-2:asymptote darnold$ asy -V test
> Cannot execute gv
> Please put in a file config.asy:
> import settings;
> where LOCATION specifies the location of your PostScript viewer.
> Alternatively, set the environment variable ASYMPTOTE_PSVIEWER
> or use the command line option -psviewer="LOCATION". For further details, see
> david-arnolds-macbook-pro-2:asymptote darnold$ gv
> -bash: gv: command not found
> I've always wondered what is used in the mactex installation in place of gv.
> By the way, this works fine on my mac: asy -V -f pdf test
The standard method appears to be to create (if it doesn't exist already) a hidden folder
and make a plain text file in that folder named config.asy. Mine has contents:
Obviously, this produces pdf output with skim as the viewer.
More information about the macostex-archives