From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103080 Path: news.gmane.org!.POSTED!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: textext with plain MetaFun Date: Mon, 21 Jan 2019 11:00:52 +0100 Message-ID: References: <455d0d0a-5a87-d2ce-05b0-ba3174f3f4d2@gmail.com> <4440874a-7c8f-3f02-447f-2cc09562fcf2@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: ciao.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8269793409399997785==" X-Trace: ciao.gmane.org 1548064885 129376 195.159.176.228 (21 Jan 2019 10:01:25 GMT) X-Complaints-To: usenet@ciao.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2019 10:01:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 21 11:01:17 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1glWOE-000XKl-Hk for gctc-ntg-context-518@m.gmane.org; Mon, 21 Jan 2019 11:01:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B0194D2837; Mon, 21 Jan 2019 11:01:11 +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 XfsjVFO97kCv; Mon, 21 Jan 2019 11:01:11 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EEA35D2835; Mon, 21 Jan 2019 11:01:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1EB0D2834 for ; Mon, 21 Jan 2019 11:01:09 +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 3MOWhkyTtw5G for ; Mon, 21 Jan 2019 11:01:04 +0100 (CET) Original-Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 99011D2833 for ; Mon, 21 Jan 2019 11:01:04 +0100 (CET) Original-Received: by mail-lj1-f181.google.com with SMTP id k19-v6so16929070lji.11 for ; Mon, 21 Jan 2019 02:01:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=NDIBqQHe1yMez0WLN+cIA72j8+O3ueiToeTPO7xBggg=; b=Ej6lzYxyMjToAcSrqytXcHU45bigL088HBsbdK6TkHlFD86VsSp9uATC5EqVMJwWy1 TelFN3mbSCCbO45DdHlcE3YjcNPTrYeFGH/KS+Ihxo7yPvdYva3HyckfleYPqVfDC6Gw FAAwDVvDrufPdCVgnijvBFueZZLpEIcDXGoKZW/d+SdlIdHQhRoMpUeK0V51C/E39C9i bocAeLBQJAW1QfohBQdc5H0ijzISik4hdWNAaQ9IVRqyLdzpymHhhFK1vxAPF1o+5VGY g1rqkiGhkvul1ikTLr8xfk+KAh/wazuFGGTAT6WLEq3bNA9uwLnB1+ja2JE+R3hz76qh bOqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=NDIBqQHe1yMez0WLN+cIA72j8+O3ueiToeTPO7xBggg=; b=cH3MA/2U9UjwNbqbunjaNeP8LfwDg3MWa5eKLIFgpTH0vWkpFsQpmXKQCh31e+DfEc GvNfDskCRw8+6kdLZIPdZG2TlAAdziDA+IawKnLlwcg775rkMFu6yKDdhSL3JJXwv0bU xp68IDtqkbYow6TFG3Kal93iPWqeLHv3ywQmhQfsUjpMyO4Rbk6RpKNnjCdfXsseFPBW oAtWFxvcKVwBhbAPIObL9AgnM/N3yEN6QAsqW8s5msmO+/XSPZ7BtXg4+LBgoEaWCZCJ GycXnnDaQ9GSCN4BBwt/kJ2SGYz7KGl9cYxdVsm+x97ZiHRfXJUFFlHF9pwYLgPWcbfI yFGw== X-Gm-Message-State: AJcUukfFtE+JTu9d2geYAx3Pfw49EgKN2ogD72M5mzbMff2rnlZU4411 NZ+lMXKXqgEUjhg8z5Zp+HbkJ9WBlHnTVT5opqL+Uk2w X-Google-Smtp-Source: ALg8bN6GihH55m7OXbcRNsXZhtSYebQfv6H/QFlFY67OU7LTg2B7/RjytwlaFmhO03iIOmfo/edRhvivUJfnDcHSj0U= X-Received: by 2002:a2e:5dd9:: with SMTP id v86-v6mr18502191lje.86.1548064863607; Mon, 21 Jan 2019 02:01:03 -0800 (PST) In-Reply-To: <4440874a-7c8f-3f02-447f-2cc09562fcf2@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.20 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.org gmane.comp.tex.context:103080 Archived-At: --===============8269793409399997785== Content-Type: multipart/alternative; boundary="00000000000048e9bd057ff4f0b8" --00000000000048e9bd057ff4f0b8 Content-Type: text/plain; charset="UTF-8" On Mon, Jan 21, 2019 at 10:47 AM Henri Menke wrote: > On 1/21/19 10:40 PM, luigi scarso wrote: > > On Mon, Jan 21, 2019 at 8:57 AM Henri Menke > wrote: > > > >> Dear list, > >> > >> When I process the short MetaFun example > >> > >> beginfig(1) > >> draw textext("MetaFun") ; > >> endfig; > >> end > >> > >> with plain MetaFun, i.e. > >> > >> mpost '&metafun' test.mp > >> > >> > > what does > > $> mpost -mem=metafun '\relax; tracingall; input test.mp;' > > say ? > > Log is attached. > hm. # cat test.mp hobbiestextext := true; beginfig(1) draw textext("MetaFun") ; endfig; end # mpost -interaction=batchmode -mem=metafun '\relax; input test.mp;' # gs test.1 You should see the text at the bottom left. It seems that there is a string _s_ not initialized. -- luigi --00000000000048e9bd057ff4f0b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On = Mon, Jan 21, 2019 at 10:47 AM Henri Menke <henrimenke@gmail.com> wrote:
On 1/21/19 10:40 PM, luigi scarso wrote: > On Mon, Jan 21, 2019 at 8:57 AM Henri Menke <henrimenke@gmail.com> wrote:
>
>> Dear list,
>>
>> When I process the short MetaFun example
>>
>>=C2=A0 =C2=A0 =C2=A0beginfig(1)
>>=C2=A0 =C2=A0 =C2=A0draw textext("MetaFun") ;
>>=C2=A0 =C2=A0 =C2=A0endfig;
>>=C2=A0 =C2=A0 =C2=A0end
>>
>> with plain MetaFun, i.e.
>>
>>=C2=A0 =C2=A0 =C2=A0mpost '&metafun' test.mp
>>
>>
>=C2=A0 what does
> $> mpost -mem=3Dmetafun '\relax; tracingall; input test.mp;'
> say ?

Log is attached.

hm.
# cat test.mp=C2=A0
<= div>hobbiestextext :=3D true;
beginfig(1)
=C2=A0 =C2=A0= draw textext("MetaFun") ;
=C2=A0 =C2=A0 endfig;
<= div>end

# mpost -interaction=3Dbatchmode -me= m=3Dmetafun '\relax;=C2=A0 =C2=A0input test.= mp;'

# gs test.1

<= div>You should see the text at the bottom left.=C2=A0 It seems that there i= s a string _s_=C2=A0 not initialized.

--
luigi
--00000000000048e9bd057ff4f0b8-- --===============8269793409399997785== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8269793409399997785==--