ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Force to display page number on the `makeup' page
Date: Sun, 24 May 2015 20:14:25 +0200	[thread overview]
Message-ID: <BFAB4B31-7570-472C-A824-627E126C67C5@gmail.com> (raw)
In-Reply-To: <CAKu-7WzqM+tkN5-k=9b7mnZLNGpwYbM504BjHSUa+=S8=E6=Jw@mail.gmail.com>


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


> Am 24.05.2015 um 20:03 schrieb Alexander Shukaev <haroogan@gmail.com>:
> 
> Hello,
> 
> I have a special `makeup' for the abstract page:
> 
> \definemakeup
> [abstractpage]
> 
> I also have general `makeup' setup:
> 
> \setupmakeup[
>   doublesided={no},
>     pagestate={start},
>          page={yes},
> ]
> 
> The footer is available from general `layout' setup:
> 
> \setuplayout[
>   footer={16pt},
>   header={\zeropoint},
>   margin={\zeropoint},
> ]
> 
> Page numbering comes from general `pagenumbering' setup:
> 
> \setuppagenumbering
> [location={footer}]
> 
> I'm aware that `makeup' pages don't display page numbers even though they can count them with the `pagestate={start}' setting.  However, for this particular `makeup' (`abstractpage') I would like to force the display of page number.  I've tried
> 
> \startabstractpagemakeup
> 
> \setuppagenumbering
> [location={footer}]
> 
> ...
> 
> \stopabstractpagemakeup
> 
> in hope that `makeup' simply sets `location=' behind the scenes to hide the page number, but it seems that I was wrong.  Is it possible to force page number placement for a particular `makeup'?  Thanks a lot.

You can enable the header with the headerstate key and the footer with the footerstate key.

\setupmakeup[standard][pagestate=start]

\starttext

\input knuth

\startmakeup[standard]
\input knuth
\stopmakeup

\input knuth

\startmakeup[standard][headerstate=start]
\input knuth
\stopmakeup

\input knuth

\stoptext

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-05-24 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24 18:03 Alexander Shukaev
2015-05-24 18:14 ` Wolfgang Schuster [this message]
2015-05-24 19:20   ` Alexander Shukaev
2015-05-24 19:34     ` Wolfgang Schuster

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=BFAB4B31-7570-472C-A824-627E126C67C5@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).