From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109403 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: embed metapost figure into document Date: Mon, 9 Nov 2020 22:57:01 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5171572536363483658==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27621"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 09 22:57:58 2020 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 1kcFAi-00075M-9m for gctc-ntg-context-518@m.gmane-mx.org; Mon, 09 Nov 2020 22:57:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EBCE91A9DA8; Mon, 9 Nov 2020 22:57:18 +0100 (CET) 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 3xvz-unMTjWX; Mon, 9 Nov 2020 22:57:16 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E32201A9D75; Mon, 9 Nov 2020 22:57:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E99B51A9D42 for ; Mon, 9 Nov 2020 22:57:15 +0100 (CET) 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 vP9lGIn8Mz3b for ; Mon, 9 Nov 2020 22:57:14 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.171; helo=mail-il1-f171.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) (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 195CA1A9C09 for ; Mon, 9 Nov 2020 22:57:14 +0100 (CET) Original-Received: by mail-il1-f171.google.com with SMTP id p10so9764105ile.3 for ; Mon, 09 Nov 2020 13:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yYm0n3IqzOAQG63sOBF3O619p3ZYZFm3Fk80ln7Z0og=; b=mQwc7mlPR3Nh9Bn+vTmVrDw+NAuVSr6z7Pj7hWxEeh+IVBogHmYfm/w8JFh+ZMAz8W nySdWVx8lM01GrfgQjhxabi+ofzyqaAl6pRvjJtT6gkYZtl4ahrM3brrdU4A/5iHo/W7 JM3/0r8ctaDHRUrbiIniop66PUhs2k3bZQPz3o0lzWQhYoLGTD7c5820yurHbCw8zRZw FR/fj7mzrIRYxTiQP3MwNngJDkproHUgSsjAcZLXiwE7d3MxplTpJPhELqUAP+K47zjj iztxHUadbv4lEtxRUhfgiSitx2lsl/2zgEFkvJhGaUKPI40bT1HPlDFcbiI2zeisBAch od2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yYm0n3IqzOAQG63sOBF3O619p3ZYZFm3Fk80ln7Z0og=; b=GboZ4DBiY65P/SIm7ENyB7jaltiyAot4CH9eYLj59E3D5DtreWc1kWjms8iJ/04REN OjSlO95E975wBa+jUBVUYjGvPS+f1ILL/PRr+jtsamw97Pimw0aQ9UG+uexsek24KkRX K/P23w9T+/5sMDVln2GtFsEcTdvMz/snGBFQ+omEYM/6QinUTMV0D+AQYqH6NepwumwZ To2EyiW4E8uewAd2KetD8V2fdOKJC9SvW9398nZEeRGGOnWJBTJjCrL4Uoy92bhZOOaM V2rdYP0YcgQ79vUmHyqruM9FzBEe0iofXDv7ZQCaDde0mJRJLD/P+es/jEaLjTZl/w4H 8uSg== X-Gm-Message-State: AOAM530UKQDnRS9ubsKueIAydAstG078LuBC50TfEs42nMkh3seHpBxO qwrnMj2TgOzV0i2tshOEoUqpQxpEfeYmE7okx4HtQUJBhZqb9g== X-Google-Smtp-Source: ABdhPJyZ+jiteikG4YCExZo/xKkL47Q4R+d6HD1LtsHi3FSIwbXEZjLByBMLvwAxCSibd2LCDPKFqp/hUinoQy4t4ps= X-Received: by 2002:a05:6e02:801:: with SMTP id u1mr11819225ilm.199.1604959032600; Mon, 09 Nov 2020 13:57:12 -0800 (PST) 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:109403 Archived-At: --===============5171572536363483658== Content-Type: multipart/alternative; boundary="000000000000046afc05b3b3a53e" --000000000000046afc05b3b3a53e Content-Type: text/plain; charset="UTF-8" Dear List, I'm trying to embed a metapost image into the document. According the MetaFun manual , "embedding such a graphic is done by: \externalfigure[graphic.123][width=4cm]", but the following example produces an empty page: % test.mkxl \starttext \externalfigure[test.123][width=4cm] \stoptext % test.123 draw fullcircle scaled cm withcolor black; Does anyone know how to properly embed a metapost image into a context document? Thanks! Best, Sylvain --000000000000046afc05b3b3a53e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear List,

I'm trying to= embed a metapost image into the document. According the MetaFun manual, "= ;embedding such a graphic is done by: \externalfigure[graphic.123][width=3D= 4cm]", but the following example produces an empty page:
=C2=A0=C2=A0=C2=A0 % test.mkxl
=C2=A0=C2=A0=C2=A0 \st= arttext
=C2=A0 =C2=A0 \externalfigure[test.123][width=3D4cm]
=C2=A0 = =C2=A0 \stoptext

=C2=A0=C2=A0=C2=A0 % test.123
=C2=A0=C2=A0=C2=A0 draw fullcircle scaled cm withcolor black;
<= div>
Does anyone know how to properly embed a metapost image = into a context document?

Thanks!

Best,
Sylvain
--000000000000046afc05b3b3a53e-- --===============5171572536363483658== 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== --===============5171572536363483658==--