Re: [NTG-context] Asymptote and Context

2018-04-19 Thread Aditya Mahajan
On Thu, 19 Apr 2018, Context NTG wrote: I am running context minimals and Asymptote on Windows.This example used to work in the past, but it seems to have stopped working. Is there anything that has changed? I uploaded a new version of the filter module yesterday, but the error below seems

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
When compiling the file with asy -V -f pdf test-2.asy I get the following message warning: /home/fab/context/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No cnf value on line: OSFONTDIR =. dvips: warning: no config file for `download35' dvips: ! Couldn't find header file: tex.pro

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
Sorry test-2.asy compile with OpenGL output 2017-11-02 12:43 GMT+01:00 Fabrice Couvreur : > 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

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
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

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread 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

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread 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

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
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. If you compile the attach ntg71.tex file, do you get ntg71-macro.pdf? No Fabrice 2017-11-01 16:49 GMT+01:00 Mojca Miklavec

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Mojca Miklavec
On 1 November 2017 at 16:29, Ulrike Fischer wrote: > Am Wed, 1 Nov 2017 09:50:47 -0400 (EDT) schrieb Aditya Mahajan: > >> The only reason that I can think of is that "import solids;" is >> calling an external program and there are some settings in your >> texmfcnf file that is restricting that

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Ulrike Fischer
Am Wed, 1 Nov 2017 09:50:47 -0400 (EDT) schrieb Aditya Mahajan: > The only reason that I can think of is that "import solids;" is > calling an external program and there are some settings in your > texmfcnf file that is restricting that program to run. I don't know much about asymptote but as I

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Aditya Mahajan
On Wed, 1 Nov 2017, Fabrice Couvreur wrote: Hi Aditya, I continue to test files, some work (ntg70.tex) and some do not (ntg71.tex). This seems to depend on imported modules but why ? Both files work correctly at my end. I don't understand asymptote well enough to debug why some imported

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Fabrice Couvreur
Hi Aditya, I continue to test files, some work (ntg70.tex) and some do not (ntg71.tex). This seems to depend on imported modules but why ? Thank you. Fabrice 2017-10-28 12:38 GMT+02:00 Fabrice Couvreur : > Hi Aditya, > > What happens when you run >> >> asy -tex

Re: [NTG-context] Asymptote with Context

2017-10-28 Thread Fabrice Couvreur
Hi Aditya, What happens when you run > > asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf > ntg70-temp-ASY-0.tmp fab@debian:~$ asy -tex "context" -outformat pdf -outname > ntg70-temp-ASY-0.pdf ntg70-temp-ASY-0.tmp > warning [version]: using possibly incompatible version 2.41 of

Re: [NTG-context] Asymptote with Context

2017-10-27 Thread Aditya Mahajan
On Fri, 27 Oct 2017, Fabrice Couvreur wrote: I enclose the files you requested 1. What happens when you run asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf ntg70-temp-ASY-0.tmp from the command line (in the same directory as your MWE). Do you get a correct pdf? 2. Does

Re: [NTG-context] Asymptote with Context

2017-10-27 Thread Fabrice Couvreur
Hi Aditya, I enclose the files you requested Thank you Fabrice 2017-10-26 17:09 GMT+02:00 Aditya Mahajan : > On Thu, 26 Oct 2017, Fabrice Couvreur wrote: > > https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html >> >> Hi, >> I tested the file and the figure is not

Re: [NTG-context] Asymptote with Context

2017-10-26 Thread Aditya Mahajan
On Thu, 26 Oct 2017, Fabrice Couvreur wrote: https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html Hi, I tested the file and the figure is not drawn but I get the following message "[[output file missing" That works at my end so you will need to provide additional information.

Re: [NTG-context] Asymptote in Context

2015-01-19 Thread Aditya Mahajan
On Fri, 2 Jan 2015, Context NTG wrote: Here is an Asymptote example unitsize(1cm); draw((-.1,0) -- (2,0), arrow=Arrow(TeXHead)); draw((0,-.1) -- (0,2), arrow = Arrow(TeXHead)); draw((0,0) .. (1,1) .. (2,sqrt(2))); Below is how I have started setting this up in Context. This creates a pdf

Re: [NTG-context] Asymptote in Context

2015-01-02 Thread Context NTG
Here is an Asymptote example unitsize(1cm); draw((-.1,0) -- (2,0), arrow=Arrow(TeXHead)); draw((0,-.1) -- (0,2), arrow = Arrow(TeXHead)); draw((0,0) .. (1,1) .. (2,sqrt(2))); Below is how I have started setting this up in Context. This creates a pdf file with the drawing, but it is not included

Re: [NTG-context] Asymptote in Context

2014-12-28 Thread Mojca Miklavec
Dear Aditya, On Sun, Dec 28, 2014 at 8:21 AM, Aditya Mahajan wrote: On Wed, 24 Dec 2014, Context NTG wrote: Could anybody explain how to use Asymptote in ConTeXt with the filter module. Can you post a minimal asymptote file and how it shoud be processed via the command line? I have no

Re: [NTG-context] Asymptote in Context

2014-12-27 Thread Aditya Mahajan
On Wed, 24 Dec 2014, Context NTG wrote: Could anybody explain how to use Asymptote in ConTeXt with the filter module. Can you post a minimal asymptote file and how it shoud be processed via the command line? Aditya