渐近线目录的问题

渐近线目录的问题
\documentclass[12pt, a4paper, UTF8, scheme = plain]{ctexrep}
\usepackage{amsmath,tasks}
\usepackage[inline]{asymptote}
\begin{asydef}
import olympiad;
import cse5;
import graph;
size(6cm);
\end{asydef}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% \renewcommand\asydir{}   %%%% files used to be generated just under the same directory without any problem
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Square $ ABCD $ has side length $10$.
Point $E$ is on $\overline{BC}$, and the area of $ \triangle ABE $
is $40$.
What is $ BE $?
\begin{center}
\begin{asy}
pair A,B,C,D,E;
A=(0,0);
B=(0,50);
C=(50,50);
D=(50,0);
E = (30,50);
draw(A--B);
draw(B--E);
draw(E--C);
draw(C--D);
draw(D--A);
draw(A--E);
dot(A);
dot(B);
dot(C);
dot(D);
dot(E);
label("A",A,SW);
label("B",B,NW);
label("C",C,NE);
label("D",D,SE);
label("E",E,N);
\end{asy}
\end{center}
\begin{tasks}(5)
\task 4
\task 5
\task 6
\task 7
\task 8
\end{tasks}
\end{document}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

一些 asy 包来自这里

https://artofproblemsolving.com/wiki/index.php/Asymptote:_Macros_and_Packages

使用以下方式运行时(在 Notepad++ 中从 Nppexec 运行)

cd $(CURRENT_DIRECTORY)
pdflatex $(NAME_PART).tex
asy.exe -v *.asy

我收到以下错误:

Processing cse5
failed to create directory /.asy.
Processing olympiad
failed to create directory /.asy.
Processing tmppp-1
    pic.addBox(position,position,min(f),max(f));
              ^

pdf 部分应该没问题。但我似乎对目录有些问题?而且它似乎是 Linux 格式下的某个路径?我使用的是 Windows。大约一年前它曾经工作过,但现在才出现。

我的环境是

Windows 10
Miktex (latest)

相关内容