From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68522 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: writing the name of the section on all the pages Date: Fri, 20 May 2011 08:20:11 +0200 Message-ID: References: <54827.1305842363@stdin.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305872459 32684 80.91.229.12 (20 May 2011 06:20:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 06:20:59 +0000 (UTC) Cc: mailing list for ConTeXt users To: alexandre@stdin.fr Original-X-From: ntg-context-bounces@ntg.nl Fri May 20 08:20:55 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 1QNJ4w-0002Wb-R5 for gctc-ntg-context-518@m.gmane.org; Fri, 20 May 2011 08:20:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2827CAD22; Fri, 20 May 2011 08:20:53 +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 c+sw3yCLkv+w; Fri, 20 May 2011 08:20:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF459CAD15; Fri, 20 May 2011 08:20:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 41E6ACAD15 for ; Fri, 20 May 2011 08:20:48 +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 5ikEvezoVnun for ; Fri, 20 May 2011 08:20:37 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 157A7CAD13 for ; Fri, 20 May 2011 08:20:37 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4K6Kaai004435 for ; Fri, 20 May 2011 08:20:36 +0200 Original-Received: by fxm18 with SMTP id 18so3448370fxm.14 for ; Thu, 19 May 2011 23:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=hxJyyDAYCPFl+xEWivIuDqw9nvbRe2wF4r50Man8sxo=; b=H9hc+4328omsYS1vmWwPxDejfGgvLzedoCj3RKRGG44PNWjClHM0qRVnzQvU6nBqY6 tBvAH9fJyMFO6eaBJy81wNHqTDtUkQgLOfTZW1Z+hEyTL8VmLOWIBBLgOFmJVg+lEjkx ju8kn2751H5GbGMAlJcNksHqqxF98pPBK6fTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=DCtyYtjUHhYSiitIl1VGE4o/BFVTdkQm/vonzjMrZPY1UX/5XjonhKv9K39ut5ZMuE rQo/HpGb8vGSho4ULhpSX+h/UPfcLeWNWSOmqTaT76jN5ghXULcspQP+jjxdxflor2bX 0IN0Jl61tWJhYmfulsrvvSEqKsklx0uTkXp4M= Original-Received: by 10.223.127.210 with SMTP id h18mr4624174fas.71.1305872435769; Thu, 19 May 2011 23:20:35 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B29422D.dip.t-dialin.net [91.41.66.45]) by mx.google.com with ESMTPS id 9sm1314108fat.39.2011.05.19.23.20.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 May 2011 23:20:34 -0700 (PDT) In-Reply-To: <54827.1305842363@stdin.fr> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0xEJGkAEN - 22d06fd23202 - 20110520 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:68522 Archived-At: Am 19.05.2011 um 23:59 schrieb : > Thanks again, > > it works very well. However I still have one question: is it possible to decide of the placement of the overlay and its alignment? With your example the section name is centered both horizontally and vertically. I'd like to flush it right at least. In many cases you can replace your overlay with a layer (\setlayer etc.) but in your case you can replace \setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side] with \setuptexttexts [margin] [][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}] [\leftaligned{\rotate[rotation=90]{\getmarking[section]}}][] Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________