From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98782 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: =?utf-8?b?SG93IGNhbiBJIGFkZCDigJxwYWdlICMgb2YgIyM=?= =?utf-8?q?=E2=80=9D_on_my_document_=3F?= Date: Thu, 10 Aug 2017 23:39:34 +0200 Message-ID: References: <17463336-7ca8-4450-082b-3f123de496fb@wxs.nl> <96B93258-3B99-4FAD-AAED-A78CD50ABEC4@gmail.com> <4A19FF7C-7361-4781-BECE-84929A34B7FC@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1236248662416484971==" X-Trace: blaine.gmane.org 1502401213 9188 195.159.176.226 (10 Aug 2017 21:40:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Aug 2017 21:40:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 10 23:40:06 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfvBR-0001jH-PB for gctc-ntg-context-518@m.gmane.org; Thu, 10 Aug 2017 23:40:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C4E887495; Thu, 10 Aug 2017 23:39:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0BBWXCVaxoYy; Thu, 10 Aug 2017 23:39:48 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 652FF876B2; Thu, 10 Aug 2017 23:39:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A475287495 for ; Thu, 10 Aug 2017 23:39:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kSw_87_SgtLe for ; Thu, 10 Aug 2017 23:39:46 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7ECBF8721A for ; Thu, 10 Aug 2017 23:39:36 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id t138so23763406wmt.1 for ; Thu, 10 Aug 2017 14:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Mt1KKjhj58wdjTDLkpFf3Vge7b/IU+Hr9I3rNg/EVXg=; b=mZq1fBgV970UL/M728KdgcoDlo+v4jsLbyP+PW58yZJHcjdRsKVIv78Jt/jDJctr8e bjeQRRS1LsORzYw0wohdGkvKx9GSGKm/uG1FwKys4yRFKtcpusZMyXPcn49G5paKQRos HCBFhCajmv4Et/tiIEzaGZlZcwM2OkAFT4bttB2WihTwnW/5eCHZ1QwIcKTksJsskW3a +tvmOhDvAQ1P5KoTqqzBa8Eu8V6WXRuKe8z3+9eEFp3PakRih7oVCT6Yi93AeNMrm6mw YSVWeNd1OwCyB2zugOgIoZHaHxBLBv+8FDyxAO0QSG3nxGlbMc8YKl4OmkbHfQ6OaAAv pwtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Mt1KKjhj58wdjTDLkpFf3Vge7b/IU+Hr9I3rNg/EVXg=; b=KBlQq5jFMXy1p6xfMtSzZQFVGx15HFWBdM8LKpgZPw4L+n3QSPXjl7nEJi9bEBjfx+ ZBg8iBcTkO0CSFg8MOdODwMPMYZRBk78c47XEKIseCtiplHedu4lJpeXs3f20WeIafpQ Tf3O8PcZAqe4+SqOoCorK0LTcxbrDirxoMfVU+fPMp+QAB103l6zv4QRjtDN/p9tpMzD OpQdfBz4JaXhTwslXDjqO0yBRqUh7X4CYFgurK39U033HXyRh+uJHcKxEAfez9jyfkiG 2iJWOJ0aLXyrwa9b9ab4rkI9HLmhfSFh5aoHsCUi3F0ntvyVg3xfC9EfK3j5r2HElTDl 7dOg== X-Gm-Message-State: AHYfb5jYnxDLG7x/ciE8kcSnC3RSzB7CbH5zvAFdRIQPGpBPLGfYmwPP EnlVbnWiYGj2g1E6ZM8hkQOE8AgbZQST X-Received: by 10.80.214.18 with SMTP id x18mr13155446edi.253.1502401175309; Thu, 10 Aug 2017 14:39:35 -0700 (PDT) Original-Received: by 10.80.205.92 with HTTP; Thu, 10 Aug 2017 14:39:34 -0700 (PDT) In-Reply-To: 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:98782 Archived-At: --===============1236248662416484971== Content-Type: multipart/alternative; boundary="94eb2c1aff965d523205566d08ed" --94eb2c1aff965d523205566d08ed Content-Type: text/plain; charset="UTF-8" Hi, @Aditya "You need multiple runs to resolve \lastpage" What you propose does not solve the problem @Pablo Very nice job ! Thanks Merci 2017-08-10 18:54 GMT+02:00 Pablo Rodriguez : > On 08/10/2017 12:35 PM, Fabrice Couvreur wrote: > > [...] > > How to make the last page number interactive ? > > Hi Fabrice, > > I guess this might be what you want: > > \showframe > \setupinteraction > [state=start, > style=, > color=, > contrastcolor=, > focus=standard] > \enabledirectives[references.border=darkred] > \setuppagenumbering[alternative=] > \setupfootertexts[{Page\,\pagenumber\,sur\,\at[final page]}] > \starttext > \dorecurse{50}{a\page} > \reference[final page]{final} > \stoptext > > Just in case it helps, > > Pablo > -- > http://www.ousia.tk > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > --94eb2c1aff965d523205566d08ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
@Aditya "You need multiple runs to resolve \lastpa= ge"
What you propose does not solve the problem
@Pablo Very nice job !
Thanks
Merci
=

2017-= 08-10 18:54 GMT+02:00 Pablo Rodriguez <oinos@gmx.es>:
On 08/10/2017 12:35 PM, Fabrice Couvreur wrote:
> [...]
> How to make the last page number interactive ?

Hi Fabrice,

I guess this might be what you want:

=C2=A0 =C2=A0 \showframe
=C2=A0 =C2=A0 \setupinteraction
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [state=3Dstart,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0style=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0color=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0contrastcolor=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0focus=3Dstandard]
=C2=A0 =C2=A0 \enabledirectives[references.border=3Ddarkred]
=C2=A0 =C2=A0 \setuppagenumbering[alternative=3D]
=C2=A0 =C2=A0 \setupfootertexts[{Page\,\pagenumber\,sur\,\at[final pag= e]}]
=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \dorecurse{50}{a\page}
=C2=A0 =C2=A0 \reference[final page]{final}
=C2=A0 =C2=A0 \stoptext

Just in case it helps,

Pablo
--
http:/= /www.ousia.tk
_____________________= ______________________________________________________________ If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c1aff965d523205566d08ed-- --===============1236248662416484971== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============1236248662416484971==--