[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Hans Hagen via ntg-context
On 8/28/2024 5:06 PM, Henning Hraban Ramm wrote: Also, Hans announced to include some "2.5D" functions (perspective projections) into MetaFun soon. That might obsolete some uses of Asymptote. But a proper 3D model for MetaPost seems to be missing (not my expertise). Indeed, Mikael and I have

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Hans Hagen via ntg-context
On 8/28/2024 12:01 PM, Shiv Shankar Dayal wrote: You have been following this mailing list for a very very long time already, so you should be to some extent familiar with ConTeXt and what you would like to achieve. Be more specific. Mojca I have two specific interests. I want to make asymptot

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Henning Hraban Ramm
Am 28.08.24 um 16:47 schrieb Mojca Miklavec: On Wed, 28 Aug 2024 at 12:03, Shiv Shankar Dayal wrote: I have two specific interests. I want to make asymptote work with ConTeXt but I can live with including generated images and use PDFs. There’s the built-in asymptote module: https://source.co

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Mojca Miklavec
On Wed, 28 Aug 2024 at 12:03, Shiv Shankar Dayal wrote: > > I have two specific interests. I want to make asymptote work with ConTeXt > but I can live with including generated images and use PDFs. This is a much better specified question. It would ideally require some work both on the Asymptote s

[NTG-context] Re: Help with Metapopst code

2024-08-28 Thread Mikael Sundqvist
It is rotated with respect to the origin (that is (0,0)). If you want to rotate around another point you have rotatedaround. /Mikael On Wed, Aug 28, 2024 at 12:27 PM Shiv Shankar Dayal wrote: > > > I don't know where you found the code, but the answer to "What is (0, > > r) rotated (a *i) doin

[NTG-context] Re: Help with Metapopst code

2024-08-28 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 28.08.2024 um 12:23: I don't know where you found the code, but the answer to "What is (0, r) rotated (a *i) doing?" is that it takes the point (0,r) and rotates it a*i degrees. I do not understand the concept of rotating a point. It is rotated with respect to what

[NTG-context] Re: Help with Metapopst code

2024-08-28 Thread Shiv Shankar Dayal
> I don't know where you found the code, but the answer to "What is (0, > r) rotated (a *i) doing?" is that it takes the point (0,r) and rotates > it a*i degrees. I do not understand the concept of rotating a point. It is rotated with respect to what reference? > > For your labeling problem, see

[NTG-context] Re: Help with Metapopst code

2024-08-28 Thread Mikael Sundqvist
Hi, I don't know where you found the code, but the answer to "What is (0, r) rotated (a *i) doing?" is that it takes the point (0,r) and rotates it a*i degrees. For your labeling problem, see the last example of section 2.9 of https://www.pragma-ade.com/general/manuals/metafun-p.pdf /Mikael PS

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Shiv Shankar Dayal
> You have been following this mailing list for a very very long time > already, so you should be to some extent familiar with ConTeXt and > what you would like to achieve. Be more specific. > > Mojca I have two specific interests. I want to make asymptote work with ConTeXt but I can live with inc

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Mojca Miklavec
Dear Shiv, On Wed, 28 Aug 2024 at 03:17, Shiv Shankar Dayal wrote: > > Suppose a C programmer wants to become a core ConTeXt developer then > what steps one should follow. Assume that the programmer knows only > the basics of LaTeX and never wrote macros etc using TeX or ConTeXt. I'm really sorr

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Shiv Shankar Dayal
> Development of LuaMetaTeX (the engine) is mostly finished. We now > entered the stage where we conduct experiment with the more difficult > aspects (often unsolvable due to constraints). For that one needs to be > quite a bit experienced in tex and the way context approaches things. > > As an exa

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Hans Hagen via ntg-context
On 8/28/2024 10:57 AM, Shiv Shankar Dayal wrote: On Wed, Aug 28, 2024 at 8:17 AM Jethro Djan wrote: Hi, Not sure what you mean by a core ConTeXt developer. I think, as with anything, you get better at it by using it extensively. I would focus on a use case of interest and take advantage of

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Henning Hraban Ramm
Am 28.08.24 um 10:57 schrieb Shiv Shankar Dayal: On Wed, Aug 28, 2024 at 8:17 AM Jethro Djan wrote: Hi, Not sure what you mean by a core ConTeXt developer. I think, as with anything, you get better at it by using it extensively. I would focus on a use case of interest and take advantage of

[NTG-context] Re: Help with Metapopst code

2024-08-28 Thread Shiv Shankar Dayal
I think it works like (0, r) rotated (a) -- (0, r) rotated (a * 2) -- ... (0, r) rotated (a*20) -- cycle Is my understanding correct? Also, how can I label these vertices in a for loop? On Wed, Aug 28, 2024 at 2:25 PM Shiv Shankar Dayal wrote: > > Hi, > > Consider following code: > > vardef poly

[NTG-context] Re: Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].

2024-08-28 Thread Hans Hagen via ntg-context
On 8/28/2024 10:05 AM, ai2472206...@yeah.net wrote: hi , Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. what I envisaged: https://imgse.com/i/pAAkfjf I've found someone who has asked a similar question, just a combination of the two functions : lmt_outline[] and

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Shiv Shankar Dayal
On Wed, Aug 28, 2024 at 8:17 AM Jethro Djan wrote: > > Hi, > > Not sure what you mean by a core ConTeXt developer. I think, as with > anything, you get better at it by using it extensively. I would focus on a > use case of interest and take advantage of ConTeXt’s unmatched extensibility > to au

[NTG-context] Help with Metapopst code

2024-08-28 Thread Shiv Shankar Dayal
Hi, Consider following code: vardef polygon_with_side(expr n, s) = save a, b, r; numeric a, b, r; a * n = 360; a + 2b = 180; r = s * sind(b) / sind(a); for i = 0 upto n-1: (0, r) rotated (a * i) -- endfor cycle enddef; beginfig(1); path p; p = polygon_with_side(21, 20); draw p; endfig; bye; It

[NTG-context] Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].

2024-08-28 Thread ai2472206007
hi , Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. what I envisaged: https://imgse.com/i/pAAkfjf I've found someone who has asked a similar question, just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question. question from https