From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104713 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setupheadertexts \setupfootertexts Date: Fri, 2 Aug 2019 23:36:47 +0200 Message-ID: References: <20190802122929.1a853a7e@poo.hsd1.co.comcast.net> <20190802142614.0053e1d2@poo.hsd1.co.comcast.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4883001061411922148==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="187625"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/6.1.18 Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 02 23:37:06 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htfEW-000max-8F for gctc-ntg-context-518@m.gmane.org; Fri, 02 Aug 2019 23:37:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2A458153107; Fri, 2 Aug 2019 23:36:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lYS3SHW-LWvt; Fri, 2 Aug 2019 23:36:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 580C7153105; Fri, 2 Aug 2019 23:36:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 24305153105 for ; Fri, 2 Aug 2019 23:36:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qq9ohUfQLB9O for ; Fri, 2 Aug 2019 23:36:50 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.54; helo=mail-wm1-f54.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7894D1530B1 for ; Fri, 2 Aug 2019 23:36:50 +0200 (CEST) Original-Received: by mail-wm1-f54.google.com with SMTP id a15so69230230wmj.5 for ; Fri, 02 Aug 2019 14:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=1VN7tOWbTnXUjnRhFq1+pJMMmnQ/83dHzdl1LgkcZhk=; b=unTM/nfSMC2nqSgN1ZrkSIkIAdk6Shu0NTcrpW99v4nj9LZBGqapZql5bASBNEytjP QS1R+ACAd3M2SrOzOyFRzEXLf6l1q6HCishou3DHkCeYl810MiQFUN1VeOIGtfEou1gH /dg85QMygPyL/zS+Wenf22EFz6IJnuJM9pTIu2I68GdS+CyBrDvDUyV7nTle/H2p3B0K 5DxLRbIqn5KdvoAv3CgjSTObze9PtOrtN9creTpmVfq+O8fz4xeSeDluM8oNNJx5/Fp5 W/p7LzfCqZNhbV5DnMo1dTIxCYEg3apLM9MXkV2T3DephEt1PvEm3ks4DVJfdvHViJ70 K33Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=1VN7tOWbTnXUjnRhFq1+pJMMmnQ/83dHzdl1LgkcZhk=; b=nSOobm6aBI14Wyo/fisuJYeaBd4B7P4mYXPy344VEvuqN2wjKpVC3FfA7nul+Nx3pl ad7DpOpp61Ehgg256QIXkubI9w3axUrs8A92RIRYoAivkOvwbHCmPo1IX0A3tQjGuw7G 6N05lryQ/azCGYBU/9E4S7I4lKiWyaWCVzT98m3Ta9gZ+rRNtSoHMOwy4Wa9BFAJHXAo RrmLa0QA39WAeShjq6YK7MB0WQEOIX0e6MBTx1HHqazk5Lt3ge8n2ucGg4HPOQzkYYBi SMbn2KngsyQ0uLWZnJIFNKt74QBm5C72v6ekx6F2sMDMax5Uj/JkcEwqaXQ3bS1UcS8s /yZg== X-Gm-Message-State: APjAAAUN2CRGDC9YYcqvcTOdOeXF4cQB11fqY0e72xeZIxNm3VB7awpb NsUW5FwYw+sJyUUxAqdJLag= X-Google-Smtp-Source: APXvYqynu+VJACgMEJfJ24czPJfocg3Th35Fj9dzz7z9xpTSyroiv1GbdjkCXcqtQvPPu8KOagIBPA== X-Received: by 2002:a05:600c:490:: with SMTP id d16mr6004007wme.104.1564781810093; Fri, 02 Aug 2019 14:36:50 -0700 (PDT) Original-Received: from [192.168.1.7] (x4d042e6d.dyn.telefonica.de. [77.4.46.109]) by smtp.gmail.com with ESMTPSA id v65sm89808486wme.31.2019.08.02.14.36.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Aug 2019 14:36:49 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.org gmane.comp.tex.context:104713 Archived-At: This is a multi-part message in MIME format. --===============4883001061411922148== Content-Type: multipart/alternative; boundary="------------DCDB3EB1CD3EFDD43F5BA4F8" Content-Language: en-US This is a multi-part message in MIME format. --------------DCDB3EB1CD3EFDD43F5BA4F8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hans Hagen schrieb am 02.08.2019 um 23:10: > On 8/2/2019 10:26 PM, Alan Braslau wrote: > >> \setupheader [lefttext=,leftoddtext=,middletext=,...] >> >> This would be logical. > we have a lot or areas ... and if you really want you can do this ... > > \setuplayouttext >   [header][text] >   [lefttext=L, >    middletext=M, >    righttext=\doifoddpageelse{RO}{RE}] > > \setuplayouttext >   [footer][text] >   [lefttext=L, >    middletext=M, >    righttext=\doifoddpageelse{RO}{RE}] > > \setuppagenumbering >   [alternative=doublesided] > > \starttext >    test \page test \page test > \stoptext > > Has been there for ages ... (but I never use that method). I has the same question a few years ago but I never used it because it has a few limitations like missing style/color support. \setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R] %\setupheadertexts[M] %\setupheadertexts[L][R] \setupheader   [color=red,style=bold] \setuppagenumbering   [alternative=doublesided] \starttext \dorecurse{2}{\page[dummy]} \stoptext Wolfgang --------------DCDB3EB1CD3EFDD43F5BA4F8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hans Hagen schrieb am 02.08.2019 um 23:10:
On 8/2/2019 10:26 PM, Alan Braslau wrote:

\setupheader [lefttext=,leftoddtext=,middletext=,...]

This would be logical.
we have a lot or areas ... and if you really want you can do this ...

\setuplayouttext
  [header][text]
  [lefttext=L,
   middletext=M,
   righttext=\doifoddpageelse{RO}{RE}]

\setuplayouttext
  [footer][text]
  [lefttext=L,
   middletext=M,
   righttext=\doifoddpageelse{RO}{RE}]

\setuppagenumbering
  [alternative=doublesided]

\starttext
   test \page test \page test
\stoptext

Has been there for ages ... (but I never use that method).
I has the same question a few years ago but I never used it
because it has a few limitations like missing style/color support.

\setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R]

%\setupheadertexts[M]
%\setupheadertexts[L][R]

\setupheader
  [color=red,style=bold]

\setuppagenumbering
  [alternative=doublesided]

\starttext
\dorecurse{2}{\page[dummy]}
\stoptext

Wolfgang

--------------DCDB3EB1CD3EFDD43F5BA4F8-- --===============4883001061411922148== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4883001061411922148==--