From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75512 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: [***SPAM***] placefigure adds break Date: Thu, 5 Apr 2012 07:10:49 -0400 (EDT) Message-ID: References: <16D5B6D1-8422-474C-BF61-D6981DB0593C@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333624267 5578 80.91.229.3 (5 Apr 2012 11:11:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2012 11:11:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 05 13:11:06 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SFkan-0006aH-KM for gctc-ntg-context-518@m.gmane.org; Thu, 05 Apr 2012 13:11:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 49F45101E2; Thu, 5 Apr 2012 13:11:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m5twhG4FzBfR; Thu, 5 Apr 2012 13:11:02 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A24C2101DF; Thu, 5 Apr 2012 13:11:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5EAA101DF for ; Thu, 5 Apr 2012 13:11:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Lz251P-mt9rI for ; Thu, 5 Apr 2012 13:11:00 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id A27EF10194 for ; Thu, 5 Apr 2012 13:11:00 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q35BAvtI029104 for ; Thu, 5 Apr 2012 13:10:59 +0200 Original-Received: FROM [10.0.2.15] (bas3-montreal02-1096682554.dsl.bell.ca [65.94.12.58]) By tombraider.mr.itd.umich.edu ID 4F7D7DBD.909DB.19995 ; Authuser adityam; 5 Apr 2012 07:10:53 EDT In-Reply-To: <16D5B6D1-8422-474C-BF61-D6981DB0593C@st.estfiles.de> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0002 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07GSbaW9a - 41c82e741d84 - 20120405 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:75512 Archived-At: On Thu, 5 Apr 2012, Steffen Wolfrum wrote: > Hi, > > please have a look at thee example below: > I have a long paragraph (more than 3 pages), and I want to set a float/figure at top of page 2. > Thus, I need to write \placefigure *in* my paragraph, between two words. > > How can I do that without adding a paragraph break after the respective word (marked "HERE")? > > Steffen > ------- > > \starttext > > \switchtobodyfont[rm,10pt] > > \input tufte \input ward \input zapf \input tufte \input ward \input > zapf \input tufte \input ward \input zapf \input tufte \input ward > \input zapf HERE > \placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}\input > tufte \input ward \input zapf \input tufte \input ward \input zapf > \input tufte \input ward \input zapf \input tufte \input ward \input > zapf \input tufte \input ward \input zapf > > \stoptext (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________