From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30723 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: no indent after figure Date: Sun, 10 Sep 2006 15:38:52 +0200 Message-ID: <20060910153852.abfcfc15.schuster.wolfgang@googlemail.com> References: <4502A015.7916.3F7846@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157895608 12352 80.91.229.2 (10 Sep 2006 13:40:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Sep 2006 13:40:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 10 15:39:59 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMPXG-00018g-Pz for gctc-ntg-context-518@m.gmane.org; Sun, 10 Sep 2006 15:39:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3D0C1FDCC; Sun, 10 Sep 2006 15:39:45 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03706-01; Sun, 10 Sep 2006 15:39:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 049301FD55; Sun, 10 Sep 2006 15:39:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 574D21FD55 for ; Sun, 10 Sep 2006 15:39:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23960-06 for ; Sun, 10 Sep 2006 15:39:33 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by ronja.ntg.nl (Postfix) with SMTP id D0B5C1FD40 for ; Sun, 10 Sep 2006 15:39:33 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id h2so925652ugf for ; Sun, 10 Sep 2006 06:39:33 -0700 (PDT) Original-Received: by 10.67.24.13 with SMTP id b13mr2191875ugj; Sun, 10 Sep 2006 06:39:32 -0700 (PDT) Original-Received: from unknown ( [217.185.118.189]) by mx.gmail.com with ESMTP id k1sm7191121ugf.2006.09.10.06.39.27; Sun, 10 Sep 2006 06:39:32 -0700 (PDT) Original-To: ntg-context@ntg.nl In-Reply-To: <4502A015.7916.3F7846@wwl.musensturm.de> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.6.10; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30723 Archived-At: On Sat, 09 Sep 2006 11:05:57 +0200 "Wolfgang Werners-Lucchini" wrote: > > The following works on my machine > > > > \setupindenting[yes,medium] > > \setupfloats[indentnext=yes] > > > > \starttext > > > > \input knuth \par > > > > \placefigure > > {} > > {\framed > > [offset=none, > > width=0.6\makeupwidth, > > height=0.4\textheight] > > {figure}} > > > > > > \dorecurse{3}{\input knuth\par} > > > > \stoptext > > > > Wolfgang > > Hallo Wolfgang! > > Your example doesn't use > > \setupfloat[figure][default={page,high,none}] > > and I found, that the option 'page' in this statement toggles > indenting of next paragraph! > I don't understand this at all. Please, can someone explain the > interrelation between these two things? > > And a second: > It seems, that > \setupfloats[indentnext=yes] > has nothing to do with indenting of next paragraph. > What is the real meaning of this option? > > Wolfgang > My problem, I was too fast with my answer. The following example solves now your problem on my machine without the ugly solution with \indentation. \unprotect \def\OTRONEdosomepagefloat#1[#2]% {%\checkwaitingfloats{#1}% \global\setbox#1\vbox {\unvbox#1% \vbox to \textheight {\doifnotinset\v!high{#2}\vfill \box\floatbox \doifnotinset\v!low{#2}\vfill}% \goodbreak}% \doinsertfloatinfo \dochecknextindentation\??bk \dorechecknextindentation} \protect \setupindenting[medium,yes] \setupfloat[figure][default={page,high,none}] \setupfloats[indentnext=yes] \starttext \dorecurse{2}{\input knuth \par} \placefigure [] [fig:bild] {Text} {\hrule width 6cm height 14cm depth 0cm\relax} \dorecurse{3}{\input knuth \par} \stoptext Hope it works for you too. Wolfgang