I am using asymptote to generate lots of images in a LaTeX document. The images are translated from asymptote to PDF as this:
pdflatex text.tex
asy text-*.asy
pdflatex text.tex
However, asymptote insists in opening a window, (which briefly flashes and goes away, without any content). Because of that I cannot compile my document from a remote machine using ssh:
asy x.asy
freeglut (asy): failed to open display ''
Is there a way to run asymptote in some mode that does not require a window system (without a defined DISPLAY
in Unix)?
I have already tried -noView
and -nointeractiveView
, but Asymptote will still try to open a window.
asy -noView text-*.asy
-noView
it tries to use the display...open display ''
"