From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35415 Path: news.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Layers in ConTeXt Date: Fri, 13 Jul 2007 11:31:27 +0200 Message-ID: <1235056452.20070713113127@iol.it> 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: sea.gmane.org 1184319081 1253 80.91.229.12 (13 Jul 2007 09:31:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 09:31:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 13 11:31:20 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1I9HUe-0004ob-1m for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jul 2007 11:31:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B42FF201B5; Fri, 13 Jul 2007 11:31:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08191-04-10; Fri, 13 Jul 2007 11:31:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B0E92200C9; Fri, 13 Jul 2007 11:31:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DDFFA200C9 for ; Fri, 13 Jul 2007 11:31:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08191-04-9 for ; Fri, 13 Jul 2007 11:31:09 +0200 (CEST) Original-Received: from jack.tiscali.it (jack.tiscali.it [213.205.33.53]) by ronja.ntg.nl (Postfix) with ESMTP id 43B1520008 for ; Fri, 13 Jul 2007 11:31:09 +0200 (CEST) Original-Received: from [192.168.0.3] (62.10.82.222) by jack.tiscali.it (7.2.079) id 4681176E0029031A for ntg-context@ntg.nl; Fri, 13 Jul 2007 11:31:08 +0200 X-Mailer: The Bat! (v3.5.25) Professional X-Priority: 3 (Normal) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35415 Archived-At: Hello all, I have a couple of questions concerning the use of layers in ConTeXt. I'm working with Luigi Scarso on a layout which is characterized by some fixed-position elements surrounding the actual main body of text. For the fixed-position elements, I'm using layers. However, my ConTeXt is a little rusty[*], so there are a couple of things which I need hints for. The first one is very simple: is there a way to 'fix' the layer's content "until they change"? I've currently set them as page backgrounds, but their content gets reset on each new page. The second question is slightly more complex: is there a way to add contents to a layer, rather than replacing the current layer content? Something like a macro \addtolayer[layername][hoffset=whatever(optional)]{additional content} Thanks in advance, -- Giuseppe "Oblomov" Bilotta P.S. To prove that it's really me, I'll signal two minor typos in the context source: core-tab.tex:88:%D {inintable, ifsplittables} (first should be ifintable), and page-lyr.tex:81: \c!x=\zeropoint,\c!y=\zeropoint,\c!position=\v!no, page-lyr.tex:87: \c!location=rb,\c!position=\v!no,\c!page=, position=no is set twice in the same setup. [*] I've been out of the loop for a couple of years, the University has sucked up most of my time. I was never too happy with it, and I'm planning on a comeback :D ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________