From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74092 Path: news.gmane.org!not-for-mail From: Felix Ingram Newsgroups: gmane.comp.tex.context Subject: Wandering floats Date: Mon, 23 Jan 2012 14:40:18 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327329652 7492 80.91.229.12 (23 Jan 2012 14:40:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 14:40:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 23 15:40:44 2012 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 1RpL4d-0006gt-Pi for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jan 2012 15:40:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE2F1CB1F2; Mon, 23 Jan 2012 15:40:42 +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 ccT3ACSEeJKB; Mon, 23 Jan 2012 15:40:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73C39CB1E6; Mon, 23 Jan 2012 15:40:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ECA74CB1E6 for ; Mon, 23 Jan 2012 15:40:34 +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 jIie99wDlYoh for ; Mon, 23 Jan 2012 15:40:20 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 55E58CB1C9 for ; Mon, 23 Jan 2012 15:40:20 +0100 (CET) Original-Received: from mail-vx0-f169.google.com (mail-vx0-f169.google.com [209.85.220.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0NEeJGf002114 for ; Mon, 23 Jan 2012 15:40:19 +0100 Original-Received: by vcbfl11 with SMTP id fl11so2322425vcb.14 for ; Mon, 23 Jan 2012 06:40:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=j8nb2mAcgDi7sT7AXRksaTHSfDWXvSOsILGY0b0UgtA=; b=jcG+FkfVK2bIlEtjqG4vz0M0m/AKRjff/90ottbyayKt4vouIsMAAhTd6iDYDzM3g5 wGZYiHXw2wMKtj250YxlZ9uQgpiRnnBE4W+MxaRUN57ULgfeFd8UUl49VQp9z/6UK9vn 2VRL8aRDK6syDq85ywyDq8S0NTJVxdCRlIDnk= Original-Received: by 10.221.13.196 with SMTP id pn4mr5018625vcb.74.1327329618798; Mon, 23 Jan 2012 06:40:18 -0800 (PST) Original-Received: by 10.52.184.193 with HTTP; Mon, 23 Jan 2012 06:40:18 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.169; 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: 06Gp2EjSr - c56a430e2ec5 - 20120123 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:74092 Archived-At: Hello all, I've noticed some strange behaviour with Tikz/PGF in floats. The following example should demonstrate it: \usemodule[tikz] \definefloat[newfloat][newfloats] \setupfloat[newfloat][ rightmargindistance=3D1cm, maxwidth=3D0.5cm, ] \startbuffer[myfloat] \placenewfloat[right, none, fit]{}{ \starttikzpicture \node[text width=3D2cm] {% \color[black]{\tfx\bf I'm the Doctor. Well, they call me the Doctor. I don't know why. I call me = the Doctor. I don't know why. } }; \stoptikzpicture } \stopbuffer \starttext \getbuffer[myfloat] Saving the world with meals on wheels. No, I'll fix it. I'm good at fixing = rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. N= o=85 It's a thing; it's like a plan, but with more greatness. I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. Heh-haa! No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. \page \getbuffer[myfloat] Saving the world with meals on wheels. No, I'll fix it. I'm good at fixing = rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. N= o=85 It's a thing; it's like a plan, but with more greatness. I'm the Doctor, I'm worse than everyone's aunt. *catches himself* And that is not how I'm introducing myself. Heh-haa! No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don't call me the Rotmeister. \stoptext The first float will be placed nicely in the right margin up against the text. The second, however, will be shifted into the margin. Can anyone suggest anything? I'm not sure how to go about debugging this. I believe it is another example of the shifting PGF graphics that others (and I) have seen since upgrading to a new beta (I believe this changed sometime since version 2011.11.29). Any help appreciated, Felix ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________