From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91593 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.comp.tex.context Subject: Re: Force to display page number on the `makeup' page Date: Sun, 24 May 2015 21:20:53 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2001881921==" X-Trace: ger.gmane.org 1432495309 32692 80.91.229.3 (24 May 2015 19:21:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 19:21:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 21:21:38 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 1YwbSs-0005Lb-0p for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2015 21:21:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A82310218 for ; Sun, 24 May 2015 21:21:37 +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 KlDVA6z7lK1S for ; Sun, 24 May 2015 21:21:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A64FC10230 for ; Sun, 24 May 2015 21:20:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3D5FF101FA for ; Sun, 24 May 2015 21:20:56 +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 Il5EAuu0P6ij for ; Sun, 24 May 2015 21:20:54 +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 D107B101E8 for ; Sun, 24 May 2015 21:20:54 +0200 (CEST) Original-Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t4OJKrkQ011040 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 24 May 2015 21:20:54 +0200 Original-Received: by lagv1 with SMTP id v1so38552305lag.3 for ; Sun, 24 May 2015 12:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7twc+pkKSET5rcDuXWXQKICltXjvBHztOvEN/3EgpNI=; b=VTpMDLiL01wmoS7X5zxn8As1b7/n+CeAXpslAaeW10EnHI+1i5ecc12wHLPL4IicuP Ol/GUJ9c/lXDXPWDhHzj1nbLDaF+QJCJau8i+CQMrUidYuIXGJs4aGKADH05a7C0FJGM OlZQGScUPfLRArJkBjG7uzZU6ZRUl7eNJkbGhL77UoVW1Jr2n5rN2gYkysQNSb8tqqgM h9kcFgeP3vUR8ECH9p4cLBaEhRxi5lRPRrUYNYzulc+MU9QcuW/ZLsic+xaIGktGXeMl 5X0PBIDGgC/bLxr6AoL8YzFp2RNVge1SRoQmsaDmh6zeNGGcuLmfjlurbNiT7OFqozuO vBnQ== X-Received: by 10.112.171.68 with SMTP id as4mr15183588lbc.64.1432495253471; Sun, 24 May 2015 12:20:53 -0700 (PDT) Original-Received: by 10.112.36.103 with HTTP; Sun, 24 May 2015 12:20:53 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::234; country=FI; region=South Karelia; city=Lappeenranta; latitude=61.0667; longitude=28.1833; http://maps.google.com/maps?q=61.0667,28.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07OvTkS4r - c1ec26dfe0d9 - 20150524 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of haroogan@gmail.com designates 2a00:1450:4010:c03::234 as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:4010:c03::234; envelope-from=; helo=mail-la0-x234.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:91593 Archived-At: --===============2001881921== Content-Type: multipart/alternative; boundary=001a11c38d1ab9c9af0516d8ca63 --001a11c38d1ab9c9af0516d8ca63 Content-Type: text/plain; charset=UTF-8 Thanks, Wolfgang, that indeed does the trick. A related question. I've noticed that global `whitespace' setup is not recognized by `makeup' environment, i.e. \setupwhitespace[line] \definemakeup [abstractpage] \startabstractpagemakeup % `whitespace' is definitely not `line'. \stopabstractpagemakeup The trivial and ugly solution is to \definemakeup [abstractpage] \startabstractpagemakeup \setupwhitespace[line] % `whitespace' is definitely `line'. \stopabstractpagemakeup However, I would prefer \setupmakeup[ commands={% \setupwhitespace[line]% }, ] but it has no effect too. I would like to know why and if there is a alternative? By the way, the similar setting \setupmakeup[ commands={% \setupinterlinespace[line={4.2ex}]% }, ] does have an effect. Once again, why? What's the difference in this case? Regards, Alexander --001a11c38d1ab9c9af0516d8ca63 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Wolfgang, that indeed does the trick.

A related question.=C2=A0 I've noti= ced that global `whitespace' setup is not recognized by `makeup' en= vironment, i.e.

\setupwhitespace[line]

\definemakeup
[abstractpage]

\startabstractpagemakeup

% `whitespace'= is definitely not `line'.
\stopabstractpagemak= eup

The trivial and ugly solution is to

\definemakeup
[abstractpage]

\startabstractpagemakeup

\setupwhitespace[line]

= % `whitespace' is definitely `line'.

\stop= abstractpagemakeup

However, I would prefer

\setupmakeup[
=C2=A0 commands=3D{%
=C2=A0 =C2=A0 \setupwhitespace[line]%
=C2=A0 },
]

but it has no effect too.=C2=A0 I would like t= o know why and if there is a alternative?

By the w= ay, the similar setting

\setupmakeup[
=C2=A0 commands=3D{%
=C2=A0 =C2=A0 \setupinterlinespace[l= ine=3D{4.2ex}]%
=C2=A0 },
]

<= /div>
does have an effect.=C2=A0 Once again, why?=C2=A0 What's the = difference in this case?

Regards,
Alexan= der
--001a11c38d1ab9c9af0516d8ca63-- --===============2001881921== 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= --===============2001881921==--