From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45296 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.comp.tex.context Subject: Re: Different footers for different parts of a project Date: Wed, 5 Nov 2008 01:00:15 +0100 Message-ID: <20081105000015.GL2264@atos.labs.wmid.amu.edu.pl> References: <20081104210137.GD2264@atos.labs.wmid.amu.edu.pl> <76EA300C-EB2B-4BE2-818F-E767D3755097@gmail.com> <20081104214450.GG2264@atos.labs.wmid.amu.edu.pl> <20081104224704.GK2264@atos.labs.wmid.amu.edu.pl> <7278408D-5B9D-467C-8B07-810D9BF2C8FB@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225843321 19458 80.91.229.12 (5 Nov 2008 00:02:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2008 00:02:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 05 01:03:03 2008 connect(): Connection refused 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 1KxVrK-0000Ph-7R for gctc-ntg-context-518@m.gmane.org; Wed, 05 Nov 2008 01:02:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AC761FB95; Wed, 5 Nov 2008 01:01:44 +0100 (CET) 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 14380-03; Wed, 5 Nov 2008 01:00:56 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E75F1FB5A; Wed, 5 Nov 2008 01:00:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E92C1FB5A for ; Wed, 5 Nov 2008 01:00:52 +0100 (CET) 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 13336-01-4 for ; Wed, 5 Nov 2008 01:00:16 +0100 (CET) Original-Received: from atos.wmid.amu.edu.pl (atos.wmid.amu.edu.pl [150.254.78.2]) by ronja.ntg.nl (Postfix) with ESMTP id 642541FADF for ; Wed, 5 Nov 2008 01:00:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by atos.wmid.amu.edu.pl (Postfix) with ESMTP id EB47815328B6 for ; Wed, 5 Nov 2008 01:00:15 +0100 (CET) X-Virus-Scanned: by amavisd-new (PLD-Linux) at wmid.amu.edu.pl Original-Received: from atos.wmid.amu.edu.pl ([127.0.0.1]) by localhost (atos.wmid.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id cnhZ30-Pkuvl for ; Wed, 5 Nov 2008 01:00:15 +0100 (CET) Original-Received: by atos.wmid.amu.edu.pl (Postfix, from userid 3884) id B52F615328B7; Wed, 5 Nov 2008 01:00:15 +0100 (CET) Content-Disposition: inline In-Reply-To: <7278408D-5B9D-467C-8B07-810D9BF2C8FB@gmail.com> User-Agent: Mutt/1.4.2.3i 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:45296 Archived-At: Dnia Wed, Nov 05, 2008 at 12:00:30AM +0100, Wolfgang Schuster napisał(= a): > = > Am 04.11.2008 um 23:47 schrieb Marcin Borkowski: > = > > Dnia Tue, Nov 04, 2008 at 10:58:32PM +0100, Wolfgang Schuster = > > napisał(a): > >> > >> Am 04.11.2008 um 22:44 schrieb Marcin Borkowski: > >> > >>> Dnia Tue, Nov 04, 2008 at 10:37:26PM +0100, Wolfgang Schuster > >>> napisał(a): > >>>> > >>>> Am 04.11.2008 um 22:01 schrieb Marcin Borkowski: > >>>> > >>>>> Hi, > >>>>> > >>>>> yet another question from me;). > >>>>> > >>>>> I have a project divided into products divided into components. > >>>>> When I > >>>>> typeset a component, I want to get it's title (I keep it in a > >>>>> variable) > >>>>> in the footer. If I typeset the wqhole project, I want to have = > >>>>> the > >>>>> pagenumber there instead. > >>>>> > >>>>> How do I do it? (I mean what to put in the > >>>>> environment/product/component code?) > >>>> > >>>> \startmode[*product] > >>>> ... > >>>> \stopmode > >>> > >>> And: is there a corresponding \startmode[*project] ... \stopmode > >>> construct? > >> > >> Yes. > > > > Yes, that's right. However, it won't work wrt. arranging. If I put > > \setuppapersize[A5][A4] > > \setuparranging[2UP,rotated] > > > > within > > \startmode[*project] > > ... > > \stopmode > > > > I have still to repeat > > \setuparranging[normal] > > > > within > > \startmode[*product] > > ... > > \stopmode > > > > etc. > > > > Is it a bug or a feature? (Seems a bug for me;).) > = > I guess you missed something in your files, it works for me. So here are my files: env.tex: =3D=3D=3D=3D=3D=3D \environment env \startmode[*project] \setupheadertexts[Project] \setuppapersize[A5][A4] \setuparranging[2UP,rotated] \stopmode \startmode[*product] \setupheadertexts[Product] \stopmode \startmode[*component] \setupheadertexts[Component] \stopmode =3D=3D=3D=3D=3D=3D project.tex: =3D=3D=3D=3D=3D=3D \startproject project \environment env \product product \stopproject =3D=3D=3D=3D=3D=3D product.tex: =3D=3D=3D=3D=3D=3D \startproduct product \project project \component component \stopproduct =3D=3D=3D=3D=3D=3D component.tex: =3D=3D=3D=3D=3D=3D \startcomponent component \project project Hello component! \blank \input tufte \blank \input knuth \stopcomponent =3D=3D=3D=3D=3D=3D So that only the whole project should be typest 2-up - but everything gets arranged that way... > = > Wolfgang Greets -- = Marcin Borkowski (http://mbork.pl) Ty okry=B3e=B6 =B6mier=E6 wstydem! Wtr=B1ci=B3e=B6 piek=B3o w =BFa=B3ob=EA! Uderzy=B3e=B6 niegodziwo=B6=E6, Niesprawiedliwo=B6=E6 pozbawi=B3e=B6 potomstwa! ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________