From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82336 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Layer for all pages and for specific pages Date: Mon, 06 May 2013 08:26:06 +0200 Message-ID: <51874CFE.3000605@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367821585 7110 80.91.229.3 (6 May 2013 06:26:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 May 2013 06:26:25 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 06 08:26:26 2013 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 1UZEsT-0003US-J9 for gctc-ntg-context-518@m.gmane.org; Mon, 06 May 2013 08:26:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE211101E0; Mon, 6 May 2013 08:26:24 +0200 (CEST) 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 zTtxfSdSf2D8; Mon, 6 May 2013 08:26:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 47FE3101E4; Mon, 6 May 2013 08:26:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32602101E4 for ; Mon, 6 May 2013 08:26:21 +0200 (CEST) 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 FtbXchvCY1kQ for ; Mon, 6 May 2013 08:26:20 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 65F1D101E0 for ; Mon, 6 May 2013 08:26:10 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r466Q9bn009938 for ; Mon, 6 May 2013 08:26:09 +0200 Original-Received: from [192.168.0.101] (dyndsl-095-033-072-097.ewe-ip-backbone.de [95.33.72.97]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MYcHS-1V3TLn1Css-00VXpv; Mon, 06 May 2013 08:26:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 X-Provags-ID: V02:K0:yWp6ODn9YzfcUjqHtT/PKmaWgi1dfZFF8aXUqWq3ZG9 ofSUfKmf+VUMyF66assJlSRGBeWKYIAw5tk+Y5McJlb526KSP6 0s2M4Z/2ro9aYGrJhtKj7n30wZfhe/XcyYkT+s5Gd9IKqtwciF xobeN7+wFyD7AjOcXOUwJoya1+XZLfjXDge22sarD7/SsLTrrn vz8Ro0gxcrjIYgrI7QvdjMvgPK4lgLbSVfO0EcoiyjooCi5X0P CzH7dvJfAW6xBfIaN8IepKQWYUoasxVk2kpX+pPRyNFvB1HOp9 o6wUOBKlUeCMZeVo80LK0JY3ZeOCOrvc29OGH0dKMXw9SVvCCa JJkMECIXtLgP2SKJLNaw= X-Bayes-Prob: 0.9087 (Score 4.2, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.171; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJwuq9Fb - 0576f96e2e57 - 20130506 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82336 Archived-At: Hi, I use a vertical line (realized as a layer) for a bilingual project. My question is: 1. How can I set this line on all pages? 2. How can I control, on which pages it is set, and on which not? I tried it with state=start/stop/repeat, but that did not work. Here my try: \definelayer[mybg] [x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setlayer[mybg] [hoffset=10cm, voffset=4cm] {\blackrule[width=1pt, height=\vsize, depth=0.5ex]} \setupbackgrounds[page][background=mybg] \setuptolerance[tolerant,stretch] \starttext \input knuth \page \input knuth \stoptext Thanks for help. Huseyin ___________________________________________________________________________________ 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 ___________________________________________________________________________________