ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Floris van Manen <vm@klankschap.nl>
Subject: Re: weekend upload
Date: Mon, 12 Jul 2021 18:47:31 +0200	[thread overview]
Message-ID: <106a778b-47d5-4e0f-d570-97557d41247e@xs4all.nl> (raw)
In-Reply-To: <9af1de44-4761-467d-1f2e-2b44cdd3f79a@klankschap.nl>

On 7/12/2021 12:12 PM, Floris van Manen wrote:
> with the latest version not everything gets drawn as intended.
> 
> 
> $ context --version
> mtx-context     | ConTeXt Process Management 1.04
> mtx-context     | current version: 2021.07.10 21:51
> 
> 
> 
> 
> On 12/07/2021 10:07, Hans Hagen wrote:
>> I need to ckeck if the range checked does negative numbers ... anyway, 
>> you can do this
>>
>> \startMPpage[offset=2mm, stacking={1,2,3,4}]
>>
>>    boxit.A("\boxframed{Box A}");
>>    boxit.B("\boxframed{Box B}");
>>    boxit.C("\boxframed{Box C}");
>>
>>    defaultdx := 0pt;
>>    defaultdy := 0pt;
>>
>>    A.c = origin;
>>
>>    B.w - A.e = (1cm, 0);
>>
>>    0.5[ A.s, B.s ] - C.n = (0, 1cm);
>>
>>    draw image (drawunboxed(A,B,C)) withstacking 2;
>>
>>    drawarrow A.s +- C.w withstacking 3 ;
>>    drawarrow B.s +- C.e withstacking 4 ;
>>
>>    newpath highlight;
>>
>>    highlight := (A.sw -- B.se -- B.ne -- A.nw) enlarged EmWidth;
>>    fill highlight withcolor "darkgray" withstacking 1;
>>
>> \stopMPpage
indeed, that why i mentioned that the next version will do (but no 
upload today)

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-07-12 16:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09 16:29 Hans Hagen
2021-07-09 17:19 ` Hans Hagen
2021-07-09 21:33 ` Aditya Mahajan
2021-07-09 22:24   ` Hans Hagen
2021-07-10 20:44   ` Hans Hagen
2021-07-11 13:04 ` Bruce Horrocks
2021-07-11 15:00   ` Hans Hagen
2021-07-12  3:31   ` Aditya Mahajan
2021-07-12  8:07     ` Hans Hagen
2021-07-12 10:12       ` Floris van Manen
2021-07-12 16:47         ` Hans Hagen [this message]
2021-07-12  9:07     ` Hans Hagen
     [not found] <mailman.580.1626060721.1143.ntg-context@ntg.nl>
2021-07-12 19:29 ` Jeong Dal
2021-07-12 20:00   ` Aditya Mahajan
     [not found] <mailman.1.1626170401.2795.ntg-context@ntg.nl>
2021-07-13 10:29 ` Jeong Dal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=106a778b-47d5-4e0f-d570-97557d41247e@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=vm@klankschap.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).