From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112828 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert via ntg-context Newsgroups: gmane.comp.tex.context Subject: positioning of metapost figure Date: Sun, 12 Sep 2021 18:54:15 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0228692620503698139==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Sylvain Hubert To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 12 18:54:59 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPSkt-00085q-1Y for gctc-ntg-context-518@m.gmane-mx.org; Sun, 12 Sep 2021 18:54:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F28D2802E8; Sun, 12 Sep 2021 18:54:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLEeEawMrcK8; Sun, 12 Sep 2021 18:54:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 01396287437; Sun, 12 Sep 2021 18:54:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4C15C287288 for ; Sun, 12 Sep 2021 18:54:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lRovNRtdW9X5 for ; Sun, 12 Sep 2021 18:54:28 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.52; helo=mail-io1-f52.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 550F82802E8 for ; Sun, 12 Sep 2021 18:54:28 +0200 (CEST) Original-Received: by mail-io1-f52.google.com with SMTP id b10so8991796ioq.9 for ; Sun, 12 Sep 2021 09:54:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=hh7DKm9mnFr/lwgG27tH5RPnq/wDkE7Glg4tVLR9BOQ=; b=aOdA0XyvdMae85krqNT8vNrYfEx9sx2YPUdvWgW/j2ogp+yvGod4fn/jbZrHLO8T18 qVbr5UoT4+3J4hyzgMYugoUB0PVOqKGpmm9oGtmhTaFmT7Sg7ayts0hPQI5xZLFODufc mGUMpE5rxvSuZ+hJ7tWhYBPa5B7HKP0qz9GtBuMxugHT5JPrIOcyIDMH+WubQhMtfmFV DLiBvW9xwNFqBp+YEEGVkmAJx9unDRvPH/bgfiu6M6HXHI0MxIzwAWomiSftVrLojiTl 5LwgNzBeMJz5lCy5o0/Jt+++zKJxzTTBuDDhLCaKCVX5pgS5t6kxeKe98FJl9wwI9aFh glTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hh7DKm9mnFr/lwgG27tH5RPnq/wDkE7Glg4tVLR9BOQ=; b=CYrnQuVNy1ulxHGJAjIa3w3Hqe3ANb1/Z/xaZvjbiuJb5f0f6CfXUAqPJjGk3d2CSm Gpj1qmHQoV/TmjFlNYNvN2ROVXXVF0seSqW+BfcgRNsXYEE4+8/cIzhdNLufnFT7+cWv kRQbtzZbJoKClIo92NKhwWoVT4ZHF43HdegfXukmUGrEioGFpJgKncRGLZvYcVI0+dYy llUKdlRrjEnK/FRdfJ5xwmeR5MGQEQSV689XsTNzNw2zdpjE3lc4uVbT34pGduTL5Xii V/wgQTcmFwAezUB61v7TLtRYArGJebJnAkjdOsJKgULj+8Tw8VHCQdW38VHKWNe2P/aY i3nw== X-Gm-Message-State: AOAM532G5MmyWvftJTZOZrAK5a0gFt2sc7ar0o2DU0mZlD7t/pJ9xJGP WKrVKcSIMGXB2Z9+Ieo3w/KaG+gCL/WmHmL5P+LLooSX38Q= X-Google-Smtp-Source: ABdhPJzsv9CovKg1xWr0p8exgsp6BGbAa4KLD9Lh8mYug44T8DhbRfzr8LC4F0xQIXZw+kW3gO+XSU0EO4ZM1eJoD7o= X-Received: by 2002:a5e:dd42:: with SMTP id u2mr5798907iop.157.1631465666506; Sun, 12 Sep 2021 09:54:26 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112828 Archived-At: --===============0228692620503698139== Content-Type: multipart/alternative; boundary="00000000000083f5c005cbcf3394" --00000000000083f5c005cbcf3394 Content-Type: text/plain; charset="UTF-8" Dear List, The following code draws a circle at the center of the page, ignoring the "shifted" part. \startuniqueMPgraphic{concept} draw fullcircle scaled 1cm shifted (10cm,10cm); \stopuniqueMPgraphic \defineoverlay[concept][\uniqueMPgraphic{concept}] \setupbackgrounds[page][background=concept] \starttext . \stoptext How should the metapost background figure be positioned correctly? Thanks! Best, Sylvain --00000000000083f5c005cbcf3394 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear List,

The following code draws a c= ircle at the center of the page, ignoring the "shifted" part.

\startuniqueMPgraphic{concept}
draw fullcircle sca= led 1cm shifted (10cm,10cm);
\stopuniqueMPgraphic
\defineoverlay[conc= ept][\uniqueMPgraphic{concept}]
\setupbackgrounds[page][background=3Dcon= cept]
\starttext
.
\stoptext

How shou= ld the metapost background figure be positioned correctly?

Thanks!

Best,
Sylvain
--00000000000083f5c005cbcf3394-- --===============0228692620503698139== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0228692620503698139==--