From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56176 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: indent lost after \placefigure Date: Thu, 11 Feb 2010 20:01:45 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201002112001.45223.alan.braslau@cea.fr> References: <006001caaab7$85fdcba0$91f962e0$@com> <201002111441.22561.alan.braslau@cea.fr> 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 1265914925 32609 80.91.229.12 (11 Feb 2010 19:02:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 19:02:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 11 20:02:01 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 1NfeIZ-0002Dl-5B for gctc-ntg-context-518@m.gmane.org; Thu, 11 Feb 2010 20:01:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6968C9DC4; Thu, 11 Feb 2010 20:03:50 +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 MzqQyLMU2xgf; Thu, 11 Feb 2010 20:03:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5BB3EC9DDF; Thu, 11 Feb 2010 20:03:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 868BFC9DDF for ; Thu, 11 Feb 2010 20:03:46 +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 bSFhlk68dwsT for ; Thu, 11 Feb 2010 20:03:44 +0100 (CET) Original-Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by balder.ntg.nl (Postfix) with ESMTP id E996AC9DC4 for ; Thu, 11 Feb 2010 20:03:43 +0100 (CET) Original-Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 97CF64C81FC; Thu, 11 Feb 2010 20:01:48 +0100 (CET) Original-Received: from iram-hb-003386.localnet (cev75-1-81-57-248-225.fbx.proxad.net [81.57.248.225]) by smtp4-g21.free.fr (Postfix) with ESMTP id 922E64C81EA; Thu, 11 Feb 2010 20:01:45 +0100 (CET) User-Agent: KMail/1.12.4 (Linux/2.6.32; KDE/4.3.4; x86_64; ; ) In-Reply-To: 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:56176 Archived-At: On Thursday 11 February 2010 18:55:01 Aditya Mahajan wrote: > On Thu, 11 Feb 2010, Alan BRASLAU wrote: > > PS: Your opinion is not so humble, and I do not really see the rational > > why indentnext=no is the default for most things* rather than > > indentnext=auto. > > Below is my understanding of ConTeXt's design principle (Hans or Taco > should correct me if I am wrong). Content should be separate from > presentation. This means that indentation should be a function of > semantics, and not of how you format your source. So > > some text ... > \startitemize > \item > \item > \stopitemize > some more text > > and > > some text > > \startitemize > \item > \item > \stopitemize > > some more text ... > > should give the same result. If you want an item group that does not start > a paragraph, and an item group that starts a new paragraph, then they are > two different objects and you should define two different environments for > them. > > \defineitemgroup[spitemize] %single para > [indentnext=no, > before=\blank, > after=\blank] > > \defineitemgroup[mpitemize] %multi para > [indentnext=yes, > before={\blank[big]}, > after={\blank[big]}] > > > Then you can use \startspitemize or \startmpitemize dependening on what you > want. The way you format the source does not matter. > > Aditya That is really "ugly": different cases of itemize... If indeed the design principle that you describe is true, then I would *strongly* argue that one should get rid of a blank line separating paragraphs and *require* the use of \par I don't totally agree with this, as I think that the document source should look as simple as possible, and paragraphs separated by blank lines do a lot to make the text readable, more so than \par A new paragraph. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________