* metafun paralleled does not give a parallel path
@ 2022-08-25 2:50 fv leung via ntg-context
2022-08-25 12:03 ` Fabrice L via ntg-context
0 siblings, 1 reply; 4+ messages in thread
From: fv leung via ntg-context @ 2022-08-25 2:50 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: fv leung
[-- Attachment #1.1: Type: text/plain, Size: 315 bytes --]
The following used to produce three parallel lines.
Now it produces one straight line and two arcs.
\starttext
\startMPcode
z0 = origin;
z1 = 72dir(45);
dotlabel.bot("z0", z0);
draw z0--z1;
draw (z0--z1) paralleled -15 withcolor red;
draw (z0--z1) paralleled 15 withcolor blue;
\stopMPcode
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 420 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: metafun paralleled does not give a parallel path
2022-08-25 2:50 metafun paralleled does not give a parallel path fv leung via ntg-context
@ 2022-08-25 12:03 ` Fabrice L via ntg-context
2022-08-25 16:05 ` Bruce Horrocks via ntg-context
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice L via ntg-context @ 2022-08-25 12:03 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Fabrice L
[-- Attachment #1.1: Type: text/plain, Size: 1066 bytes --]
Hi,
> Le 24 août 2022 à 22:50, fv leung via ntg-context <ntg-context@ntg.nl> a écrit :
>
> The following used to produce three parallel lines.
> Now it produces one straight line and two arcs.
>
> \starttext
>
> \startMPcode
> z0 = origin;
> z1 = 72dir(45);
> dotlabel.bot("z0", z0);
> draw z0--z1;
> draw (z0--z1) paralleled -15 withcolor red;
> draw (z0--z1) paralleled 15 withcolor blue;
> \stopMPcode
>
> \stoptext
Your code produce three perfect parallels lines here, see attached pdf.
F.
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2.1: Type: text/html, Size: 1243 bytes --]
[-- Attachment #1.2.2: parralel.pdf --]
[-- Type: application/pdf, Size: 5405 bytes --]
[-- Attachment #1.2.3: Type: text/html, Size: 1273 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: metafun paralleled does not give a parallel path
2022-08-25 12:03 ` Fabrice L via ntg-context
@ 2022-08-25 16:05 ` Bruce Horrocks via ntg-context
2022-08-25 17:26 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Horrocks via ntg-context @ 2022-08-25 16:05 UTC (permalink / raw)
To: ntg-context mailing list; +Cc: Bruce Horrocks
I'm seeing the line + arcs behaviour here.
ConTeXt ver: 2022.08.05 11:44 LMTX fmt: 2022.8.5 int: english/english
> On 25 Aug 2022, at 13:03, Fabrice L via ntg-context <ntg-context@ntg.nl> wrote:
>
> Hi,
>
>> Le 24 août 2022 à 22:50, fv leung via ntg-context <ntg-context@ntg.nl> a écrit :
>>
>> The following used to produce three parallel lines.
>> Now it produces one straight line and two arcs.
>>
>> \starttext
>>
>> \startMPcode
>> z0 = origin;
>> z1 = 72dir(45);
>> dotlabel.bot("z0", z0);
>> draw z0--z1;
>> draw (z0--z1) paralleled -15 withcolor red;
>> draw (z0--z1) paralleled 15 withcolor blue;
>> \stopMPcode
>>
>> \stoptext
>
> Your code produce three perfect parallels lines here, see attached pdf.
> F.
>
> <parralel.pdf>
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: metafun paralleled does not give a parallel path
2022-08-25 16:05 ` Bruce Horrocks via ntg-context
@ 2022-08-25 17:26 ` Hans Hagen via ntg-context
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2022-08-25 17:26 UTC (permalink / raw)
To: Bruce Horrocks via ntg-context; +Cc: Hans Hagen
On 8/25/2022 6:05 PM, Bruce Horrocks via ntg-context wrote:
> I'm seeing the line + arcs behaviour here.
fixed in upload (we had a bug in mplib .. direction is now a primitive
so that one was wrong)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-25 17:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 2:50 metafun paralleled does not give a parallel path fv leung via ntg-context
2022-08-25 12:03 ` Fabrice L via ntg-context
2022-08-25 16:05 ` Bruce Horrocks via ntg-context
2022-08-25 17:26 ` Hans Hagen via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).