점근선이 라텍스에서 작동하지 않습니다

점근선이 라텍스에서 작동하지 않습니다

나는 점근선이 처음이다. AoPS에서 코드를 시도했습니다. 그러나 원하는 출력을 제공하지 않습니다. 출력에 어떤 수치도 나오지 않습니다. 코드는

\documentclass{article}
\usepackage[pdftex]{graphicx}
\usepackage{asymptote}
\begin{document}
Hello.  
I like to make pics with Asymptote like this one:
\begin{figure}[h]
  \begin{asy}
    import graph;
    size(1inch);
    filldraw(circle((0,0),1),yellow,black);
    fill(circle((-.3,.4),.1),black);
    fill(circle((.3,.4),.1),black);
    draw(arc((0,0),.5,-140,-40));
  \end{asy}
\end{figure}
\par It makes me happy, 
since I can still type my normal LaTeX stuff around it: 
\(\int_0^{\pi}{\sin{x}}\,dx=2\)
\end{document}

내가 얻는 결과는 다음과 같습니다.

여기에 이미지 설명을 입력하세요

관련 정보