ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, Hans van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: Re: \page[header]
Date: Sun, 22 May 2016 15:40:06 +0000	[thread overview]
Message-ID: <9E9EA0DA-524F-41B9-B026-8026533AA1E3@uva.nl> (raw)
In-Reply-To: <f3635871-40e8-5179-5bc6-e2613b6c5523@wxs.nl>


> On 22 May 2016, at 16:32, Hans Hagen <pragma@wxs.nl> wrote:
> 
> On 5/22/2016 2:32 PM, Meer, Hans van der wrote:
>> According to the description of \page in the contextgarden:
>> "header - set header off temporarily"
>> 
>> But although this gives two pages numbered 1 and 2:
>> \starttext
>> \input knuth
>> \page
>> \input knuth
>> \stoptext
>> 
>> This one does not honour the new page but typesets everything on page 1:
>> \starttext
>> \input knuth
>> \page[header]
>> \input knuth
>> \stoptext
>> 
>> Is that as intended?
> 
> yes, it just changes a state, but you can use \page[header,yes]

It is not clear as yet.
\starttext
\input knuth
\page[header,yes]
\input knuth
\page[header,yes]
\input knuth
\stoptext
Here I get three pages, the first two without the last with header. That I understand.

\starttext
\input knuth
\page[header]
\page
\input knuth
\stoptext
Both pages keep their header.

\starttext
\input knuth
\page
\page[header]
\input knuth
\stoptext
Both pages keep their header.

Should I conclude that the state change occurs if and onlyif when in the same macrocall a real pagebreak is realize?
Because otherwise I do not observe a state change.

Hans van der Meer




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

  reply	other threads:[~2016-05-22 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-22 12:32 \page[header] Meer, Hans van der
2016-05-22 14:32 ` \page[header] Hans Hagen
2016-05-22 15:40   ` Meer, Hans van der [this message]
2016-05-22 15:44     ` \page[header] Wolfgang Schuster
2016-05-22 15:54       ` \page[header] Meer, Hans van der

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=9E9EA0DA-524F-41B9-B026-8026533AA1E3@uva.nl \
    --to=h.vandermeer@uva.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).