I check if the installation of Asymptote is correct.
If I compile the file test-1.asy it works with a pdf output but if I compile the file test-2.asy it does not work and the pdf file is empty.
Both files compile with OpenGL output

fab@debian:~$ asy -V -f pdf test-1.asy
warning [version]: using possibly incompatible version 2.41 of plain.asy

fab@debian:~$ asy -V -f pdf test-2.asy
warning [version]: using possibly incompatible version 2.41 of plain.asy

fab@debian:~$
(evince:8297): Poppler-WARNING **: Unsupported Annot Type

(evince:8297): Poppler-WARNING **: Unsupported Annot Type

** (evince:8297): WARNING **: Unimplemented annotation: POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla (http://bugzilla.gnome.org) with a testcase.

(evince:8297): Poppler-WARNING **: Unsupported Annot Type

(evince:8297): Poppler-WARNING **: Unsupported Annot Type

** (evince:8297): WARNING **: Unimplemented annotation: POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla (http://bugzilla.gnome.org) with a testcase.

(evince:8297): Poppler-WARNING **: Unsupported Annot Type

fab@debian:~$


2017-11-02 11:26 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
I will first specify that all the files with the extension .asy work and that I try to include Asymptote code in a file with the extension .tex to be able to compile it with context.

My operating system is Debian Stretch and I installed Asymptote in my home because that of Texlive 2017 did not work because some libraries were missing

https://sourceforge.net/p/asymptote/discussion/409349/thread/d208bdcc/

fab@debian:~$ which asy
/home/fab/Asymptote/bin/asy
fab@debian:~$

Fabrice

2017-11-02 10:14 GMT+01:00 Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
On 2 November 2017 at 09:54, Fabrice Couvreur wrote:
> Hi Aditya
>>
>> Are you using context minimals or texlive?
>
>  With Emacs, I work with context minimals and command 'ConTeXt Full' but I
> also tried with texlive  2017.

A more relevant question would be: where does your asymptote binary
come from and which OS are you using?

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________