From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74363 Path: news.gmane.org!not-for-mail From: Felix Ingram Newsgroups: gmane.comp.tex.context Subject: Re: Titles break TikZ Date: Wed, 8 Feb 2012 14:14:04 +0000 Message-ID: References: <4F324D60.6010205@wxs.nl> <4F327DAB.6040106@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328710465 8650 80.91.229.3 (8 Feb 2012 14:14:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2012 14:14:25 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 08 15:14:23 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 1Rv8Ht-0006OG-QY for gctc-ntg-context-518@m.gmane.org; Wed, 08 Feb 2012 15:14:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB7B4CB25E; Wed, 8 Feb 2012 15:14:20 +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 Nqi0KdGFVlTH; Wed, 8 Feb 2012 15:14:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1DFE4CB259; Wed, 8 Feb 2012 15:14:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8073CB259 for ; Wed, 8 Feb 2012 15:14:12 +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 Za6jRSlG8RHq for ; Wed, 8 Feb 2012 15:14:08 +0100 (CET) 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 21845CB251 for ; Wed, 8 Feb 2012 15:14:08 +0100 (CET) Original-Received: from mail-vw0-f41.google.com (mail-vw0-f41.google.com [209.85.212.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q18EE4JX031405 for ; Wed, 8 Feb 2012 15:14:07 +0100 Original-Received: by vbip1 with SMTP id p1so493392vbi.14 for ; Wed, 08 Feb 2012 06:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=R7ZXpgfE8MyKZFhU4UQMSuAuPfFwBAR1Y5lhCr1lkuw=; b=ogX9FBMc7cXeirTixVegzupoIicUARrKdWuC842o1/qnUCvlEp7D3sqmrtHULSbHj9 47FZrUbLRKYRibOtvAz622iZ+ijut4f9A85VrvJPFBWqKegtQ8npG2f8G9jhdu1fPHTk zHux49qCk+hHhEkgkWoCywAEWIzrFVSQZL4pQ= Original-Received: by 10.220.116.2 with SMTP id k2mr15744644vcq.44.1328710444405; Wed, 08 Feb 2012 06:14:04 -0800 (PST) Original-Received: by 10.52.111.65 with HTTP; Wed, 8 Feb 2012 06:14:04 -0800 (PST) In-Reply-To: <4F327DAB.6040106@wxs.nl> 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: 07Gvqe5zk - b51a66c45fcc - 20120208 (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:74363 Archived-At: On 8 February 2012 13:50, Hans Hagen wrote: > On 8-2-2012 12:16, Felix Ingram wrote: >> >> On 8 February 2012 10:24, Hans Hagen =A0wrote: >>> >>> On 8-2-2012 10:51, Felix Ingram wrote: >>>> >>>> >>>> On 7 February 2012 13:06, Philipp A. =A0 =A0wrote: >>>> >>>>> with some recent beta (sorry for vagueness), tikz stopped working aft= er >>>>> titles. (i use first-setup.sh to install: these are the betas, not >>>>> something different, right?) >>> >>> >>> >>> what does 'stop working' mean? some message? >> >> >> "Stop Working" means "no longer get positioned where they should be >> but still get drawn". >> >> In my case all graphics are shifted to the right by >> Some-Unknown-Distance. In Philipp's case the various graphics parts >> jump about. (I've seen something similar when drawing multiple nodes). >> >> I've included my minimal example below again. I wouldn't say that >> titles are causing the issue, it just seems to be that the first >> picture will render okay and then all others from then on will be >> misplaced. In the example that Philipp gave removing the \section line >> will still demonstrate the issue. >> >> Please let me know if there's any more information that I can provide. > > > Interesting is that it matters if one puts colons after words: > > one % : > > \pic > > two: > > \pic > > Anyhow, the problem is that tikz messes around with cq. assumes nullfont = to > be in a certain state which is asking for troubles. > > In font-set.mkvi there is some provision for this (which I don't like), b= ut > anyhow, one can uncomment the \dorecurse line > > \def\font_preloads_reset_nullfont > =A0{\dorecurse\plusseven{\fontdimen\recurselevel\nullfont\zeropoint}% kee= p en > eye on this as: > =A0 \ctxcommand{resetnullfont()}% in luatex 0.70 this will also do the > previous > =A0 \globallet\font_preloads_reset_nullfont\relax} > > maybe tikz should push/pop nullfont dimens to be on the safe side as there > is no rule against setting nullfont > > (btw, this problem has shown up before) Thanks Hans, This is working. (Now I just need to remove all of the fudge factors I added to my template). I've posted a bug report on the PGF/Tikz tracker, so I will add your suggested fix to that and hopefully it will get addressed there. 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 ___________________________________________________________________________= ________