Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-11 Thread Fabrice Couvreur
Hi Peter and Aditya, "You run the command "ConTeXt Full" instead of "ConTeXt" It works ! Thank you Fabrice 2017-08-11 9:30 GMT+02:00 Peter Münster : > On Thu, Aug 10 2017, Aditya Mahajan wrote: > > > You need to remove the --once call from the context call. (Not sure > > how

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-11 Thread Peter Münster
On Thu, Aug 10 2017, Aditya Mahajan wrote: > You need to remove the --once call from the context call. (Not sure > how to do this in Emacs) You run the command "ConTeXt Full" instead of "ConTeXt". -- Peter

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Aditya Mahajan
On Thu, 10 Aug 2017, Fabrice Couvreur wrote: Hi, @Aditya "You need multiple runs to resolve \lastpage" What you propose does not solve the problem How are you running it. You need to remove the --once call from the context call. (Not sure how to do this in Emacs) Aditya

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
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

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread 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=,

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Aditya Mahajan
Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. I believe that Emacs calls ConTeXt with `context --once`. You need multiple runs to resolve \lastpage. Aditya

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
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 > >

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread 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: > >

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Otared Kavian
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

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
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

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread 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 ;

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-09 Thread Pablo Rodriguez
On 08/09/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 Hi Fabrice, this is a ConTeXt list.

[NTG-context] How can I add “page # of ##” on my document ?

2017-08-09 Thread Fabrice Couvreur
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=,