From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106537 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Can is somehow inspect the intermediate results of an mtxrun? Date: Mon, 16 Mar 2020 10:16:33 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="===============8788835082446603672==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="4795"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 16 10:17:07 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 1jDlrt-00018m-Ns for gctc-ntg-context-518@m.gmane-mx.org; Mon, 16 Mar 2020 10:17:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 98BCD18298A; Mon, 16 Mar 2020 10:16:38 +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 m2sC5a2mhslg; Mon, 16 Mar 2020 10:16:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 42CA718297D; Mon, 16 Mar 2020 10:16:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D1C6418297A for ; Mon, 16 Mar 2020 10:16:34 +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 YhiBVPoyz0_h for ; Mon, 16 Mar 2020 10:16:34 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 41638182979 for ; Mon, 16 Mar 2020 10:16:34 +0100 (CET) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id DB87D35CF3BB for ; Mon, 16 Mar 2020 10:16:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1584350193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=U/Hmtdcvi7xCi254cQB2zOCohz05UO3whZsmGvgyPYk=; b=I1qvSjmsjCFfo04Zb4b4+b/DUxDukLYU4P0eFOkFPgHiryJ9hfAU2MlskkPTni8n52ctxT Bi26dLMt9UAYuEM2e+1/p6V6e2FCegnb6B4qomJ2dR53DjMwnXpJ9K2qYQNrGKq1C4f6FY nIX8WQ36TN/gsLYjn4QYE6qdzAlZYQeRT0YNJOL6Bh8bdXBd3rEIcUsiacJBSGZu9CI/2Z nPLkxFPcqdsZtstED7PICN//RReXgkRgpHf9zo0jcBHvcc5sCvZzgmwaj7/1FIUfac+tId vaGEZuY8ST8PxdXRBJGLoSMl8/4pZYG+f1QnuU/mg1dZSaj5ryXfRf+ldhmVfg== X-Mailer: Apple Mail (2.3445.104.11) 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:106537 Archived-At: --===============8788835082446603672== Content-Type: multipart/alternative; boundary="Apple-Mail=_4562C9CD-BE2A-4267-8C5F-80408521452E" --Apple-Mail=_4562C9CD-BE2A-4267-8C5F-80408521452E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I have an mtxrun on a .tex file that has problems I need to debug. The .tex file handles well, but whenMETAPOST has a go, it crashes. But = after the run, I cannot inspect what source was fed to METAPOST. Can I = inspect that (outside of what the log tells me)? In this case, I know METAPOST is fed: picture pic; x:=3D80.000; y:=3D200.000; w:=3D133.000; h:=3D53.000;pic :=3D= ApplicationComponentLogo( w, h, typeString) shifted (x, -y); draw pic; but the log says this is wrong: metapost log > >> unknown picture pic metapost log > >> ApplicationComponentLogo metapost log > ! Equation cannot be performed (unknown = picture=3Dnumeric). metapost log > =20 metapost log > ( metapost log > <*> ... h:=3D53.000;pic :=3D ApplicationComponentLogo( metapost log > w, = h, typeString) shifted... SoI need to inspect what is fed to METAPOST to see why METAPOST thinks = pic or ApplicationComponentLogo have not been defined. G= --Apple-Mail=_4562C9CD-BE2A-4267-8C5F-80408521452E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii I = have an mtxrun on a .tex file that has problems I need to debug.

The .tex file handles = well, but whenMETAPOST has a go, it crashes. But after the run, I cannot = inspect what source was fed to METAPOST. Can I inspect that (outside of = what the log tells me)?

In this case, I know METAPOST is fed:

picture pic; x:=3D80.000; y:=3D200.000; = w:=3D133.000; h:=3D53.000;pic :=3D ApplicationComponentLogo( w, h, = typeString) shifted (x, -y); draw pic;

but the log says this is = wrong:

metapost = log    > >> unknown picture pic
metapost = log    > >> ApplicationComponentLogo
metapost = log    > ! Equation cannot be performed (unknown = picture=3Dnumeric).
metapost log    > <to be read = again> 
metapost log    >        =             (
metapost = log    > <*> ... h:=3D53.000;pic :=3D = ApplicationComponentLogo(
metapost log    >  =                     =                     =           w, h, typeString) = shifted...

SoI = need to inspect what is fed to METAPOST to see why METAPOST = thinks pic or ApplicationComponentLogo have not been = defined.

G
= --Apple-Mail=_4562C9CD-BE2A-4267-8C5F-80408521452E-- --===============8788835082446603672== 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== --===============8788835082446603672==--