From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91591 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Force to display page number on the `makeup' page Date: Sun, 24 May 2015 20:14:25 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/mixed; boundary="===============1540570979==" X-Trace: ger.gmane.org 1432491327 5809 80.91.229.3 (24 May 2015 18:15:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 18:15:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 20:15:16 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YwaQd-0004tZ-UH for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2015 20:15:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB9F210224 for ; Sun, 24 May 2015 20:15:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EbB8vPTASKqA for ; Sun, 24 May 2015 20:15:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DB85910233 for ; Sun, 24 May 2015 20:14:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0D7F101FA for ; Sun, 24 May 2015 20:14:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iOwJSBOc79rY for ; Sun, 24 May 2015 20:14:33 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 61E84101E8 for ; Sun, 24 May 2015 20:14:29 +0200 (CEST) Original-Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t4OIES22026784 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 24 May 2015 20:14:28 +0200 Original-Received: by wgez8 with SMTP id z8so56882457wge.0 for ; Sun, 24 May 2015 11:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=LUNG/selmbqFczayRB5OVADmDOUglGrtJIEyLc+ZzfM=; b=h882ZncSvf4EHLzBd2+E/gc2bPS4ZfGb/boBAFq3hx5gknBSDLopbWpv4tIJCJ9PZH PB0PbsW4rmRrjwHaDlB/9HK085vpfWTRkvmEpIUV0ws95s1jHWQLMD6qfDgfZ9k+TgyJ mn9wpnbnOn11kRtZEoEoUR+shZNyQZ6XXEG+js1sR5f87TXZwXcIWN6ZZuonk497DIVU OqtF4b/A7KXnPVHwCoL5HuILx1pqt8yigYIDKdaMDRfuYpJL/92JFN4ZRF6NyPJRLzyN mnLSjE5D07FL0ZXrmXkRmlLMljDkHW3MDwFNHjRFz6nwgrCGZFcHLLKk29+ddcKeCibE q3PQ== X-Received: by 10.180.218.137 with SMTP id pg9mr24493738wic.79.1432491268244; Sun, 24 May 2015 11:14:28 -0700 (PDT) Original-Received: from keima.localdomain (x2f331a2.dyn.telefonica.de. [2.243.49.162]) by mx.google.com with ESMTPSA id fb3sm8129078wib.21.2015.05.24.11.14.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 May 2015 11:14:27 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.2098) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::231; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07OvSesnJ - cb8e65422607 - 20150524 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c00::231 as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:400c:c00::231; envelope-from=; helo=mail-wg0-x231.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:91591 Archived-At: --===============1540570979== Content-Type: multipart/alternative; boundary="Apple-Mail=_4203E06B-487D-462F-AC1C-B8F3D7D07E0F" --Apple-Mail=_4203E06B-487D-462F-AC1C-B8F3D7D07E0F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Am 24.05.2015 um 20:03 schrieb Alexander Shukaev : >=20 > Hello, >=20 > I have a special `makeup' for the abstract page: >=20 > \definemakeup > [abstractpage] >=20 > I also have general `makeup' setup: >=20 > \setupmakeup[ > doublesided=3D{no}, > pagestate=3D{start}, > page=3D{yes}, > ] >=20 > The footer is available from general `layout' setup: >=20 > \setuplayout[ > footer=3D{16pt}, > header=3D{\zeropoint}, > margin=3D{\zeropoint}, > ] >=20 > Page numbering comes from general `pagenumbering' setup: >=20 > \setuppagenumbering > [location=3D{footer}] >=20 > I'm aware that `makeup' pages don't display page numbers even though = they can count them with the `pagestate=3D{start}' setting. However, = for this particular `makeup' (`abstractpage') I would like to force the = display of page number. I've tried >=20 > \startabstractpagemakeup >=20 > \setuppagenumbering > [location=3D{footer}] >=20 > ... >=20 > \stopabstractpagemakeup >=20 > in hope that `makeup' simply sets `location=3D' 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=3Dstart] \starttext \input knuth \startmakeup[standard] \input knuth \stopmakeup \input knuth \startmakeup[standard][headerstate=3Dstart] \input knuth \stopmakeup \input knuth \stoptext Wolfgang --Apple-Mail=_4203E06B-487D-462F-AC1C-B8F3D7D07E0F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
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=3D{no},
    = pagestate=3D{start},
        =  page=3D{yes},
]

The footer is available from = general `layout' setup:

\setuplayout[
  = footer=3D{16pt},
  header=3D{\zeropoint},
  = margin=3D{\zeropoint},
]

Page = numbering comes from general `pagenumbering' setup:

\setuppagenumbering
[location=3D{footer}]

I'm aware that `makeup' pages = don't display page numbers even though they can count them with the = `pagestate=3D{start}' setting.  However, for this particular = `makeup' (`abstractpage') I would like to force the display of page = number.  I've tried

\startabstractpagemakeup

\setuppagenumbering
[location=3D{footer}]

...

\stopabstractpagemakeup

in hope that `makeup' simply = sets `location=3D' 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=3Dstart]
=

\starttext

\input knuth

\startmakeup[standard]
\input = knuth
\stopmakeup

\input = knuth

\startmakeup[standard][headerstate=3Dstart]
\input knuth
\stopmakeup

\input knuth

\stoptext

Wolfgang

= --Apple-Mail=_4203E06B-487D-462F-AC1C-B8F3D7D07E0F-- --===============1540570979== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1540570979==--