ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupheadertexts \setupfootertexts
Date: Fri, 2 Aug 2019 23:36:47 +0200	[thread overview]
Message-ID: <f8826751-52e5-05c8-861d-1d00fff7a069@gmail.com> (raw)
In-Reply-To: <f99239ef-5b2e-5d6e-fecc-fae4d876ba31@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1069 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1623 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2019-08-02 21:36 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 [this message]
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

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=f8826751-52e5-05c8-861d-1d00fff7a069@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /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).