From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97061 Path: news.gmane.org!.POSTED!not-for-mail From: Sergey Slyusarev Newsgroups: gmane.comp.tex.context Subject: Re: Bug: \textext inside \*MPinclusions causes error Date: Thu, 12 Jan 2017 14:23:25 +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="===============5134685294422437260==" X-Trace: blaine.gmane.org 1484293003 7562 195.159.176.226 (13 Jan 2017 07:36:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2017 07:36:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 13 08:36:38 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 1cRwPJ-0007ws-EB for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jan 2017 08:36:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 32364100C58; Fri, 13 Jan 2017 08:35: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 6cNbiwuGoJaq; Fri, 13 Jan 2017 08:35:55 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 65A02100C5C; Fri, 13 Jan 2017 08:35:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3C0F0100DA3 for ; Thu, 12 Jan 2017 12:23:39 +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 67mtTtdv6qsY for ; Thu, 12 Jan 2017 12:23:38 +0100 (CET) Original-Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.161.175]) (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 0343E100D91 for ; Thu, 12 Jan 2017 12:23:27 +0100 (CET) Original-Received: by mail-yw0-f175.google.com with SMTP id l19so9950700ywc.2 for ; Thu, 12 Jan 2017 03:23:27 -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=SFzVEDAip/xrl6Hi+7GGf2hY8Fy3XSNUB4egdWoROTw=; b=FmcaRzUNTJpCDY6tOOeoLD8umyhPw1//EOxanTVRVB+UDGPSDo0Ou6jKsouPMjic1s SsHTD+mXYOSLl2pOCS4i/7HJFG+4OKc5IsoyPuDtYSRVSMiTdE8vs5k6rIds8dmCQMA4 ZFW/nKw35lq72/x/WXuI2ObTJn5171bFbO+lBAYEeXMMM5BbA6l8MNZhVal1Sd6C9x6B 2jcfW7Wn4pplRe6whAbtt9CzWEQFmjY8FetYsO6y/l+6rom8FkoJNKuJ039TuIzdoyuk Tk7j1b3irmvee/lhlZaz9OWEpkFpi2w4++/XQipf5e1ZuYW616sMcOgOJl9UxefyYqOx R8Mw== 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=SFzVEDAip/xrl6Hi+7GGf2hY8Fy3XSNUB4egdWoROTw=; b=h0QV625QUwi1U/B3zREVrOIvH56yNSRcGpotgY8PIhKB/SH6+c2VOrNSumzLxTzjBj AkHkVwot7ViIkezTyFD2iYNBRtq97Ccwn/umpjuX3Kx+hppDs7OtOAr0v1pNK8wb2r4g /2wVLE9MQWI1Kl8DSutt+dhojhMjgY9IHCjCQmn41QiIy5YoM2+8tWKnwxhiFUQL4l8P P2s76atBSTdiIEodpAutR7yNLGpt/wUWfuUs1sxSHeNkUSFkWQsSbbI1gvyQLLu+1lOW EmhsARrYGxhZjwkSmOXlKdTGOgJ1QOEC2DBKi8uCOmDd7vVVwZPVzRKANZ+B2oa6H0TZ 7Pkg== X-Gm-Message-State: AIkVDXIDcyN5P4U50ZopH9MTwk/sxPE1iXhPAGle8kLipR2sEVv1LExoE4m33YxGk3hp1hE7Ip2pOWqkWllXKA== X-Received: by 10.13.219.213 with SMTP id d204mr9124426ywe.155.1484220205916; Thu, 12 Jan 2017 03:23:25 -0800 (PST) Original-Received: by 10.37.181.137 with HTTP; Thu, 12 Jan 2017 03:23:25 -0800 (PST) X-Mailman-Approved-At: Fri, 13 Jan 2017 08:35:54 +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:97061 Archived-At: --===============5134685294422437260== Content-Type: multipart/alternative; boundary=001a114fad38246c670545e3f200 --001a114fad38246c670545e3f200 Content-Type: text/plain; charset=UTF-8 > you can use > \startMPinitializations > \stopMPinitializations > as these are expanded each graphic run Thank you! This works fine with minimal example (in which the behaviour in question appears). But in specific context in which this problem affects me, this solution breaks many things: There are many *MPinclusions with as many MPinstances (so variables from one instance don't contaminate another). (here's that place: https://github.com/jemmybutton/byrne-euclid/blob/master/preamble.tex#L30) If this is indeed a bug and it's going to be fixed one day, I'll go with some less invasive hack to overcome it, but if this behaviour is correct, I'll try to rewrite everything accordingly. Or I got it wrong and *MPinitializations can substitute for *MPinclusions in this case? Sergey --001a114fad38246c670545e3f200 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> you can use
> \startMPinitializations
> \stopMPinitializations
> as these are expanded each graphic run


Thank you=
! This works fine with minimal example (in which the behaviour in question =
appears). 
But in specific context in which this problem affects me, thi= s solution breaks many things:
There are many *MPinclusions w=
ith as many MPinstances (so variables from one instance don't contamina=
te another).
(here's that place: https://github.com/jemmyb= utton/byrne-euclid/blob/master/preamble.tex#L30)
If this =
is indeed a bug and it's going to be fixed one day, I'll go with so=
me less invasive hack to overcome it, 
but if this behaviour is correct,= I'll try to rewrite everything accordingly.

Or I got it wrong a= nd *MPinitializations can substitute for *MPinclusions in this case?
Sergey
--001a114fad38246c670545e3f200-- --===============5134685294422437260== 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 --===============5134685294422437260==--