From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67450 Path: news.gmane.org!not-for-mail From: Pontus Lurcock Newsgroups: gmane.comp.tex.context Subject: Re: Indent paragraph after \placefigure Date: Sun, 27 Mar 2011 13:15:00 +1300 Message-ID: <20110327001500.GZ29732@rae.vm.bytemark.co.uk> References: <20110326233715.1bebfbf2@glyph> <20110326231556.GY29732@rae.vm.bytemark.co.uk> <20110327002246.6a4dab2d@glyph> 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 1301184925 5179 80.91.229.12 (27 Mar 2011 00:15:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 00:15:25 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 27 01:15:21 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 1Q3ddZ-00085k-7Z for gctc-ntg-context-518@m.gmane.org; Sun, 27 Mar 2011 01:15:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96E3CCAB5B; Sun, 27 Mar 2011 01:15:01 +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 t5P5p7AAapJL; Sun, 27 Mar 2011 01:14:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C378FCAB1A; Sun, 27 Mar 2011 01:14:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 037DFCAB1A for ; Sun, 27 Mar 2011 01:14:57 +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 qnfjHmdk5EGz for ; Sun, 27 Mar 2011 01:14:45 +0100 (CET) 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 D5B3DCAB12 for ; Sun, 27 Mar 2011 01:14:44 +0100 (CET) Original-Received: from rae.vm.bytemark.co.uk (rae.talvi.net [89.16.174.99]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2R0F2Ur011484 for ; Sun, 27 Mar 2011 01:15:02 +0100 Original-Received: from pont by rae.vm.bytemark.co.uk with local (Exim 4.69) (envelope-from ) id 1Q3ddE-0005mJ-4o for ntg-context@ntg.nl; Sun, 27 Mar 2011 00:15:00 +0000 Content-Disposition: inline In-Reply-To: <20110327002246.6a4dab2d@glyph> User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.16.174.99; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Eo0f2he - e1e66c4293b9 - 20110327 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:67450 Archived-At: Sorry, I think I misunderstood the problem the first time (since I didn't actually run your example until now). \setupfloats[indentnext=yes] (as I understand it) controls the behaviour after the float is actually placed in the output, rather than after the \placefigure... in the source. I'd expect the blank line after the \placefigure to trigger indentation for the next paragraph, but this doesn't happen. I now remember seeing this problem while typesetting a thesis chapter. Going back to my source file, I see I worked around it in the most obvious way: \setupindenting [yes, medium] \setupfloats [indentnext=yes] \starttext This line is indented as intended. \placefigure[auto][fig:somefigure]{My graphic}{} \indentation This is indented, but only because of the explicit command. This line is fine. \stoptext Maybe there is a better solution, but I don't know it... hope this is helpful anyway. Regards, Pont On Sun 27 Mar 2011, Marco wrote: > On 2011-03-27 Pontus Lurcock wrote: > > > On Sat 26 Mar 2011, Marco wrote: > > > > > How to indent the paragraph after a \placefigure? > > > > http://wiki.contextgarden.net/Reference/en/setupindenting says that > > \setupfloats[indentnext=yes] should give the desired result. > > (I haven't tested it, though.) > > According to the manual \setupfloats[indentnext=yes] is the default behaviour. > But it's not working, same result here: > > \setupindenting [yes, medium] > \setupfloats [indentnext=yes] > \starttext > This line is indented as intended. > > \placefigure[auto][fig:somefigure]{My graphic}{} > > This is not, but I'd like it to be. > > This line is fine. > \stoptext > > > Marco > ___________________________________________________________________________________ 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 ___________________________________________________________________________________