Ho scaricato e installato Asymptote e ho seguito questa procedura per poter compilare le immagini direttamente in latex
` 1. Browse to the folder C:\Program Files\MiKTeX 2.x\tex\latex\ (replace 2.x by the version on your machine).
2. Here, create a new folder and call it asymptote.
3. Open your new folder. For full functionality, copy the files asymptote.sty and asycolors.sty from C:\Program Files\Asymptote into this new asymptote folder.
4. Open MikTeX Options. This is most likely a shortcut in your Start Menu along with MikTeX; if it is not here, go to C:\Program Files\MiKTeX 2.x\miktex\bin and click on mo.exe (replace 2.x by the version of MikTeX on your machine). If using MikTeX 2.7 or 2.8 on Vista or Windows 7 then in the Start Menu go to MikTeX 2.x, Maintenance(Admin), Settings(Admin)
5. In the General tab, you will see a section labeled File Name Database with a button that says Refresh Now. Click it to refresh your file name database. MikTeX should now see your Asymptote style files. `ora se provo a compilare un esempio con pdflatex mi viene detto che il pacchetto asymptote.sty non viene trovato, eppure mi sembra di aver aggiornata il miktek, e la cosa strana è che essendo un pacchetto dovrebbe scaricare in automatico tutto l’editor…boh qualcuno ha qualche idea?
Grazie
`pdflatex nomefile
asy nomefile
pdflatex nomefile`
Hai compilato come sopra?
Ciao,
ansys.