ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen <vm@klankschap.nl>
To: ntg-context@ntg.nl
Subject: Re: weekend upload
Date: Mon, 12 Jul 2021 12:12:21 +0200	[thread overview]
Message-ID: <9af1de44-4761-467d-1f2e-2b44cdd3f79a@klankschap.nl> (raw)
In-Reply-To: <3e08fcee-8b7c-383a-a913-1b9415108714@xs4all.nl>

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

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

[-- Attachment #2: Screenshot_20210712_120841.png --]
[-- Type: image/png, Size: 6251 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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 10:12 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 [this message]
2021-07-12 16:47         ` Hans Hagen
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=9af1de44-4761-467d-1f2e-2b44cdd3f79a@klankschap.nl \
    --to=vm@klankschap.nl \
    --cc=ntg-context@ntg.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).