Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-23 Thread Aditya Mahajan
On Sat, 24 Dec 2016, Jaroslav Hajtmar wrote: It seems now, that everything at this time works as intended. Many thanks for your support. Below is a minimal example. Attached is a PDF sample result. Nice to know that it works. I tried also to experiment with the choice "object = no", as

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-23 Thread Jaroslav Hajtmar
Hello Adytia. It seems now, that everything at this time works as intended. Many thanks for your support. Below is a minimal example. Attached is a PDF sample result. I tried also to experiment with the choice "object = no", as suggested by Hans, but without success. I would asking if you make

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-23 Thread Hans Hagen
On 12/23/2016 8:22 PM, Aditya Mahajan wrote: On Fri, 23 Dec 2016, Jaroslav Hajtmar wrote: Thanks for sending Your code. It seems that it works with Asymptote. Unfortunately, when I am trying to multiple call a macro then I get fatal error, and then compile collapse. I do not know what it could

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-23 Thread Aditya Mahajan
On Fri, 23 Dec 2016, Jaroslav Hajtmar wrote: Thanks for sending Your code. It seems that it works with Asymptote. Unfortunately, when I am trying to multiple call a macro then I get fatal error, and then compile collapse. I do not know what it could be. When called for the first time, the

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-23 Thread Jaroslav Hajtmar
Hello Adytia. Thanks for sending Your code. It seems that it works with Asymptote. Unfortunately, when I am trying to multiple call a macro then I get fatal error, and then compile collapse. I do not know what it could be. Is it possible that my code is wrong. But it is possible that there is a

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-21 Thread Aditya Mahajan
On Tue, 20 Dec 2016, Jaroslav Hajtmar wrote: very much for your Metapost example. This I certainly sufficient for the production of simple images for my ideas. \define[1]\mycircle{ \startASY import graph; draw(Circle((0,0),#1)); \stopASY } \starttext

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-20 Thread Aditya Mahajan
On Tue, 20 Dec 2016, Alan Braslau wrote: On Mon, 19 Dec 2016 08:19:25 -0800 Aditya Mahajan wrote: The ability to pass parameters to metapost has been around since the beginning. See the metafun manual for details (search for MPvar). Hans has developed tools making it

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-20 Thread Alan Braslau
On Mon, 19 Dec 2016 08:19:25 -0800 Aditya Mahajan wrote: > The ability to pass parameters to metapost has been around since the > beginning. See the metafun manual for details (search for MPvar). Hans has developed tools making it quite easy to pass data back and forth

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-20 Thread Jaroslav Hajtmar
Thanx Aditya very much for your Metapost example. This I certainly sufficient for the production of simple images for my ideas. I attach source code, which outlines how I imagined inserting Asymptote images into Context. In the lower part of commented code is fully functional, compiled ConTEXt

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-19 Thread Aditya Mahajan
On Mon, 19 Dec 2016, Jaroslav Hajtmar wrote: There is a similar possibility, at least in Metapost? For simpler pictures it would probably suffice The ability to pass parameters to metapost has been around since the beginning. See the metafun manual for details (search for MPvar). For

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-19 Thread Hans Hagen
On 12/19/2016 10:10 AM, Fabrice Couvreur wrote: Hello, I do not answer the question, but I'm interested because I also use Asymptote. The following code works with context in texlive 2016 but does not work with standalone context. thank you, it probably depends on what you want to pass as info

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-19 Thread Fabrice Couvreur
Hello, I do not answer the question, but I'm interested because I also use Asymptote. The following code works with context in texlive 2016 but does not work with standalone context. thank you, Fabrice % macros=mkvi \usemodule[filter] \defineexternalfilter [ASY] [ filter={asy -tex

[NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-18 Thread Jaroslav Hajtmar
Hello ConTeXtist, I saw the opportunity to insert an Asymptote picture into Context source code (due filter). For example here: https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html Is there a way to pass the ConTeXt parameter which influenced the creation of the Asymptote image? My