vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
542 stars 90 forks source link

Test file won't run #363

Closed FrequentErvin closed 1 year ago

FrequentErvin commented 1 year ago

Just starting out with Asymptote. I've installed and updated MikTex, installed Ghostscript 10.00.0 and Asymptote. I made a test file named "test.asy" with a simple draw command inside just to test the program. I'm not sure if I should call the program from cmd but I did and got an error: screenshot 81

johncbowman commented 1 year ago

Yes, Asymptote can be called from the command line. Asymptote searches for files in these places:

https://asymptote.sourceforge.io/doc/Search-paths.html#index-search-paths

The message implies that test.asy is not in this search path. Try moving it to your current directory (asy-folder).

Instead of using MikTeX, we recommend installing TeX from the official distribution https://www.tug.org/texlive/

The GitHub issues list is intended for bug reports and feature requests. Help from other users is available at https://sourceforge.net/p/asymptote/discussion/409349