From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44714 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: TeX-MP interaction in mkii and mkiv Date: Mon, 13 Oct 2008 09:45:24 -0400 (EDT) Message-ID: References: <48EF8B6A.4010908@wxs.nl> <6faad9f00810130129y5f8b6e4al3d65843ec048abf1@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223913930 19426 80.91.229.12 (13 Oct 2008 16:05:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 16:05:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 13 18:06:29 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KpPus-0001vr-PE for gctc-ntg-context-518@m.gmane.org; Mon, 13 Oct 2008 18:05:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 927AB1FEFD; Mon, 13 Oct 2008 18:04:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24345-02-27; Mon, 13 Oct 2008 18:03:06 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB5BD1FF7B; Mon, 13 Oct 2008 17:17:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1F5E1FF7B for ; Mon, 13 Oct 2008 17:17:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17683-09-8 for ; Mon, 13 Oct 2008 17:17:06 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id B627D1FC57 for ; Mon, 13 Oct 2008 15:45:32 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY hellskitchen.mr.itd.umich.edu ID 48F350FA.BB1F5.5449 ; 13 Oct 2008 09:45:30 -0400 In-Reply-To: <6faad9f00810130129y5f8b6e4al3d65843ec048abf1@mail.gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44714 Archived-At: On Mon, 13 Oct 2008, Mojca Miklavec wrote: > On Fri, Oct 10, 2008 at 7:24 PM, Aditya Mahajan wrote: >> On Fri, 10 Oct 2008, Hans Hagen wrote: >> >>> Aditya Mahajan wrote: >>>> Hi, >>>> >>>> Another difference in mkii and mkiv handling of sometxt. If there is a >>>> line break in \sometxt{ ... } then it fails in mkii, but runs in mkiv. For >>>> example, >>>> >>>> \starttext >>>> >>>> \startMPcode >>>> >>>> draw \sometxt{A very >>>> long string} ; >>>> >>>> \stopMPcode >>>> >>>> \stoptext >>>> >>>> I vaguely understand why this is happening, but I do not know if it can be >>>> corrected. >>> >>> in mkii we obey lines because it gives better tracing etc etc given that >>> we use external files; this will work: >>> >>> >>> draw \sometxt{A very % >>> long string} ; >>> >> >> Ah, thanks. >> >>> indeed mkiv is different but let's consider it an improvement; i don't >>> want to waste time on mkii fixes that are not that important >> >> I understand that. We need to document all these differences between mkii >> and mkiv with regards to mp interaction for those who want to write code >> that works in both. Mojca, any plans to update your MyWay? > > If you want to do changes, just go ahead (you might be more > competitive to describe them). > > Otherwise: I'm not sure what all the differences are. > 1.) withcolor doesn't work > 2.) \startTeXtexsts cannot be used > 3.) the example above fails in mkii In MKIV certain commands inside \sometxt should be unexpandable. I do not really understand which ones, but I occasionally get errors which can be fixed by making the command unexpandable. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________