Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. How to make the last page number interactive ? Thank you Fabrice 2017-08-10 11:47 GMT+02:00 Otared Kavian : > I forgot to add that you can also use > > \setupfootertexts[Page \pagenumber\ sur\ \totalnumberofpages][] > > Best regards: OK > > > On 10 Aug 2017, at 11:43, Otared Kavian wrote: > > Hi Fabrice, > > The following gives the desired result, as Hans pointed ou: > > \setuppagenumbering[alternative=] > > \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] > > \starttext > > \dorecurse{5}{\input knuth.tex \page} > > \stoptext > > Best regards: OK > > On 10 Aug 2017, at 11:28, Fabrice Couvreur > wrote: > > 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 >> ____________________________________________________________ >> _______________________ >> > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ > > > > > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________ >