ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: hiding page number in postponed makeup page
Date: Thu, 21 Sep 2017 22:20:41 +0200	[thread overview]
Message-ID: <6d1cba07-2bba-6731-2ec4-d77c883d9acd@wxs.nl> (raw)
In-Reply-To: <e83bd21d-d76b-1017-15c2-67f2d5943a4c@gmx.es>

On 9/20/2017 8:32 PM, Pablo Rodriguez wrote:
> On 09/19/2017 11:29 PM, Henning Hraban Ramm wrote:
>> [...]
>> Thank you for the suggestion, but it doesn’t help, not even in the MWE.
> 
> I don’t know, but the postponed page doesn’t behave as a makeup (at
> least, with the page number):
> 
>      \setuppapersize[A9]
>      \starttext
>      \startbuffer[makeup]
>      \startmakeup[standard][align=middle]
>      123
>      \stopmakeup
>      \stopbuffer
>      \getbuffer[makeup]
> 
>      \startpostponing[3]
>          \getbuffer[makeup]
>      \stoppostponing
> 
>      \input knuth
> 
>      \getbuffer[makeup]
> 
>      \input knuth
> 
>      \getbuffer[makeup]
>      \stoptext
> 
> It is also weird that real page 10 gets a page label. Default pagestate
> is stop (behavior is correct only on the first page [makeup on last page
> also fails]).
postponed flushing happens inside the output routine and therefore has 
some limitations (other solutions would also have such limitations)

anyway, i do some extra checking now .. this was my test

\starttext

\startbuffer[makeup]
\startpagemakeup[pagestate=start,page=no]
     \color[red]{
         \vfill
         \dorecurse{3}{
             \samplefile{klein}
             \vfill
         }
     }
\stoppagemakeup
\stopbuffer

\startcolor[green]
     \dorecurse{10}{
         \dontleavehmode{\bf 1:#1:} \samplefile{sapolsky}\par
     }
\stopcolor

\startpostponing % [+3]
     \getbuffer[makeup]
\stoppostponing

\startcolor[blue]
     \dorecurse{25}{
         \dontleavehmode{\bf 2:#1:} \samplefile{sapolsky}\par
     }
\stopcolor

\stoptext

i'm not sure if this will stay the way it is but it needs testing.

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
___________________________________________________________________________________

  parent reply	other threads:[~2017-09-21 20:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 14:46 Henning Hraban Ramm
2017-09-19 15:15 ` Pablo Rodriguez
2017-09-19 21:29   ` Henning Hraban Ramm
2017-09-20 18:32     ` Pablo Rodriguez
2017-09-21  7:46       ` Henning Hraban Ramm
2017-09-21 20:20       ` Hans Hagen [this message]
2017-09-23 10:45         ` Henning Hraban Ramm

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=6d1cba07-2bba-6731-2ec4-d77c883d9acd@wxs.nl \
    --to=pragma@wxs.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).