From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44710 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: TeX-MP interaction in mkii and mkiv Date: Mon, 13 Oct 2008 10:29:29 +0200 Message-ID: <6faad9f00810130129y5f8b6e4al3d65843ec048abf1@mail.gmail.com> References: <48EF8B6A.4010908@wxs.nl> 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 1223904842 17612 80.91.229.12 (13 Oct 2008 13:34:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 13:34:02 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 13 15:35:00 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 1KpNZF-0002bP-Cb for gctc-ntg-context-518@m.gmane.org; Mon, 13 Oct 2008 15:34:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2BF341FEFF; Mon, 13 Oct 2008 15:33:31 +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 24201-10-25; Mon, 13 Oct 2008 15:32:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E83E920193; Mon, 13 Oct 2008 13:17:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 95E4520187 for ; Mon, 13 Oct 2008 13:17:21 +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 30727-05-15 for ; Mon, 13 Oct 2008 13:16:29 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by ronja.ntg.nl (Postfix) with ESMTP id CAC1E2046B for ; Mon, 13 Oct 2008 10:29:30 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so370588ywm.74 for ; Mon, 13 Oct 2008 01:29:30 -0700 (PDT) Original-Received: by 10.151.156.7 with SMTP id i7mr7681990ybo.127.1223886570019; Mon, 13 Oct 2008 01:29:30 -0700 (PDT) Original-Received: by 10.151.83.13 with HTTP; Mon, 13 Oct 2008 01:29:29 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:44710 Archived-At: 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 What else? Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________