From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97057 Path: news.gmane.org!.POSTED!not-for-mail From: Sergey Slyusarev Newsgroups: gmane.comp.tex.context Subject: Bug: \textext inside \*MPinclusions causes error Date: Thu, 12 Jan 2017 01:08:42 +0300 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0903128416173482615==" X-Trace: blaine.gmane.org 1484206522 10963 195.159.176.226 (12 Jan 2017 07:35:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2017 07:35:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 12 08:35:14 2017 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRZuZ-0001Pu-U3 for gctc-ntg-context-518@m.gmane.org; Thu, 12 Jan 2017 08:35:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B38C4124010D; Thu, 12 Jan 2017 08:34:45 +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 zPTWtacUSD-D; Thu, 12 Jan 2017 08:34:44 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 25BDB12400FE; Thu, 12 Jan 2017 08:34:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1582B12401CA for ; Wed, 11 Jan 2017 23:08:56 +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 um025Fw-kELh for ; Wed, 11 Jan 2017 23:08:55 +0100 (CET) Original-Received: from mail-yb0-f171.google.com (mail-yb0-f171.google.com [209.85.213.171]) (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 0FD0412401C9 for ; Wed, 11 Jan 2017 23:08:45 +0100 (CET) Original-Received: by mail-yb0-f171.google.com with SMTP id c125so492995ybf.1 for ; Wed, 11 Jan 2017 14:08:44 -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=0ytaUxqkL9ySuzMh+wdbPYqqOaADEihmmM2EvAqBTvA=; b=aKI8odDh4t3tnz9Gq79Va/mrKQRSqMpEr+bW34p9YJKF4vM3gXiPMjlswuGb17f0gU 4q+tBMGZeNwiQMU1vD428LlLUL8DAilk+5qKNzoSmCF4WIGcTE0FN/883LWORr5NLUc4 2QOC6Zs8LX7wsVBpCmzgyzfxVKxXNZ2LmeFGvRBYfpUTYmp8AgzD8p2eLD0ufp60ef8p 5bMAMNN65J0qtug5tkWztrHzpqMugPoI9wsHvPWZuZXzCs9XWPb4N7B2VKey3DDu9qKo 2h4YYeFSOKAYpHyZ+hE+kOA6OqTF5uFeCxcTQwkTQVK/gWEUTXk718hhd/L3dPPbEMQv tknQ== 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=0ytaUxqkL9ySuzMh+wdbPYqqOaADEihmmM2EvAqBTvA=; b=hyCkZhuLCfc+4KY4tbvg6v3c4MJSb0dvuDdkkdyWPrJ9FXlJv3CRR5HPF1Ms63CTfB mECn0rfw+XxriHxM0qSyuCEdFWxILJwhOvVYUpq2E4i7kJAY8t2jXIJrQi/A5maSgxdF XP2oDv5WkBjHhjG590POyr1sMq2NrZToKlOy5BMFc47ph9EmlBWXpNhAHjSNPzx+uvTV Z6M+yP2cwfIsWEhAGo+ddqsm39/AhpRaS6fBTjtYWSofYURMBqrw3O0y5Fk6HSwbGG0u XzI+kBxr4Lmyp/YDYRxvhJseQiV6cHoGl8FKlJiLqc6UcMl/n1MU0/SUlCaEqSnBTHVA Qe0w== X-Gm-Message-State: AIkVDXKFF5LbBCq7X3/g5c1sCa48URYrjRyKqDUxrlsQkC3TV7l740D2skywzUSjBSaUE6E899kNW65n9ANULg== X-Received: by 10.37.111.214 with SMTP id k205mr5859546ybc.175.1484172523387; Wed, 11 Jan 2017 14:08:43 -0800 (PST) Original-Received: by 10.37.181.137 with HTTP; Wed, 11 Jan 2017 14:08:42 -0800 (PST) X-Mailman-Approved-At: Thu, 12 Jan 2017 08:34:43 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:97057 Archived-At: --===============0903128416173482615== Content-Type: multipart/alternative; boundary=001a1148a5940aca540545d8d84d --001a1148a5940aca540545d8d84d Content-Type: text/plain; charset=UTF-8 Hi, i found the following bug (likely) some time ago: When \textext (or any other text generating thing like btex etex etc.) is present inside \*MPinclusions and \*MPinclusions are followed by \*MPcode ConTeXt returns error: Equation cannot be performed (color=vacuous). Minimal example would be: \startMPinclusions picture p; p := image( draw textext("Foo"); ); \stopMPinclusions \startMPcode \stopMPcode tested on http://live.contextgarden.net/ --001a1148a5940aca540545d8d84d Content-Type: text/html; charset=UTF-8
Hi, i found the following bug (likely) some time ago:

When \textext (or any other text generating thing like btex etex etc.) is present inside \*MPinclusions and \*MPinclusions are followed by \*MPcode ConTeXt returns error:
Equation cannot be performed (color=vacuous).

Minimal example would be:

\startMPinclusions
picture p;
p := image(
draw textext("Foo");
);
\stopMPinclusions
\startMPcode
\stopMPcode

tested on http://live.contextgarden.net/

--001a1148a5940aca540545d8d84d-- --===============0903128416173482615== 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 --===============0903128416173482615==--