Je ne parviens pas à installer Asymptote avec la configuration suivante :
Windows 10
MiKTeX 2.9
Texmaker 4.5
Asymptote 2.21
Ghostscript 9.19
ImageMagick 7.01
Après avoir indiqué les chemins dans Commandes de Texmaker pour Asymptote et Ghostscript.
Je tente une compilation PdfLateX+Asymptote+PdfLateX+Voir Pdf
et j'obtiens le message :
le fichier :Process started
0 [main] asy 976 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com
Cannot execute
gswin32c.exe
Please put in a file config.asy: import settings; gs="LOCATION"; where LOCATION specifies the location of Ghostscript. Alternatively, set the environment variable ASYMPTOTE_GS or use the command line option -gs="LOCATION". For further details, see http://asymptote.sourceforge.net/doc/Configuring.html http://asymptote.sourceforge.net/doc/Search-paths.html
C:\Program Files (x86)\Asymptote/plain_shipout.asy
: 82.10: runtime: shipout failed
Process exited with error(s)
Code : Tout sélectionner
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[inline]{asymptote}
\begin{document}
\begin{asy}
size(7cm,0);
pair A, B, C, D;
A=(0,0);
B=(2,1);
C=(2,2);
D=(4,0);
draw(A--B,red);
draw(C--D,blue);
\end{asy}
\end{document}
Merci