Asymptote

C:\Users\hogehoge>asy fugafuga.asy
error: could not load module ‘fugafuga.asy’
C:\texlive\2020\bin\win32\runscript.tlu:915: command failed with exit code 1:
asy fugafuga.asy
はファイルがない(大体ファイル名を間違えている. )

GPL Ghostscript 9.50: **** Could not open the file hogehoge.pdf .
**** Unable to open the initial device, quitting.
C:/texlive/2020/texmf-dist\asymptote/plain_shipout.asy: 108.11: runtime: shipout failed
C:\texlive\2020\bin\win32\runscript.tlu:915: command failed with exit code 1:
asy -f pdf hogehoge.asy

すでに出力したpdfがある.asyファイルを, pdfを閉じずにもう一度pdfを出力しようとするとでてくる.

asy -f pdf(resp. png) hogehoge.asy
で.pdf(resp. png)に出力を指定できる.
あるいは, ソースコードの最初に, settings.outformat = “pdf”;
をつけたせばよい.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です