As suggested, I have put these lines into .vimrc and add the following to their ~/.vimrc file: augroup filetypedetect au BufNewFile,BufRead *.asy setf asy augroup END filetype plugin on And did the following: cp /usr/local/share/asymptote/asy.vim ~/.vim/syntax/asy.vim The basic asymptote keywords are highlighted but none of the module specific keywords especially those in plain.asy What else do I need to do? Thanks in advance. Jon
I downloaded the latest version and opened the TeXShopAndAsymptote.pdf included file from Vishaal Rajani & Cole Zmurchok. The instructions say, that after a tar extraction I should have a directory asymptote-x.xx with a configuration file ./configure and a make file ** make all sudo make install** Neither the directory or the configure or make file exists. Any suggestions?
The attached code was working on a MacBook air with the command line: asy polygons.asy using asy version 2.92. Then, without changes it starting producing the output below without a pdf file. I want to emphasize this was the exact same file, code that worked earlier. Ideas? <*> \let \paperwidthsave\paperwidth\let\paperwidth\undefined ! Undefined control sequence. \filename@simple ...t \relax \edef \filename@base {#1}\else \filename@dots {...