这是我写的代码:
\documentclass[12pt,openany]{book}
\usepackage{asymptote}
\begin{document}
\begin{asydef}
import three;
import solids;
\end{asydef}
\begin{asy}
draw((0,0)--(100,100))
\end{asy}
\end{document}
以下是写的内容:
Package asymptote Warning: file `asymptote-1.pdf' not found on input line 15.
(asymptote.aux) )
No pages of output.
Transcript written on asymptote.log.
Sorry, but "MiKTeX Compiler Driver" did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
C:/Users/OEM/AppData/Local/MiKTeX/2.9/miktex/log/texify.log
You may want to visit the MiKTeX project page, if you need help.
我已经下载了 asymptote 包...我做错了什么?我只是按照这里的说明操作:
说实话,我使用 LaTeX 已经有一段时间了,但对 Asymptote 还是个新手……我拼命想画出我的第一张 Asymptote 图形 --- 即使是一条直线也行……但我没有任何进展,我做的一切都对吗?还是我做错了?我可以用这种方式在 LaTeX 中画出 Asymptote 图形吗?谢谢!
答案1
步骤 1(第一个乳胶步骤):
latex main.tex
第 2 步(简单步骤):
asy main-1.asy
步骤 3(第二步/最后一步乳胶步骤):
latex main.tex