من کد دو تصویر هندسی را به صورت زیر در برنامه قرار دادم:
\documentclass[a4paper,10pt]{article}
\usepackage[width=18cm,right=1.5cm,height=28cm,top=1cm]{geometry}
\usepackage{asymptote}
\usepackage{xepersian}
\settextfont[Scale=.9]{Persian Modern}
\setdigitfont[Scale=1]{Persian Modern}
\begin{document}
\begin{figure}
\begin{asy}
import graph; size(10cm);
real labelscalefactor = 0.5; /* changes label-to-point distance */
pen dps = linewidth(0.7) + fontsize(10); defaultpen(dps); /* default pen style */ real xmin = -7.781395549741796, xmax = 10.023907881100758, ymin = -8.1042534477125472, ymax =20.377003248363463; /* image dimensions */
pen xdxdff = rgb(0.49019607843137253,0.49019607843137253,1.); pen uuuuuu = rgb(0.26666666666666666,0.26666666666666666,0.26666666666666666);
/* draw figures */
draw(circle((2.0224920679915797,1.2133701390811058), 1.215741883258489), red);
draw((1.7087917411646942,3.208231692098312)--(0.,0.));
draw((0.,0.)--(5.,0.));
draw((5.,0.)--(1.7087917411646942,3.208231692098312));
draw((2.9548391468021835,1.993599112743473)--(0.926374244838808,1.739254198998999));
draw((0.926374244838808,1.739254198998999)--(2.0983948498588836,0.));
draw((2.0983948498588836,0.)--(2.9548391468021835,1.993599112743473));
draw((2.0983948498588836,1.115004044228138)--(0.926374244838808,1.739254198998999));
draw((2.0983948498588836,1.115004044228138)--(2.0983948498588836,0.));
draw((2.0983948498588836,1.115004044228138)--(2.9548391468021835,1.993599112743473));
draw((1.7087917411646942,3.208231692098312)--(2.0983948498588836,0.), green);
draw((0.,0.)--(2.9548391468021835,1.993599112743473), green);
draw((5.,0.)--(0.926374244838808,1.739254198998999), green);
/* dots and labels */
dot((0.,0.),linewidth(3.pt) + blue);
label("$A$", (-0.12816765016057677,-0.06169095540651784), NE * labelscalefactor,blue);
dot((1.7087917411646942,3.208231692098312),blue);
label("$B$", (1.638569986501741,3.328197866881949), NE * labelscalefactor,blue);
dot((5.,0.),blue);
label("$C$", (5.097130589720554,0.006980825523819424), NE * labelscalefactor,blue);
dot((2.0983948498588836,1.115004044228138),xdxdff);
label("$P$", (2.17545845559347,1.0120859827769375), NE * labelscalefactor,xdxdff);
dot((0.926374244838808,1.739254198998999),linewidth(3.pt) + uuuuuu);
label("$C_0$", (0.7520797235828395,1.786204240537103), NE * labelscalefactor,uuuuuu);
dot((2.9548391468021835,1.993599112743473),linewidth(3.pt) + uuuuuu);
label("$A_0$", (2.993276937582034,2.0421626967319964), NE * labelscalefactor,uuuuuu);
dot((2.0983948498588836,0.),linewidth(3.pt) + uuuuuu);
label("$B_0$", (2.063086450434736,-0.16782007138976635), NE * labelscalefactor,uuuuuu);
dot((1.9378069566498257,1.307418115678515),linewidth(3.pt) + uuuuuu);
label("$Q$", (1.807127994239842,1.4116308900079908), NE * labelscalefactor,uuuuuu);
dot((1.6537473500285758,2.3718413988382405),linewidth(3.pt) + uuuuuu);
label("$A_1$", (1.557412427220433,2.4916507173669316), NE * labelscalefactor,uuuuuu);
dot((2.8773406859987904,0.34892686910900467),linewidth(3.pt) + uuuuuu);
label("$A_2$", (2.9308480458271817,0.23172483584128684), NE * labelscalefactor,uuuuuu);
dot((0.9065518171625733,0.7309743645467599),linewidth(3.pt) + uuuuuu);
label("$B_1$", (0.7520797235828395,0.6250268538968549), NE * labelscalefactor,uuuuuu);
dot((3.228313604567343,1.0583774017062109),linewidth(3.pt) + uuuuuu);
label("$B_2$", (3.2929356180053246,0.9996002044259672), NE * labelscalefactor,uuuuuu);
dot((2.1752859203220445,2.4194722762978973),linewidth(3.pt) + uuuuuu);
label("$c_1$", (2.1317582313650734,2.5291080524198426), NE * labelscalefactor,uuuuuu);
dot((1.3111401716814743,0.22746608374665603),linewidth(3.pt) + uuuuuu);
label("$c_2$", (1.132895963287438,0.15056727655997917), NE * labelscalefactor,uuuuuu);
clip((xmin,ymin)--(xmin,ymax)--(xmax,ymax)--(xmax,ymin)--cycle);
\end{asy}
\end{figure}
%
\begin{figure}
\begin{asy}
import graph; size(5.075468688539488cm);
real labelscalefactor = 0.5; /* changes label-to-point distance */
pen dps = linewidth(0.7) + fontsize(10); defaultpen(dps); /* default pen style */ real xmin = -3.85111190933482, xmax = 12.224356779204669, ymin = -2.2984456307469188, ymax = 5.207973645815922; /* image dimensions */
pen xdxdff = rgb(0.49019607843137253,0.49019607843137253,1.); pen uuuuuu = rgb(0.26666666666666666,0.26666666666666666,0.26666666666666666);
/* draw figures */
draw(circle((4.,1.1536144578313259), 4.163030905160021));
draw((xmin, 2.110169491525424*xmin0.)--(xmax, 2.110169491525424*xmax0.)); /* line */
draw((xmin, 0.*xmin0.)--(xmax, 0.*xmax0.)); /* line */
draw((xmin, -0.8829787234042553*xmin + 7.0638297872340425)--(xmax, -0.8829787234042553*xmax + 7.0638297872340425)); /* line */
draw((4.,-13.86945169712793)--(8.,0.));
draw((0.,0.)--(4.,-13.86945169712793));
draw((2.36,4.98)--(4.,-13.86945169712793));
draw((2.0839723005241937,1.7035158239645491)--(2.640855554697724,1.7519675535702306));
draw(circle((4.,-2.7668870343701633), 4.863708858573436));
draw(circle((3.3966429064152686,0.9351100825819932), 1.1128659617966212));
draw(circle((4.,-0.6544767581505515), 4.053188846693338));
draw((2.36,4.98)--(4.,-0.6544767581505515));
draw((2.0839723005241937,1.7035158239645491)--(3.217628324696588,2.033483620344809));
draw((3.217628324696588,2.033483620344809)--(2.640855554697724,1.7519675535702306));
draw((4.154178399629964,3.395778647135245)--(0.,0.));
draw((0.9605838364707413,2.026994705773005)--(8.,0.));
draw((4.154178399629964,3.395778647135245)--(0.9605838364707413,2.026994705773005));
/* dots and labels */
dot((0.,0.),xdxdff);
label("$B$", (0.033863865737917595,0.08184587257991635), NE * labelscalefactor,xdxdff);
dot((2.36,4.98),blue);
label("$A$", (2.397153286898139,5.020950741983099), NE * labelscalefactor,blue);
dot((8.,0.),xdxdff);
label("$C$", (8.033343525132766,0.08184587257991635), NE * labelscalefactor,xdxdff);
dot((4.,-13.86945169712793),linewidth(3.pt) + uuuuuu);
dot((0.9605838364707413,2.026994705773005),xdxdff);
dot((4.154178399629964,3.395778647135245),linewidth(3.pt) + uuuuuu);
dot((2.0839723005241937,1.7035158239645491),linewidth(3.pt) + uuuuuu);
dot((2.640855554697724,1.7519675535702306),linewidth(3.pt) + uuuuuu);
dot((4.,0.),linewidth(3.pt) + uuuuuu);
dot((2.793285812830536,0.),linewidth(3.pt) + uuuuuu);
dot((3.217628324696588,2.033483620344809),linewidth(3.pt) + uuuuuu);
dot((4.,-0.6544767581505515),linewidth(3.pt) + uuuuuu);
dot((2.5573811180503525,2.711386676454125),linewidth(3.pt) + uuuuuu);
dot((1.0419861502620968,0.8517579119822746),linewidth(3.pt) + uuuuuu);
dot((5.041986150262097,0.8517579119822746),linewidth(3.pt) + uuuuuu);
clip((xmin,ymin)--(xmin,ymax)--(xmax,ymax)--(xmax,ymin)--cycle);
\end{asy}
\end{figure}
\end{document}
اما وقتی با ابزار asymptote آن را برای ایجاد تصاویر فراخوانی میکنم با ارور زیر مواجه میشوم:
figures-2.asy: 17.37: syntax error
error: could not load module 'figures-2.asy'
C:\texlive\2016\bin\win32\runscript.tlu:679: command failed with exit code 1:
asy figures-*asy
چگونه میتوانم مشکل را حل بکنم؟
(من تازه 2 روز است که با این مشکل مواجهم چند روز پیش همین کد بالا به راحتی بدون هیچ مشکلی فراخوانی میشد)