From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63632 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Ugly bug with TikZ in recent ConTeXt MKIV Date: Thu, 18 Nov 2010 00:00:33 +0100 Message-ID: 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 1290034863 16207 80.91.229.12 (17 Nov 2010 23:01:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 23:01:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 18 00:00:59 2010 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 1PIqzo-0001yX-3f for gctc-ntg-context-518@m.gmane.org; Thu, 18 Nov 2010 00:00:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43B50CA84E; Thu, 18 Nov 2010 00:00:55 +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 8XvuTDlO21w4; Thu, 18 Nov 2010 00:00:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D125CA841; Thu, 18 Nov 2010 00:00:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A60D9CA841 for ; Thu, 18 Nov 2010 00:00:50 +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 LvnSUYKGMCOj for ; Thu, 18 Nov 2010 00:00:35 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id A3023CA83A for ; Thu, 18 Nov 2010 00:00:35 +0100 (CET) Original-Received: from mail-vw0-f41.google.com (mail-vw0-f41.google.com [209.85.212.41]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAHN0YZj023691 for ; Thu, 18 Nov 2010 00:00:35 +0100 Original-Received: by vws10 with SMTP id 10so1450369vws.14 for ; Wed, 17 Nov 2010 15:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=d7RVBQWuAym3DxXhuVu19nMb7sGaaDEP0MmwlAz/uBU=; b=ZjmiuiOjyrQhei4qwJVICBYNi3RrjcuLBZXnDZzlZtZ2X0nIMKcmAOBePgy0qeJFFA 373oRYAn81/7mUsL8ux26NRASq35A7kAiA/UXF3OpZSWn6rVMbgtDlRd8PtiF18T7Ijh bexTEXA8Fmx+fbgOrn56HvyzYnoKmlPtQsSaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BGFwo8cgCjfXnMCp9iqj5UztXU03wfuZkaEfC2OVqpHBhNuHOIHLK6CvMnqhAgWpjp HZ3X36pW0DaiMcbmNCrTEzllUH9qeAA/ioa8e85F0ZZ2UKke6Oqb/O7KavQ59VTWR33q dhRs394EZLYatCMKrNCE5rOVqy2ThwlbfaKxc= Original-Received: by 10.229.98.206 with SMTP id r14mr7940139qcn.162.1290034833450; Wed, 17 Nov 2010 15:00:33 -0800 (PST) Original-Received: by 10.229.230.18 with HTTP; Wed, 17 Nov 2010 15:00:33 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.41; 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: 0BDwn0yeD - 6dd8baa21af1 - 20101118 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:63632 Archived-At: Dear Hans, The following example worked perfectly fine with the version of ConTeXt MKIV I was using one hour ago (no idea which version, but something less than two weeks old). It still works OK with MKII and it works much worse in the real document that I'm using. In my document both images are completely screwed up. Here it's only the second one and if I comment out the first one, the second figure comes out fine, so I'm a bit clueless about what magic is going on inbetween. Nothing in TikZ has changed (I'm still using the "frozen" version from November 2009 from minimals), so it must have something to do with ConTeXt MKIV. It just messes up with some boxes on the page in some unpredictable way. \usemodule[tikz] \starttext \placefigure[force][BCl3 sigma]{x}{ \hbox to .9\textwidth{\hss\starttikzpicture \node[circle,inner sep=0pt] (B) at (0,0) {B}; \node[circle,inner sep=0pt] (a1) at ( 90:0.9cm) {Cl}; \node[circle,inner sep=0pt] (a2) at (210:0.9cm) {Cl}; \node[circle,inner sep=0pt] (a3) at (330:0.9cm) {Cl}; \draw (B)--(a1); \draw (B)--(a2); \draw (B)--(a3); \stoptikzpicture \hbox to 2cm{} \starttikzpicture[>=stealth,very thick] % \node[label=above:$a_1$] (a1) at ( 90:1cm) {$a_1$}; \node[circle,inner sep=0pt] (a1) at ( 90:1.2cm) {$a_1$}; \node[circle,inner sep=0pt] (a2) at (210:1.2cm) {$a_2$}; \node[circle,inner sep=0pt] (a3) at (330:1.2cm) {$a_3$}; % \draw[->] (0,0)--(-30:1cm); % \draw[->] (0,0)--( 90:1cm); % \draw[->] (0,0)--(210:1cm); \draw[->] (0,0)--(a1); \draw[->] (0,0)--(a2); \draw[->] (0,0)--(a3); \stoptikzpicture\hss} } \stoptext Thanks, Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________