From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73977 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: \par in macro definition (mkii issue) Date: Wed, 18 Jan 2012 23:38:13 +0100 Message-ID: References: <6B69BE12-5086-424D-A561-8F0D8121807D@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/mixed; boundary="===============0963506547==" X-Trace: dough.gmane.org 1326926323 15743 80.91.229.12 (18 Jan 2012 22:38:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2012 22:38:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 18 23:38:38 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rne9J-0007bf-Rk for gctc-ntg-context-518@m.gmane.org; Wed, 18 Jan 2012 23:38:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 454EFCB208; Wed, 18 Jan 2012 23:38:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jjxKyZXJk-id; Wed, 18 Jan 2012 23:38:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66DB3CB1FA; Wed, 18 Jan 2012 23:38:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 228E0CB1FA for ; Wed, 18 Jan 2012 23:38:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HOIKzgINV09l for ; Wed, 18 Jan 2012 23:38:18 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 0F18ECB1F9 for ; Wed, 18 Jan 2012 23:38:18 +0100 (CET) Original-Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0IMcFfI022988 for ; Wed, 18 Jan 2012 23:38:17 +0100 Original-Received: by wicr5 with SMTP id r5so5541335wic.14 for ; Wed, 18 Jan 2012 14:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=tLaa9ac8LKt7dEYRWkFM8qeua/tb5vjk/0qQL652DIQ=; b=p4GOLnUzzpgg3M6DEiLRZCXho++hHTN6MBKCBrV+zTByUDcFkA5KDV0WpeSozcyZlX dPcz2BE5htzbhF35F4AHbS9TziPd4RE3v5PiSUzI9wOMY8pQocHwmVKwOLbC4EF5PTyK NTgn8SX60TZKavlXgnJlt5NsjtUmSkEFK8OWs= Original-Received: by 10.180.76.235 with SMTP id n11mr34614547wiw.11.1326926295718; Wed, 18 Jan 2012 14:38:15 -0800 (PST) Original-Received: from [192.168.0.11] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPS id bj10sm24972585wib.9.2012.01.18.14.38.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jan 2012 14:38:14 -0800 (PST) In-Reply-To: <6B69BE12-5086-424D-A561-8F0D8121807D@googlemail.com> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0HGnaCffg - 55fe82a68ce2 - 20120118 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73977 Archived-At: --===============0963506547== Content-Type: multipart/alternative; boundary="Apple-Mail=_19E4E4BB-2F4B-4A92-B57D-1C8B757C1E66" --Apple-Mail=_19E4E4BB-2F4B-4A92-B57D-1C8B757C1E66 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 18 janv. 2012, at 23:07, Wolfgang Schuster wrote: > [=85] > This is a limitation of the MkII version of the \define command, you = can=92t use \par in the replacement text but you can use \endgraf which = does also end a paragraph. >=20 > Wolfgang Thanks Wolfgang: indeed=20 \def\MyTest#1{The test variable is #1.\par} works both in mkii and mkiv.=20 There must be a reason for the behavior of \define in mkii, but that's = fine: I'll use \endgraf, when I have to use mkii. Best regards: OK= --Apple-Mail=_19E4E4BB-2F4B-4A92-B57D-1C8B757C1E66 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
[=85]
This is a = limitation of the MkII version of the \define command, you can=92t use = \par in the replacement text but you can use \endgraf which does also = end a = paragraph.

Wolfgang

Than= ks Wolfgang: indeed 
\def\MyTest#1{The test variable is = #1.\par}
works both in mkii and = mkiv. 
There must be a reason for the behavior of \define = in mkii, but that's fine: I'll use \endgraf, when I have to use = mkii.

Best regards: OK
= --Apple-Mail=_19E4E4BB-2F4B-4A92-B57D-1C8B757C1E66-- --===============0963506547== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0963506547==--