Re: [NTG-context] Use MetaPost to distort images?

2021-09-04 Thread Hans Hagen via ntg-context
On 9/4/2021 2:18 PM, Henning Hraban Ramm via ntg-context wrote: I guess it’s on me to write a wiki page about GM. you can then also add some comparison with im (i.e. what does it offer more than gm) Hans -

Re: [NTG-context] Use MetaPost to distort images?

2021-09-04 Thread Henning Hraban Ramm via ntg-context
> Am 03.09.2021 um 18:24 schrieb Hans Hagen via ntg-context > : > > On 9/3/2021 12:28 PM, Henning Hraban Ramm via ntg-context wrote: >> Hi, is it possible to apply geometric transformations to images using >> MetaPost? >> This is again way over my head, but I’m still trying different methods

Re: [NTG-context] Use MetaPost to distort images?

2021-09-04 Thread Henning Hraban Ramm via ntg-context
> Am 04.09.2021 um 00:16 schrieb Bruce Horrocks via ntg-context > : > > > >> On 3 Sep 2021, at 11:28, Henning Hraban Ramm via ntg-context >> wrote: >> >> Hi, is it possible to apply geometric transformations to images using >> MetaPost? >> >> This is again way over my head, but I’m still

Re: [NTG-context] getting line numbers

2021-09-04 Thread Thierry Horsin via ntg-context
Thank you Hans. For what I had in mind (compiling some c++ inside a tex file) it seems to work. Anyway for this I am currently using the buffer and typebuffer solution you provide. T. Le Saturday 04 Sep 2021 à 10:35:34 (+0200), Hans Hagen a écrit : > there has always been > > \the\inputlineno

Re: [NTG-context] getting line numbers

2021-09-04 Thread Hans Hagen via ntg-context
On 9/4/2021 9:01 AM, thierry horsin via ntg-context wrote: Hi and thank you Aditaya and again Hans. By the way, just for fun , is there a(n easy) way to get the linenumber in the tex file ? there has always been \the\inputlineno but it is not always accurate (because content can come from

Re: [NTG-context] Using \vrule within mathmatrix

2021-09-04 Thread Hans Hagen via ntg-context
On 9/4/2021 4:31 AM, fv leung via ntg-context wrote: \definemathmatrix[pmatrix][matrix:parentheses][simplecommand=pMat] \starttext I used to typeset an augmented matrix this way: \m{\pMat{1,7,-6,\vrule,-4;3,-4,7,\vrule,13;4,3,1,\vrule,9}} \m{\pMat{1,7,-6,¦,-4;3,-4,7,¦,13;4,3,1,¦,9}} , i'll

Re: [NTG-context] getting line numbers

2021-09-04 Thread thierry horsin via ntg-context
Hi and thank you Aditaya and again Hans. By the way, just for fun , is there a(n easy) way to get the linenumber in the tex file ? Thanks On 03/09/2021 18:04, ntg-context-requ...@ntg.nl wrote: -- Message: 4 Date: Fri, 3 Sep 2021 14:16:40 +0200 From: Hans Hagen