From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99455 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Asymptote with Context Date: Thu, 2 Nov 2017 12:43:39 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="089e08255eb4e2f501055cfe7f3d" X-Trace: blaine.gmane.org 1509623066 6615 195.159.176.226 (2 Nov 2017 11:44:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2017 11:44:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 02 12:44:21 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eADv2-0001I0-6n for gctc-ntg-context-518@m.gmane.org; Thu, 02 Nov 2017 12:44:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 17B7D10225E1; Thu, 2 Nov 2017 12:43:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ob-G4sFq6iPG; Thu, 2 Nov 2017 12:43:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5BA2910225DE; Thu, 2 Nov 2017 12:43:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7BF3B10225DE for ; Thu, 2 Nov 2017 12:43:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5lAMONqhzYUM for ; Thu, 2 Nov 2017 12:43:51 +0100 (CET) Original-Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4A5501021F4A for ; Thu, 2 Nov 2017 12:43:41 +0100 (CET) Original-Received: by mail-wm0-f49.google.com with SMTP id z3so10707870wme.5 for ; Thu, 02 Nov 2017 04:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=592ULLewTqHDKJGFrwjuvTdPYq31Fk8DfwstIKuGnqI=; b=cmdzzFhm3cheB0LxskdMTxZeChb3+Mh5gl6+sBFEWDA53vSl1WIpyen5GjiMUAX8w5 T8zKeQil8u5qpFD+ntUfCMHajvktmIrWMLIVuM7JO2uaW1vijzaTelpHGD5BbX8Vuxhl 1Q2F3HTvK/kfSfN4Rpj2UCu6OZoiPHatPSe2YLa2Vfdl7Udu0i/K/tOysjWImiXNSgOw eOI15B/6WjvLjDFY+eL6jP/b4+tAClVsk6LNMXjXjPev8+VQW7IEpNFbe44X8fr1Y7oL Rua85bHQnn8eNZnMcFzHYq/HgKLSDG+/+I6Yz0je9LsdU4o/KNyvx9exKGHL/bfYWJeu cZuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=592ULLewTqHDKJGFrwjuvTdPYq31Fk8DfwstIKuGnqI=; b=hjnzGfe2Fepq9ZNTpczi9SlC6sXMTzncF2f7N1NiKcTyiWBA1j+h7CKgbY15EtekNM mFdmMamqN/D26ipIEfAC2+zPY7Rp5sxx77HeohR168fYXCUBuJI1eGQYOqHKN2s4gO72 sbE1wGA/PT7HcB+CZ7V9DFGPvk0sumBmKLGTPLqSlEPD1l3kNxY4QexnBkaAzrqjloHd BuyQ5YL2dl6fiYdZyIJOI4NRZo6E2lD/kbwoERyzzSJ5QhLmrDN3/6oqCAdGac3GY0jI dDj2zToYGzkxjjcwAarPFMrhkw6+6RTZ7hU8T++PL3BHfVIMN6ObOwO/7nbIB0Bj2CXJ Ydtg== X-Gm-Message-State: AMCzsaVo1QSd5zb2+XgOnLm86PLVpnBUH3ESIme8of0m6gEEx3q6Hq59 /ySqftfiooBwjefmposH0d7pjLITOUOenvPf45XSjQ== X-Google-Smtp-Source: ABhQp+QPlw0tyF47p3mnf3ToLjeSaChNZNxoTnDb0zOoK8XXXKjByg1fe83gAM19dkVx7rLP3R/f98phWdliEdGqIq8= X-Received: by 10.80.244.2 with SMTP id r2mr4079379edm.26.1509623020573; Thu, 02 Nov 2017 04:43:40 -0700 (PDT) Original-Received: by 10.80.151.118 with HTTP; Thu, 2 Nov 2017 04:43:39 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:99455 Archived-At: --089e08255eb4e2f501055cfe7f3d Content-Type: multipart/alternative; boundary="089e08255eb4e2f4fe055cfe7f3b" --089e08255eb4e2f4fe055cfe7f3b Content-Type: text/plain; charset="UTF-8" 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 : > 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 > : > >> 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/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> > > --089e08255eb4e2f4fe055cfe7f3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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=20 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 ver= sion 2.41 of plain.asy

fab@debian:~$ asy -V -f pdf test-2.asy
war= ning [version]: using possibly incompatible version 2.41 of plain.asy
fab@debian:~$
(evince:8297): Poppler-WARNING **: Unsupported Annot Ty= pe

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

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

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

(evince:8297): Pop= pler-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 **: U= nsupported Annot Type

fab@debian:~$


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

My operating=20 system is Debian Stretch and I installed Asymptote in my home because=20 that of Texlive 2017 did not work because some libraries were missing
https://sourceforge.net/p/asymptote/discus= sion/409349/thread/d208bdcc/

fab@debian:~$ which asy
/ho= me/fab/Asymptote/bin/asy
fab@debian:~$

Fabrice

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

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

Mojca
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________


--089e08255eb4e2f4fe055cfe7f3b-- --089e08255eb4e2f501055cfe7f3d Content-Type: application/octet-stream; name="test-1.asy" Content-Disposition: attachment; filename="test-1.asy" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j9iejhvz0 cGVuW11bXSBwPXt7cmdiKGJsYWNrKSxyZ2IoYmxhY2spfSwKICAgICAgICAgICB7cmdiKHJlZCks cmdiKGdyZWVuKX19OwoKbGF0dGljZXNoYWRlKCgwLDApLS0oMCwyY20pLS0oMmNtLDApLS1jeWNs ZSxwKTsK --089e08255eb4e2f501055cfe7f3d Content-Type: application/octet-stream; name="test-2.asy" Content-Disposition: attachment; filename="test-2.asy" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j9iejwpb1 aW1wb3J0IHRocmVlOwpzaXplKDhjbSwwKTsKY3VycmVudGxpZ2h0LmJhY2tncm91bmQ9YmxhY2s7 CgptYXRlcmlhbCBXaGl0ZShyZWFsIHgsIHJlYWwgeSl7CiAgIHJldHVybiBtYXRlcmlhbChkaWZm dXNlcGVuPWdyYXkoLjA1Ky4xeCsuM3kpLAogICAgICAgICAgICAgICAgICAgZW1pc3NpdmVwZW49 Z3JheSguMDUrLjF4Ky4zeSkpOwp9Cgpmb3IoaW50IHk9MDsgeTw9MjsgKyt5KQogICAgZm9yKGlu dCB4PTA7IHg8MzsgKyt4KQogICAgICAgIGRyYXcoc2hpZnQoMngsMnksMCkqdW5pdHNwaGVyZSxX aGl0ZSh4LHkpKTsK --089e08255eb4e2f501055cfe7f3d Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --089e08255eb4e2f501055cfe7f3d--