From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48908 Path: news.gmane.org!not-for-mail From: Michael Bynum Newsgroups: gmane.comp.tex.context Subject: Re: Making sure figures are placed within articles Date: Mon, 30 Mar 2009 12:04:11 -0400 Message-ID: References: <49D0EAC6.4060106@gmail.com> 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 1238429437 29736 80.91.229.12 (30 Mar 2009 16:10:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 16:10:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 30 18:11:55 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LoK3D-0000q1-VG for gctc-ntg-context-518@m.gmane.org; Mon, 30 Mar 2009 18:09:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E9701FD60; Mon, 30 Mar 2009 18:08:02 +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 18067-04-6; Mon, 30 Mar 2009 18:07:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CDA651FD19; Mon, 30 Mar 2009 18:07:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 413BD1FD76 for ; Mon, 30 Mar 2009 18:07:05 +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 12105-04-3 for ; Mon, 30 Mar 2009 18:04:54 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 603E31FD4E for ; Mon, 30 Mar 2009 18:04:13 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.150]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2UG4C1i021921 for ; Mon, 30 Mar 2009 18:04:12 +0200 Original-Received: by qw-out-1920.google.com with SMTP id 9so1643536qwj.38 for ; Mon, 30 Mar 2009 09:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ilKAETGnERgwNHEQAruyx0d7bbbOXM51ERkxw37te6E=; b=R9K+oZuRnUi2eGjUi5kikqoX+KE03xBLE45g1m12Gja0N5IQsmRHefs17MEWgF1t0Y dddp2TG+iCE89cyd2b9CvVqvXjKP8WSeV84R3xwMSD5Wi2bFZz34TfI+gsG32ePX21Xk fjbBsV9gjIh2ikCX5iSTiTixWJ97PDwCoh714= 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:content-transfer-encoding; b=sKcbogaIFPpt6oOHLkKcf9KTqhZyBnlhEA0ReBwD0/QI9xGqBfvzPey+nfwgZdAZrh U/oqpi0RuPycFIaytwa9manfk9muMse7oNzSh9mRFkE6yubV7/+5ssk3zW+RkNFc+zcg 6yBfd2c8n4B/qPp+idQrXv09kw9s1k9eiM3J4= Original-Received: by 10.231.14.141 with SMTP id g13mr1105154iba.56.1238429051185; Mon, 30 Mar 2009 09:04:11 -0700 (PDT) In-Reply-To: <49D0EAC6.4060106@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.92.150; 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: 201197805 - 0c87b7979bc1 - 20090330 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48908 Archived-At: I had that problem as well. You can use the command \placefloats to force any floats that exist to be placed immediately. So to force the floats to be placed within the section or subsection that they are defined, I use the command: \setuphead[section] [before={\placefloats}] \setuphead[subsection] [before={\placefloats}] Mike On Mon, Mar 30, 2009 at 11:52 AM, Vyatcheslav Yatskovsky wrote: > Hello, > > I usually place figures in the end of the subsection, using the code: > > \placefigure > [middle]{none}{\externalfigure[filyashkin-1.png][width=0.87\textwidth]} > > Quite often the figure does not fit the page, and is moved to the next one. > Ocassionally, another subsection may start at the beginning of next page, so > that my figure is placed inside wrong article. > > Can I setup \placefigure to move non-fitting figures not only forth, but > also back within the subsection? In another words, to can I set up the > criterium: place the figure no matter where, but inside the current > subsection? > > Otherwise, it needs many manual corrections and re-compilations to get all > figures within corresponding articles. > > I'd doing my first serious work with ConTeXt, so help me please. > > Best, > Vyatcheslav > > > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________