Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Pablo Rodriguez
On 05/24/2018 06:30 PM, Alan Braslau wrote: > On Thu, 24 May 2018 18:11:05 +0200 Pablo Rodriguez wrote: > >> paging through the manuals, Metafun seems easier than MetaPost. >> >> I think it will take me a while to understand the basics of it. > > Metafun is an extension to MetaPost, providing

Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Alan Braslau
On Thu, 24 May 2018 18:11:05 +0200 Pablo Rodriguez wrote: > paging through the manuals, Metafun seems easier than MetaPost. > > I think it will take me a while to understand the basics of it. Metafun is an extension to MetaPost, providing some useful tools and improving on some

Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Pablo Rodriguez
On 05/23/2018 11:24 PM, Alan Braslau wrote: > On Wed, 23 May 2018 21:06:42 +0200 > [...] > If you are going to use MP, why not read the manual (mpman.pdf) or > better yet, refer to the MetaFun manual that is even available in > printed form at http://www.h2o-books.com/catalog/context/metafun?

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 21:06:42 +0200 Pablo Rodriguez wrote: > On 05/23/2018 07:19 PM, Alan Braslau wrote: > > On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote: > >> > >> I have tried to add the shifted option to the path definition and > >> drawing and there was no shift in

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
On 05/23/2018 07:19 PM, Alan Braslau wrote: > On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote: >> >> I have tried to add the shifted option to the path definition and >> drawing and there was no shift in the MP page. > > (If you only have one MPpage, then there is no need for

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote: > I have the following sample: > > \starttext > \edef\TextInside{Just follow the tokens} > \startMPpage > path p ; p := reverse halfcircle scaled .6TextWidth; > path q ; q := halfcircle rotatedaround (origin,

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
On 05/23/2018 06:05 PM, Hans Hagen wrote: > On 5/23/2018 5:50 PM, Pablo Rodriguez wrote: >> >> Many thanks for your reply, Hans. >> >> Is there any way to set origin to another value than (0, 0) in MP? >> >> I realize it might sound weird, but it would make things easier in an >> example that I’m

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 18:05:07 +0200 Hans Hagen wrote: > > Is there any way to set origin to another value than (0, 0) in MP? > > > > I realize it might sound weird, but it would make things easier in > > an example that I’m working on. > redefining origin is a bad idea

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 17:50:27 +0200 Pablo Rodriguez wrote: > Is there any way to set origin to another value than (0, 0) in MP? What does this mean, mathematically that is? Of course, you can always shift an image anywhere (or in general apply any transformation), thus effectively

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Hans Hagen
On 5/23/2018 5:50 PM, Pablo Rodriguez wrote: On 05/22/2018 10:22 PM, Hans Hagen wrote: On 5/22/2018 9:05 PM, Pablo Rodriguez wrote: Dear list, [...] Is there any way to followtext in q without changing text direction? I need to write the text counter-clockwise, but on outside of the path.

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
On 05/22/2018 10:22 PM, Hans Hagen wrote: > On 5/22/2018 9:05 PM, Pablo Rodriguez wrote: >> Dear list, >> [...] >> Is there any way to followtext in q without changing text direction? >> >> I need to write the text counter-clockwise, but on outside of the path. >> >> Reverse changes both text

Re: [NTG-context] question about followtext in MP

2018-05-22 Thread Hans Hagen
On 5/22/2018 9:05 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startMPcode path p ; p := reverse halfcircle scaled 5cm; path q ; q := reverse halfcircle rotatedaround (origin, 180) scaled 5cm ; draw p; draw

[NTG-context] question about followtext in MP

2018-05-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startMPcode path p ; p := reverse halfcircle scaled 5cm; path q ; q := reverse halfcircle rotatedaround (origin, 180) scaled 5cm ; draw p; draw q; draw followtext(p, "·Just follow the