From: Hans Hagen <j.hagen@xs4all.nl>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupheadertexts \setupfootertexts
Date: Sat, 3 Aug 2019 00:46:37 +0200 [thread overview]
Message-ID: <a9a9f9f0-c16f-06ec-070b-84c79947d52f@xs4all.nl> (raw)
In-Reply-To: <f8826751-52e5-05c8-861d-1d00fff7a069@gmail.com>
On 8/2/2019 11:36 PM, Wolfgang Schuster wrote:
> 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
I can look into that but only when there is no speed penalty
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2019-08-02 22:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 18:29 Alan Braslau
2019-08-02 19:08 ` Wolfgang Schuster
2019-08-02 20:26 ` Alan Braslau
2019-08-02 21:10 ` Hans Hagen
2019-08-02 21:36 ` Wolfgang Schuster
2019-08-02 21:59 ` Alan Braslau
2019-08-02 22:23 ` Hans Hagen
2019-08-02 22:31 ` Hans Hagen
2019-08-02 22:46 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a9a9f9f0-c16f-06ec-070b-84c79947d52f@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).