From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69207 Path: news.gmane.org!not-for-mail From: Julian Becker Newsgroups: gmane.comp.tex.context Subject: Re: writing the name of the section on all the pages Date: Wed, 15 Jun 2011 18:27:14 +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 Content-Type: multipart/mixed; boundary="===============0227826359==" X-Trace: dough.gmane.org 1308155261 3027 80.91.229.12 (15 Jun 2011 16:27:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 16:27:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 15 18:27:36 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 1QWswG-0004th-Kd for gctc-ntg-context-518@m.gmane.org; Wed, 15 Jun 2011 18:27:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73CB8CADAE; Wed, 15 Jun 2011 18:27:31 +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 HE30WvBfdBnk; Wed, 15 Jun 2011 18:27:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CAF28CADA5; Wed, 15 Jun 2011 18:27:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69FAFCADA5 for ; Wed, 15 Jun 2011 18:27:27 +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 QrSUWqkcLcU6 for ; Wed, 15 Jun 2011 18:27:16 +0200 (CEST) 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 1B2C5CAD97 for ; Wed, 15 Jun 2011 18:27:16 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5FGREQJ003255 for ; Wed, 15 Jun 2011 18:27:15 +0200 Original-Received: by ewy9 with SMTP id 9so316317ewy.14 for ; Wed, 15 Jun 2011 09:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pI7ZS3azr5zPGscusfbp1UjeuDEUtTnOVB70oQ3MB7E=; b=L4HWSTkH8keWlBIBzNGmLwPJQ9U7lNQdqhE/WApFBeNABZYuhsHMO8bwM9cLZaIDRp otLmv+iaheWfCuYFodCTQXd6kte/1M/XOgw31gGXbc6rTg7dN3MjOdfpi2UlWVEcz9fK FOGTnsLvvda6GkMwXu4iMUXuhe497ory6Ewtc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=luAZzSScJRjmJTXWbsS8cWJmPk3CyejEERgNsIZPEUClyiuK4kVLSmARIlY9wtWS5h vX+ladbgtQN6wCAgzcIxoezZi4xg5ueXwxzE4DzhndQ5v/vHtiRpoykiTGsonXo68rqF qT8D2ETMLBUTEeLWAcVpHZQn3jwjBQyX5l4yo= Original-Received: by 10.14.53.136 with SMTP id g8mr372649eec.239.1308155234476; Wed, 15 Jun 2011 09:27:14 -0700 (PDT) Original-Received: by 10.14.127.201 with HTTP; Wed, 15 Jun 2011 09:27:14 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 0cEUgreH4 - 818295121d33 - 20110615 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:69207 Archived-At: --===============0227826359== Content-Type: multipart/alternative; boundary=000e0cdfd4680fe32604a5c2a047 --000e0cdfd4680fe32604a5c2a047 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there a way to skip these margin texts momentarily, e.g. on the first page of a new chapter? Julian 2011/5/20 Wolfgang Schuster > > Am 19.05.2011 um 23:59 schrieb : > > > Thanks again, > > > > it works very well. However I still have one question: is it possible t= o > decide of the placement of the overlay and its alignment? With your examp= le > the section name is centered both horizontally and vertically. I'd like t= o > 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=3Drepeat] > \defineoverlay [side] [{\rotate[rotation=3D90]{\getmarking[section]}}] > \setupbackgrounds [text] [rightmargin] [background=3Dside] > > with > > \setuptexttexts [margin] > [][\rightaligned{\rotate[rotation=3D90]{\getmarking[section]}}] > [\leftaligned{\rotate[rotation=3D90]{\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 > > _________________________________________________________________________= __________ > --=20 Julian Becker Institut f=FCr Angewandte Physik, R.123 Westf=E4lische Wilhelms-Universit=E4t M=FCnster Corrensstr. 2/4 48149 M=FCnster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_beck16@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." --000e0cdfd4680fe32604a5c2a047 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Is there a way to skip these margin texts momentarily, e.g. on the fir= st page of a new chapter?

Julian

2011/5/20 Wolfgang Schuster <schuster.wolfgang@googlem= ail.com>

Am 19.05.2011 um 23:59 schrieb <al= exandre@stdin.fr>:

> 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 exam= ple 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 et= c.) but in your case you can replace

\setupbackgrounds [state=3Drepeat]
\defineoverlay [side] [{\rotate[rotation=3D90]{\getmarking[section]}}]
\setupbackgrounds [text] [rightmargin] [background=3Dside]

with

\setuptexttexts [margin]
=A0[][\rightaligned{\rotate[rotation=3D90]{\getmarking[section]}}]
=A0[\leftaligned{\rotate[rotation=3D90]{\getmarking[section]}}][]

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________



--
Julian Beck= er
Institut f=FCr Angewandte Physik, R.123
Westf=E4lische Wilhelms-Un= iversit=E4t M=FCnster
Corrensstr. 2/4
48149 M=FCnster / Westfalen
= Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_beck16@uni-muenster.de

"Keep thy heart with all diligenc= e; for it is the wellspring of life."
--000e0cdfd4680fe32604a5c2a047-- --===============0227826359== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0227826359==--