From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83526 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: No indentation after macro Date: Wed, 24 Jul 2013 15:32:58 +0200 Message-ID: References: <51EFAB04.7020901@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1374672821 28712 80.91.229.3 (24 Jul 2013 13:33:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2013 13:33:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 24 15:33:44 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1zCK-0008Nk-EA for gctc-ntg-context-518@m.gmane.org; Wed, 24 Jul 2013 15:33:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F41AF101EA; Wed, 24 Jul 2013 15:33:23 +0200 (CEST) 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 oKTWRDrsvaK8; Wed, 24 Jul 2013 15:33:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0C9B1101E7; Wed, 24 Jul 2013 15:33:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1135A101E7 for ; Wed, 24 Jul 2013 15:33:08 +0200 (CEST) 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 E85xZL85er7S for ; Wed, 24 Jul 2013 15:32:44 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 8F233101E3 for ; Wed, 24 Jul 2013 15:32:44 +0200 (CEST) Original-Received: from mail-ea0-x235.google.com (mail-ea0-x235.google.com [IPv6:2a00:1450:4013:c01::235]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6ODX13O023391 for ; Wed, 24 Jul 2013 15:33:01 +0200 Original-Received: by mail-ea0-f181.google.com with SMTP id a15so248504eae.40 for ; Wed, 24 Jul 2013 06:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=g80I6Uju4Bz4DuhQBBax2A3DazmY6PYYGAkgbNfwyss=; b=UC9Mpi1NJs+rzgW0lfmZIjttTB/Nixi6a1oWx99WV20zsH/R7pfs3oZwpMmvvXawSE w+Aw5h2BG3fGDAyMxc8iTK1qjzDB717bCQyLq3HrzMwBZYvZ4LNfB2i5GCwPcI2SxYe7 FCnNaMtlTwZM6Dvt+xSKNtQex9qjEq0hRmOZh8UBJWMje6yiqs5Dw1T+aYQ/Y3gKdcoc 2RvV9z+ZbzLx9cY+q2XcSubSwJiCGrLraypXpjUb+qyuPCqiUvp/Y9Yvxi6M4qnlRazk +Vm+qx4xkTMr//moYEH+eZ3rThjzwe6i+ibLZ0vTVQMe6SNtv274z+71OUSxCYK33VnV ciAA== X-Received: by 10.15.94.11 with SMTP id ba11mr37980550eeb.101.1374672781439; Wed, 24 Jul 2013 06:33:01 -0700 (PDT) Original-Received: from keima.localdomain (x2f22cbe.dyn.telefonica.de. [2.242.44.190]) by mx.google.com with ESMTPSA id l42sm66157761eeo.14.2013.07.24.06.33.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Jul 2013 06:33:00 -0700 (PDT) In-Reply-To: <51EFAB04.7020901@mmnetz.de> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01K4dx1t1 - 44b85be4e556 - 20130724 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83526 Archived-At: Am 24.07.2013 um 12:23 schrieb H. =D6zoguz : > I have defined the following macro: > = > \def\Qur[#1][#2][#3][#4]{\placeongrid{\blank[4pt]\testpage[4] > \setupindenting[no] \startalignment[right]\setupalign[r2l]\setupinterline= space[line=3D3.7ex]\amiri #1 \stopalignment > \blank[4pt] > {\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)} > \blank[3pt]} > } > = > How can I setup, that paragraphs after this above block will not be inden= ted? You can add \noindentation at the end of your code. You can also use the an= notation environment to create a new command for your text where you can set text wi= th keys. \usemodule[annotation] \defineannotation [Qur] [alternative=3DQur, spacebefore=3D3pt, paragraph=3Dyes, align=3Dr2l, %before=3D{\testpage[4]}, indentnext=3Dno, %style=3Damari, interlinespace=3D3.7ex] \defineannotationalternative[Qur][renderingsetup=3Dannotation:Qur,alternati= ve=3Dvertical] \startsetups[annotation:Qur] \currentannotationcontent \blank[4pt] {\bf\annotationparameter{one}}\wordright{\tfx (Heiliger Qur'an \annotatio= nparameter{two}:\annotationparameter{three})} \stopsetups \setupindenting[yes,medium] \starttext \input knuth \startQur[one=3DA,two=3DB,three=3DC] \input knuth \stopQur \input knuth \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________