From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64561 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: \par in end of define fails Date: Thu, 16 Dec 2010 14:22:44 +0100 Message-ID: References: <2v2ot7-bk5.ln1@news.jonasstein.de> 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: dough.gmane.org 1292505778 32466 80.91.229.12 (16 Dec 2010 13:22:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2010 13:22:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 16 14:22:54 2010 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 1PTDnK-0003h1-NN for gctc-ntg-context-518@m.gmane.org; Thu, 16 Dec 2010 14:22:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A75A7CA91C; Thu, 16 Dec 2010 14:22:53 +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 iKCqcr8DT3NC; Thu, 16 Dec 2010 14:22:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7F1FCA913; Thu, 16 Dec 2010 14:22:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 87B7ACA913 for ; Thu, 16 Dec 2010 14:22:48 +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 DmcPXsxBITrZ for ; Thu, 16 Dec 2010 14:22:46 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 7B6A4CA912 for ; Thu, 16 Dec 2010 14:22:46 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBGDMjPx012657 for ; Thu, 16 Dec 2010 14:22:45 +0100 Original-Received: by qwa26 with SMTP id 26so3019775qwa.14 for ; Thu, 16 Dec 2010 05:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=SJ8LX6jV0R3/4Se6lnCRA2JlRAATSXc0Rlrh3cXBZz0=; b=Xn+mfSlMeqyTuijyEKXJlyBK5ZdHjk4Qk4Mr6wifb8zOLgda8rA9C8+d9QOMBZJako N5pNmZ+dkkcwJvd2g7BOiTtnYUpWjGSHEIyi4vkyt3MTIaXRW0ae30LTvxYZDwQNiqnC TcUvq0lJPcjmjEkf4iXrtPU0AxOuhWQVFQm2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jBO+nWeOnVcICtr2IAlQ0Yv6epsJswx+iiYWoVZ32gNc8jwNGyy/tlSXBrjr6NQmRt V8iVqrLbuEVbtEsN2sy8NZqEqR11b0NvNep6oD9MgpN5ehLvWaW5DPLnUWJKh5WLpsvX DkQ1oea/GO53RJOhyrf3fMM8rma4H5Lh6HdW8= Original-Received: by 10.229.191.75 with SMTP id dl11mr1639767qcb.184.1292505764778; Thu, 16 Dec 2010 05:22:44 -0800 (PST) Original-Received: by 10.229.30.6 with HTTP; Thu, 16 Dec 2010 05:22:44 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; 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: 0eDHNmJv0 - 1aa74d226de1 - 20101216 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:64561 Archived-At: On Thu, Dec 16, 2010 at 05:58, Aditya Mahajan wrote: > On Thu, 16 Dec 2010, Jonas Stein wrote: > >> \define[1]\myoneliner{#1 \par } >> >> raises an error. > > (Untested) > > \define[1]\myoneliner{#1 \endgraf} This is also nicely covered in TeXBook. Alternatively \long\def might work. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________