From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50121 Path: news.gmane.org!not-for-mail From: Markus Hubig Newsgroups: gmane.comp.tex.context Subject: Switching Layers on and off Date: Fri, 8 May 2009 15:53:44 +0200 Message-ID: <1a3190fd0905080653w6693df0di8e0d2823553dfec1@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0958038262==" X-Trace: ger.gmane.org 1241790875 30305 80.91.229.12 (8 May 2009 13:54:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 May 2009 13:54:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 08 15:54:20 2009 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 1M2QWq-0005IX-Ky for gctc-ntg-context-518@m.gmane.org; Fri, 08 May 2009 15:54:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40AD81FB38; Fri, 8 May 2009 15:54:20 +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 12310-05-4; Fri, 8 May 2009 15:53:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6F98B1FE0C; Fri, 8 May 2009 15:53:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 898431FE09 for ; Fri, 8 May 2009 15:53:53 +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 12494-08-5 for ; Fri, 8 May 2009 15:53:45 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 9051A1FE1D for ; Fri, 8 May 2009 15:53:45 +0200 (CEST) Original-Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n48DrilE015136 for ; Fri, 8 May 2009 15:53:44 +0200 Original-Received: by bwz26 with SMTP id 26so1477009bwz.2 for ; Fri, 08 May 2009 06:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Vkb5MZfuXWdX3osaKIbDhdCbjBya5qawe935evemAnE=; b=W22V5a90vjPQ40qneK9wHmbpVDbYCfkvO63JY3P8+udhZuNdyVxespV3ab/ftm9uZl L4DGY2j1V4uhDsRpWpPps4IpfUqu3cClhxINOwLqx2z+BNAgJSp6NYt+l7sMmgxkdDq1 FVmtq3zauWaCRqxNzIo+EWWV+Ml7J87evipnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=G5UmZ6j1y9Hxq+t2EJOQojGPbKlak3IBU+QbmGrdU7OLVG0wV+Acwp8CyUu1PJ+sP5 caIGLhyQQCxV60UVKGfvnsk8PM1i9CjLFxGibyoUF2dAbh7i5HtHfU/TYQA9rGonV0hF QnZu/VeTk1WBaVW5n6iYDFFjqMl9Wr5VRbCJs= Original-Received: by 10.204.71.82 with SMTP id g18mr3641681bkj.120.1241790824283; Fri, 08 May 2009 06:53:44 -0700 (PDT) X-Google-Sender-Auth: 1cbca7d642cd63f2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.178; 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: 221865700 - 5c413a5a7e32 - 20090508 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50121 Archived-At: --===============0958038262== Content-Type: multipart/alternative; boundary=00504502daacf77f5b046966f41b --00504502daacf77f5b046966f41b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi @all, l'm trying to some vertical text into the margins of my Document. But I don't wanna have this text on every page so I'm looking for a solution to switch it on or off ... I tried this but it doesn't work: *environment File:* \setupbackgrounds [leftpage] [background=Watermark-Left] \definelayer [Watermark-Left] [width=\paperwidth, height=\paperheight, state=stop] \setlayer [Watermark-Left] [hoffset=1cm, voffset=1cm] {\scale[sx=2,sy=3]{\rotate[rotation=-90.0]{margintext}}} *Project File:* \startbodymatter \setupbackgrounds[lefttpage][state=repeat] \stopbodymatter Maybe some knows a solution for this ... Markus -- -------------------"it's like this"------ even samurai have teddy bears and even teddy bears get drunk --00504502daacf77f5b046966f41b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi @all,

l'm trying to some vertical text into the margins of my= Document.
But I don't wanna have this text on every page so I'm= looking for a
solution to switch it on or off ... I tried this but it d= oesn't work:

environment File:

\setupbackgrounds
=A0 [leftpage]
= =A0 [background=3DWatermark-Left]

\definelayer
=A0[Watermark-Left]
=A0[width=3D\paperwidth,
=A0 heig= ht=3D\paperheight,
=A0 state=3Dstop]

\setlayer
=A0[Watermark-Left]
=A0[hof= fset=3D1cm, voffset=3D1cm]
=A0{\scale[sx=3D2,sy=3D3]{\rotate[rotation=3D-90.0]{margintext}}}

Project File:

\startbodymatter
=A0 \setupbackg= rounds[lefttpage][state=3Drepeat]
\stopbodymatter

Maybe some knows a solution for this ...

Mark= us

--
-------------------"it's like this"------even samurai have teddy bears
and even teddy bears get drunk
--00504502daacf77f5b046966f41b-- --===============0958038262== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0958038262==--