From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115238 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Nedeljkovic via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Importing pdf into MPpage Date: Sat, 11 Jun 2022 17:30:49 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8328975654917232078==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2188"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Nedeljkovic , mailing list for ConTeXt users To: Fabrice L Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 11 17:31:55 2022 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 1o035e-0000LJ-Gz for gctc-ntg-context-518@m.gmane-mx.org; Sat, 11 Jun 2022 17:31:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BA6EF28A3B3; Sat, 11 Jun 2022 17:31:06 +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 GgdQIqgMFHZt; Sat, 11 Jun 2022 17:31:04 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5BFE128A3B4; Sat, 11 Jun 2022 17:31:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 22BDE28A3A9 for ; Sat, 11 Jun 2022 17:31:03 +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 61Dh_elahc1w for ; Sat, 11 Jun 2022 17:31:01 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.173; helo=mail-qt1-f173.google.com; envelope-from=tsar.srb@gmail.com; receiver= Original-Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 8447228A398 for ; Sat, 11 Jun 2022 17:31:01 +0200 (CEST) Original-Received: by mail-qt1-f173.google.com with SMTP id y15so1295513qtx.4 for ; Sat, 11 Jun 2022 08:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5c6mBWP9OyU4+BGezxia0+f8fss34W8BB5b96E7Pg70=; b=o9lyujejeRxq71umyxj6Z97Z5TysYvTZc7c9Y7PqxtIL4S0zfiWG08exKNTdqj/LBw LmgWxbW0+I87YJ1vejyGFm0EWuq9zaKzC8ZbFN//iF0iDkBId4RrclrEetSTHx3nfXxE vI2W8qp/7kEX+km9mvH+4R9baeydKQLfMWzndzcEpgVeRdT9zy7nRNa1nEcIVW9FV+Py xnm8R98DAq+UyEBckJKGMUECI9SM9TKuG9CxUf4m/DlV5T6zcQxySrq9/Gx9lgsAE9WA l2vL1lX0e/1VfU+XU0uKQaNWYD3wEDrdxKXE6nSf8JINNs2AhSRHYcZ2d2r1hrS04ol4 I9Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5c6mBWP9OyU4+BGezxia0+f8fss34W8BB5b96E7Pg70=; b=apHbO5U6eI349P89qzI9kvpt0ufOwAg3KvoqF6xs0aHjXP1hgF22pkLNqhrgz1Ma0q 5Kwnq9OvynqmNXaPDM3zqHMemttfNfAKIy7VpBsUG+cnJg6nVSJlRksoDz9TGAvBNY/0 7a97Jg8p6h5bNmdDEvZy6nqh55nEwmq1mX6k2R8BvL6ynicq+iy139j3x3nVOJT0g6Ke OPyElbAM/MUWZx/OzYulkvWSUgfsF/dORp69VHb9BmNB17YiPlTW44YBLePa90OLADU3 LiRThrFAPeyZONKXcRpyjj6kSrkf41Op3PY6rcnnphJn13ONpg7RGWa9d4e4yTcbPWeH yDdw== X-Gm-Message-State: AOAM533j0Zx41nAZHDe8p7NKvVR4Gmm4AY2ir0/JU42ML5ivd68/KWUj P0BDCIHc9mi0jkTPUhih2QkUhOYZ2wYzuQMjeaLinQvb X-Google-Smtp-Source: ABdhPJyBPn6WawfH/9HVDHohh7E7s15iGghXa7OxA1ZR9vcO0U4jGFlr2Cjvg+qzQcNUiGT3ilQt8VTZOB1x90bDMgI= X-Received: by 2002:ac8:5f8f:0:b0:304:e15b:8dcc with SMTP id j15-20020ac85f8f000000b00304e15b8dccmr34764735qta.38.1654961460050; Sat, 11 Jun 2022 08:31:00 -0700 (PDT) In-Reply-To: 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:115238 Archived-At: --===============8328975654917232078== Content-Type: multipart/alternative; boundary="000000000000f17ef105e12dbd70" --000000000000f17ef105e12dbd70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That's it, but how do I center it on (0, 0)? On Sat, Jun 11, 2022 at 4:46 PM Fabrice L wrote: > Dear Stephan, > > Le 11 juin 2022 =C3=A0 08:57, Stefan Nedeljkovic via ntg-context < > ntg-context@ntg.nl> a =C3=A9crit : > > Dear list, > > I would like to place a pdf file at (0, 0), centered at original size on = a > MPpage, and draw over it. But using the input command doesn't work. How > should I approach this? > > > Like this ? > > \startMPpage > draw externalfigure "thefile.pdf"; > (=E2=80=A6 other commands=E2=80=A6) > \stopMPpage > > > > Sincerely, > Stefan > > > Fabrice. > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > > > --000000000000f17ef105e12dbd70 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's it, but how do I center it on (0, 0)?

=
On Sat, Ju= n 11, 2022 at 4:46 PM Fabrice L <fabrice.alpha@gmail.com> wrote:
Dear S= tephan,

Le 11 juin 2= 022 =C3=A0 08:57, Stefan Nedeljkovic via ntg-context <ntg-context@ntg.nl> a =C3=A9cr= it :

Dear list,

I would l= ike to place a pdf file at (0, 0), centered at original size on=C2=A0a MPpa= ge, and draw over it. But using the input command doesn't work. How sho= uld I approach=C2=A0this?

Like= this ?

= \startMPpage
=C2=A0=C2=A0 = =C2=A0 =C2=A0=C2=A0draw externalfigure "thefile.pdf";
=C2=A0 =C2=A0 =C2=A0 =C2=A0(=E2=80=A6= other commands=E2=80=A6)=C2=A0
\stopMPpage



Sincerely,
St= efan

Fabrice.

___________________________________________________________________________= ________
If your question is of interest to others as well, please add a= n entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/li= stinfo/ntg-context
webpage =C2=A0: http://www.pragma-ade.nl / http://context.aanhet.net
archive = =C2=A0: https://bitbucket.org/phg/context-mirror/commits/
wiki = =C2=A0=C2=A0=C2=A0=C2=A0: http://contextgarden.net
_____________________________________= ______________________________________________
=
--000000000000f17ef105e12dbd70-- --===============8328975654917232078== 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== --===============8328975654917232078==--