From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67253 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: \setupindenting Date: Mon, 21 Mar 2011 20:19:10 +0100 Message-ID: References: <5B7C4049-9FB9-4B40-AB45-3DD6CEC22FB9@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1949002679==" X-Trace: dough.gmane.org 1300735199 26383 80.91.229.12 (21 Mar 2011 19:19:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2011 19:19:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 21 20:19:54 2011 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 1Q1kdu-0002FC-MQ for gctc-ntg-context-518@m.gmane.org; Mon, 21 Mar 2011 20:19:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5420FCAB35; Mon, 21 Mar 2011 20:19:44 +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 nA0LRDnJIGnc; Mon, 21 Mar 2011 20:19:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAA92CAB2A; Mon, 21 Mar 2011 20:19:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC8E9CAB2A for ; Mon, 21 Mar 2011 20:19:38 +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 EyrnZ3XMYmyL for ; Mon, 21 Mar 2011 20:19:36 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id B6125CAB19 for ; Mon, 21 Mar 2011 20:19:36 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2LJJjk5013285 for ; Mon, 21 Mar 2011 20:19:45 +0100 Original-Received: by fxm18 with SMTP id 18so7534897fxm.14 for ; Mon, 21 Mar 2011 12:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=IZ55iq0T/xSIylaHQnECCFpKi49fEtu5JSDuzW9sWRQ=; b=qzUsCv+9h5trdDmB6rpeVxyouFlV4tOtTavXUUc1ByGcoNJ4snywZWr+8xCKzxGMRH 5Oi8rnyFU6XhiOLB0FPJdj79eD/HFpnPXPCKhGeYuXsetpGoOZ7Rf9SnMFSEshl1Pth+ YkSGggZGf3oYdoL0hzwgDoXlNahhxm+Xf3DpQ= 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=O8IQX9lACrzSY4WyOOUqXyujFsWvqmfT9Kxa7Usfu0nwcgVhqmJBWmIu/5+wTeVbaO 38qCNTobVIzVX9/z600/rNlrzAxnC+LhCIvkbljy1obVfjQUKsXCeWQS7boKqgvmFUce M32l8T2m3EeWbki9ywMltkZUXGA8SnJjEyOXQ= Original-Received: by 10.223.43.145 with SMTP id w17mr451319fae.12.1300735151259; Mon, 21 Mar 2011 12:19:11 -0700 (PDT) Original-Received: by 10.223.110.71 with HTTP; Mon, 21 Mar 2011 12:19:10 -0700 (PDT) In-Reply-To: <5B7C4049-9FB9-4B40-AB45-3DD6CEC22FB9@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0cElTjJ2o - b9d8e31516ff - 20110321 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:67253 Archived-At: --===============1949002679== Content-Type: multipart/alternative; boundary=001517440fd0a33f06049f0300ad --001517440fd0a33f06049f0300ad Content-Type: text/plain; charset=ISO-8859-1 2011/3/21 Wolfgang Schuster > > I just discovered \setupindenting. I use: > > \setupindenting[yes, medium] > > > > This does not indent the first paragraph on a page. Is it possible to > also not indent a paragraph after a blank? > > Not with \blank but you can create a command which does it, e.g. > > \def\myblank > {\dosingleempty\domyblank} > > \def\domyblank[#1]% > {\iffirstargument > \blank[#1]% > \else > \blank > \fi > \noindentation} > > or you use the fancybreak module: > > \usemodule[fancybreak] > > \definefancybreak[myblank][indentnext=no] > > \setupindenting[yes,medium] > > \starttext > > \input ward > > \blank > > \input ward > > \myblank > > \input ward > > \stoptext > I used the second method. Works. I only have one slight problem. When a paragraph without anything between it and the previous paragraph is the first element on a page, it gets indented. It is not a very big problem, but it would be nicer -I think- if it was not indented. Is this possible? -- Cecil Westerhof --001517440fd0a33f06049f0300ad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/3/21 Wolfgang Schuster &l= t;schuster.wolfgang@goo= glemail.com>
> I just discovered \setupindenting. I use:
> =A0 =A0 \setupindenting[yes, medium]
>
> This does not indent the first paragraph on a page. Is it possible to = also not indent a paragraph after a blank?

Not with \blank but you can create a command which does it, e.g.

\def\myblank
=A0{\dosingleempty\domyblank}

\def\domyblank[#1]%
=A0{\iffirstargument
=A0 =A0 =A0\blank[#1]%
=A0 \else
=A0 =A0 \blank
=A0 \fi
=A0 \noindentation}

or you use the fancybreak module:

\usemodule[fancybreak]

\definefancybreak[myblank][indentnext=3Dno]

\setupindenting[yes,medium]

\starttext

\input ward

\blank

\input ward

\myblank

\input ward

\stoptext

I used the second method. Works. I only = have one slight problem. When a paragraph without anything between it and t= he previous paragraph is the first element on a page, it gets indented. It = is not a very big problem, but it would be nicer -I think- if it was not in= dented. Is this possible?

--
Cecil Westerhof
--001517440fd0a33f06049f0300ad-- --===============1949002679== 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 ___________________________________________________________________________________ --===============1949002679==--