From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98770 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 11:28:39 +0200 Message-ID: References: <17463336-7ca8-4450-082b-3f123de496fb@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4106895130257170117==" X-Trace: blaine.gmane.org 1502357351 14104 195.159.176.226 (10 Aug 2017 09:29:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Aug 2017 09:29:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 10 11:29:07 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 1dfjm4-0003Ht-St for gctc-ntg-context-518@m.gmane.org; Thu, 10 Aug 2017 11:29:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A172B1053C2; Thu, 10 Aug 2017 11:28:53 +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 8D9fB9Mp2d3W; Thu, 10 Aug 2017 11:28:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DEA6A1053C3; Thu, 10 Aug 2017 11:28:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1C431053C3 for ; Thu, 10 Aug 2017 11:28:51 +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 065OKYPyho82 for ; Thu, 10 Aug 2017 11:28:50 +0200 (CEST) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (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 D37781053C2 for ; Thu, 10 Aug 2017 11:28:40 +0200 (CEST) Original-Received: by mail-wm0-f54.google.com with SMTP id i66so17235662wmg.0 for ; Thu, 10 Aug 2017 02:28:40 -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=DXsdnELleb9chBg2x67tC4Gd7XjgHzrTGOzGszMs3vc=; b=WqEOd52D9LTRHG18q3hutQhbNBDXNuac294Cm+ASnUm9cRIw61t2q+BYWAEWaavEa5 ZJRJe7++nPrDmjpax2FGJic2q4vkMCZbFLob9GaD3QnL+G1aavkrmyfVeia4hHP1xT6L xsMKCpL57nHbhu8u0cy+lUvn5v5hTLEPL/PF0XvBPMY5knmm+wbU0e8J8ZjVLzIDDaqE FSJ4EM4JZhpQwMT2Ob0hQrLgGDjfDOjWpbQcSKJEZebjxliDV3/Rrei78mBOeKWgAfY3 vSmmoa6asKqvqw940z0t57wnCBrPH49MIFG/CcIsvL2thLd8dKCfYmMZGzAs+9t0ofh4 tKPA== 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=DXsdnELleb9chBg2x67tC4Gd7XjgHzrTGOzGszMs3vc=; b=VMfXJF5ecj8vPBiYihwEOXapzfY4cdptzJufs8V8czKkzjtKINz17080eNAbX0B8Bu ntxAvJcSmsCDaXYnpmeH3BPes13sd09ERibKaVqwEz2Kt90qWRTpa3ih92r0eBLSolKu hT13ohwSr3eHe7qg5Pb0kwkSFjeV7xLfb10TgpnTkAmnXCOTSQCiXbP41L1ee73vS71o j1hVprrKDsW6g6ybxdDqLv4O9cpnytoz6dHon67Ja5eeDaVkt7DrXrq7wagRuPiXH5yu S97xlEXfbCt8Q6hMR3ROEZsotpLiwKSOwn5QPS8IdJ0X+oUc2HOJTZHaWCmEJ2DfFrYg XtFA== X-Gm-Message-State: AHYfb5hHjs4LK3dPUSa8nw3l4VIqI5ONPdjGDqL9smwQwv4DhkBSBt/9 6lcDVR/bqqplggeGZIiidtGdrDrIkBJc X-Received: by 10.80.172.37 with SMTP id v34mr10965740edc.141.1502357320026; Thu, 10 Aug 2017 02:28:40 -0700 (PDT) Original-Received: by 10.80.205.92 with HTTP; Thu, 10 Aug 2017 02:28:39 -0700 (PDT) In-Reply-To: <17463336-7ca8-4450-082b-3f123de496fb@wxs.nl> 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:98770 Archived-At: --===============4106895130257170117== Content-Type: multipart/alternative; boundary="f403045c377062cd8e055662d2d2" --f403045c377062cd8e055662d2d2 Content-Type: text/plain; charset="UTF-8" Hi Hans and Pablo, \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] The behavior is not that expected: Page 1 sur 0 Page 2 sur 0 Page 3 sur 0 .... Thanks Fabrice 2017-08-10 9:57 GMT+02:00 Hans Hagen : > On 8/9/2017 11:42 PM, Fabrice Couvreur wrote: > >> Hello, >> With Latex, I did this : >> >> \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue >> ,citecolor=blue,urlcolor=blue]{hyperref} >> \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage}}}} >> >> >> With Context, I tried this unsuccessfully ; >> >> \setupinteraction >> [state=start, >> style=, >> color=\darkred, >> contrastcolor=] >> >> \setuppagenumbering >> [alternative=, >> location={footer,right}, >> command={Page\,\pagenumber\,sur\,\lastpage } ] >> > \setuppagenumbering[alternative=] > > \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] > > ----------------------------------------------------------------- > 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --f403045c377062cd8e055662d2d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hans and Pablo,

\setuppagenumbering[alternative= =3D]

\setupfootertexts[Page \pagenumber\ sur\ \lastpage][]

The beh= avior is not that expected:

Page 1 sur= 0
Page 2 sur 0
Page 3 sur 0 ....

Thanks
Fabrice

2017-08-10 9:57 GMT+02:00 Hans Hagen <pragma@w= xs.nl>:
On= 8/9/2017 11:42 PM, Fabrice Couvreur wrote:
Hello,
With Latex, I did this :

\usepackage[colorlinks=3Dtrue,pdfstartview=3DFitV,linkcolor=3Dblue,citecolor=3Dblue,urlcolor=3Dblue]{hyperref}
\rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage}= }}}


With Context, I tried this unsuccessfully ;

\setupinteraction
=C2=A0 =C2=A0 =C2=A0[state=3Dstart,
=C2=A0 =C2=A0 =C2=A0 style=3D,
=C2=A0 =C2=A0 =C2=A0 color=3D\darkred,
=C2=A0 =C2=A0 =C2=A0 contrastcolor=3D]

=C2=A0 \setuppagenumbering
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[alternative=3D,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 location=3D{footer,right},
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 command=3D{Page\,\pagenumber\,sur\,= \lastpage } ]
\setuppagenumbering[alternative=3D]

\setupfootertexts[Page \pagenumber\ sur\ \lastpage][]

-----------------------------------------------------------------=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0tel: 038 477 53 69 | www.pragma-ade.nl | www.p= ragma-pod.nl
-----------------------------------------------------------------=

_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/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
_________________________________________________________________= __________________

--f403045c377062cd8e055662d2d2-- --===============4106895130257170117== 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 --===============4106895130257170117==--