From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66728 Path: news.gmane.org!not-for-mail From: Curiouslearn Newsgroups: gmane.comp.tex.context Subject: problem with tikz remember picture and overlay. Date: Mon, 7 Mar 2011 08:02:04 -0500 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 1299502942 23603 80.91.229.12 (7 Mar 2011 13:02:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 13:02:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 07 14:02:17 2011 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 1Pwa4n-0006sL-IS for gctc-ntg-context-518@m.gmane.org; Mon, 07 Mar 2011 14:02:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B4CCFCAAA5; Mon, 7 Mar 2011 14:02:16 +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 x-ZEwMZ3H6sK; Mon, 7 Mar 2011 14:02:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3E6BCAAA2; Mon, 7 Mar 2011 14:02:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 829CACAAA2 for ; Mon, 7 Mar 2011 14:02: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 3MmaQbGlqUkN for ; Mon, 7 Mar 2011 14:02:10 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 6FD00C9A7C for ; Mon, 7 Mar 2011 14:02:10 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p27D25FW025365 for ; Mon, 7 Mar 2011 14:02:09 +0100 Original-Received: by iyf13 with SMTP id 13so5215456iyf.14 for ; Mon, 07 Mar 2011 05:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=fymLpPnC888j9GI6BmCjvkM3j0CWz21f2CxVDf/9ays=; b=RdmQ2yd0tBTZwT3SVw6d3UDoSeXoM3ldeacIuWtK5rYh+f8EvldTkMdOPxthzmCAZK HP1OdGn7q0l6MMS3oY0UCI1nBn+F6Z7ZavKU/qNmGjuQZSflpGgEC8uQPvfw/qdwjzFw YRfNlclHIVNpMdNeBidec/7Bu1EmvYdkQIVug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UNvgywoDCx1pahjSgtpecFziDa6sRiGJfjJqNiejJbyKWque5PDP6xFls0X4lS53Hu lFx6lRj3GpF7/LQhEKr/t9tJs0IHJYs1NS9v2eNVts5lRmyb4A9Z740MW/253SCrVFAW yxCczD4NJV9dRhA9lXQY8oTVpyDGlCuBqUYsE= Original-Received: by 10.231.180.156 with SMTP id bu28mr3006530ibb.66.1299502924537; Mon, 07 Mar 2011 05:02:04 -0800 (PST) Original-Received: by 10.231.39.199 with HTTP; Mon, 7 Mar 2011 05:02:04 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.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: 0cEgd25Fd - 39baa2235a03 - 20110307 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:66728 Archived-At: Hello, I am trying to use tikz's remember picture and overlay for absolute positioning. With the code below, the content in the tikz picture appears on a new page after the slide title. I want it to appear on the same page. Please see the minimal example below. I have explained with comments where the problem occurs. Thanks for your help. \setuppapersize[S6][S6] \setuplayout[backspace=0.5in, width=middle, header=0.25in, topspace=0.25in, height=middle] \setupbackgrounds[page][background=color, backgroundcolor=linen] \setupwhitespace[medium] \setuppagenumbering[location=] \setupcolors[state=start] \setupinteraction[state=start,color=blue] \setupcolor[xwi] \definehead[slidetitle][subject] \setuphead[slidetitle][style=\tfb, color=lightsteelblue] \def\SlideTitle#1{\page\framed[frame=off, background=color, % backgroundcolor=gray:9]{\slidetitle{#1}}} \usemodule[simplefonts] \setmainfont[Helvetica] \switchtobodyfont[20pt] \definehead[slidetitle][subject] \setuphead[slidetitle][style=\tfb, color=lightsteelblue] \def\SlideTitle#1{\page\framed[frame=off, background=color, % backgroundcolor=gray:9]{\slidetitle{#1}}} \starttext \SlideTitle{Product Characteristics and Quality} % This tikz content should appear on the same page as the title, but it appears % on a new page. If I use \subject{Product Characteristics and Quality} then % the tikz content appears on the same page. \starttikzpicture[remember picture, overlay] \node[xshift=2in, yshift=2in] at (current page.north west) [text width = 2in]{Weight?} \stoptikzpicture % The following content appears on another page after the tikz content. This is independent % of whether I use \SlideTitle or \subject. How can I make all of these appear on the same page? MORE CONTENT HERE \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________