* How can I add “page # of ##” on my document ?
@ 2017-08-09 21:42 Fabrice Couvreur
2017-08-09 22:22 ` Pablo Rodriguez
2017-08-10 7:57 ` Hans Hagen
0 siblings, 2 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2017-08-09 21:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]
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 } ]
Thank you
Fabrice
[-- Attachment #1.2: Type: text/html, Size: 987 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-09 21:42 How can I add “page # of ##” on my document ? Fabrice Couvreur
@ 2017-08-09 22:22 ` Pablo Rodriguez
2017-08-10 7:57 ` Hans Hagen
1 sibling, 0 replies; 13+ messages in thread
From: Pablo Rodriguez @ 2017-08-09 22:22 UTC (permalink / raw)
To: ntg-context
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. Personally, I don’t remember what the code above
could achieve in LaTeX (I haven’t used it in the last decade).
> With Context, I tried this unsuccessfully ;
>
> \setupinteraction
> [state=start,
> style=,
> color=\darkred,
> contrastcolor=]
It is clear that color=darkred isn’t color=darkblue ;-).
But I guess you need:
\enabledirectives[references.border=darkred]
(Or blue, the color you want.)
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=]
\enabledirectives[references.border=darkred]
\unexpanded\def\href#1{\goto{#1} [url(#1)]}
\starttext
\href{http://wiki.contextgarden.net/}
\stoptext
> \setuppagenumbering
> [alternative=,
> location={footer,right},
> command={Page\,\pagenumber\,sur\,\lastpage } ]
\showframe
\setupfootertexts[][Page\,\pagenumber\,sur\,\lastpagenumber]
\setuppagenumbering[location=]
\starttext
\dorecurse{50}{a\page}
\stoptext
Wikify what you think it may help others (or that it might have helped
you if it was there before),
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-09 21:42 How can I add “page # of ##” on my document ? Fabrice Couvreur
2017-08-09 22:22 ` Pablo Rodriguez
@ 2017-08-10 7:57 ` Hans Hagen
2017-08-10 9:28 ` Fabrice Couvreur
1 sibling, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2017-08-10 7:57 UTC (permalink / raw)
To: ntg-context
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/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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 7:57 ` Hans Hagen
@ 2017-08-10 9:28 ` Fabrice Couvreur
2017-08-10 9:43 ` Otared Kavian
0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2017-08-10 9:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1814 bytes --]
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 <pragma@wxs.nl>:
> 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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 3735 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 9:28 ` Fabrice Couvreur
@ 2017-08-10 9:43 ` Otared Kavian
2017-08-10 9:47 ` Otared Kavian
0 siblings, 1 reply; 13+ messages in thread
From: Otared Kavian @ 2017-08-10 9:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3030 bytes --]
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 <fabrice1.couvreur@gmail.com> 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 <pragma@wxs.nl <mailto:pragma@wxs.nl>>:
> 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 <http://www.pragma-ade.nl/> | www.pragma-pod.nl <http://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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki : http://contextgarden.net <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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 6810 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 9:43 ` Otared Kavian
@ 2017-08-10 9:47 ` Otared Kavian
2017-08-10 10:35 ` Fabrice Couvreur
0 siblings, 1 reply; 13+ messages in thread
From: Otared Kavian @ 2017-08-10 9:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3584 bytes --]
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 <otared@gmail.com> 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 <fabrice1.couvreur@gmail.com <mailto:fabrice1.couvreur@gmail.com>> 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 <pragma@wxs.nl <mailto:pragma@wxs.nl>>:
>> 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 <http://www.pragma-ade.nl/> | www.pragma-pod.nl <http://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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki : http://contextgarden.net <http://contextgarden.net/>
>> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 7529 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 9:47 ` Otared Kavian
@ 2017-08-10 10:35 ` Fabrice Couvreur
2017-08-10 16:15 ` Aditya Mahajan
2017-08-10 16:54 ` Pablo Rodriguez
0 siblings, 2 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2017-08-10 10:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3735 bytes --]
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 <otared@gmail.com>:
> 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 <otared@gmail.com> 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 <fabrice1.couvreur@gmail.com>
> 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 <pragma@wxs.nl>:
>
>> 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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 8052 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 10:35 ` Fabrice Couvreur
@ 2017-08-10 16:15 ` Aditya Mahajan
2017-08-10 16:54 ` Pablo Rodriguez
1 sibling, 0 replies; 13+ messages in thread
From: Aditya Mahajan @ 2017-08-10 16:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 10:35 ` Fabrice Couvreur
2017-08-10 16:15 ` Aditya Mahajan
@ 2017-08-10 16:54 ` Pablo Rodriguez
2017-08-10 21:39 ` Fabrice Couvreur
1 sibling, 1 reply; 13+ messages in thread
From: Pablo Rodriguez @ 2017-08-10 16:54 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 16:54 ` Pablo Rodriguez
@ 2017-08-10 21:39 ` Fabrice Couvreur
2017-08-11 3:19 ` Aditya Mahajan
0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2017-08-10 21:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1368 bytes --]
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 <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:
>
> \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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 3565 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-10 21:39 ` Fabrice Couvreur
@ 2017-08-11 3:19 ` Aditya Mahajan
2017-08-11 7:30 ` Peter Münster
0 siblings, 1 reply; 13+ messages in thread
From: Aditya Mahajan @ 2017-08-11 3:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-11 3:19 ` Aditya Mahajan
@ 2017-08-11 7:30 ` Peter Münster
2017-08-11 8:59 ` Fabrice Couvreur
0 siblings, 1 reply; 13+ messages in thread
From: Peter Münster @ 2017-08-11 7:30 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: How can I add “page # of ##” on my document ?
2017-08-11 7:30 ` Peter Münster
@ 2017-08-11 8:59 ` Fabrice Couvreur
0 siblings, 0 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2017-08-11 8:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 961 bytes --]
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 <pmlists@free.fr>:
> 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
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 2284 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-08-11 8:59 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09 21:42 How can I add “page # of ##” on my document ? Fabrice Couvreur
2017-08-09 22:22 ` Pablo Rodriguez
2017-08-10 7:57 ` Hans Hagen
2017-08-10 9:28 ` Fabrice Couvreur
2017-08-10 9:43 ` Otared Kavian
2017-08-10 9:47 ` Otared Kavian
2017-08-10 10:35 ` Fabrice Couvreur
2017-08-10 16:15 ` Aditya Mahajan
2017-08-10 16:54 ` Pablo Rodriguez
2017-08-10 21:39 ` Fabrice Couvreur
2017-08-11 3:19 ` Aditya Mahajan
2017-08-11 7:30 ` Peter Münster
2017-08-11 8:59 ` Fabrice Couvreur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).