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] semicolon in mathmode

2017-08-10 Thread Aditya Mahajan
On Thu, 10 Aug 2017, Alan Bowen wrote: Is there a way to remove the thinspace after a semicolon when it is followed by a number? It does not seem to be covered by the autopunctuation key in \setupmathematics. For a one-off solution, $1{;}2$ should work. Aditya

[NTG-context] semicolon in mathmode

2017-08-10 Thread Alan Bowen
Is there a way to remove the thinspace after a semicolon when it is followed by a number? It does not seem to be covered by the autopunctuation key in \setupmathematics. Alan ___ If your question is of interest to

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] math font problem

2017-08-10 Thread Alan Bowen
Many thanks, Hans, for both tips. I have made the Brill font my math fallback for the letters and numerals, and fixed the name of the Brill italic. And it looks good! Alan On Thu, Aug 10, 2017 at 4:08 AM, Hans Hagen wrote: > On 8/10/2017 12:16 AM, Alan Bowen wrote: > > 1. I am

Re: [NTG-context] question for metapost experts

2017-08-10 Thread Schmitz Thomas A.
> On 10. Aug 2017, at 14:18, Hans Hagen wrote: > > p intersection_point q > > (also sets intersection_found) Boy, impressive and wonderful, thanks a lot!!! It also made me see why I the error stopped the compilation: I had a naming conflict between the slide background and

Re: [NTG-context] question for metapost experts

2017-08-10 Thread Hans Hagen
On 8/10/2017 2:07 PM, Schmitz Thomas A. wrote: Hi all, this one is for all the metapos/metafun experts out there (Alan, are you there?). For a counter in one of my slide backgrounds, I have to calculate an intersectionpoint, given in percentage of the difference between current page and last

[NTG-context] question for metapost experts

2017-08-10 Thread Schmitz Thomas A.
Hi all, this one is for all the metapos/metafun experts out there (Alan, are you there?). For a counter in one of my slide backgrounds, I have to calculate an intersectionpoint, given in percentage of the difference between current page and last page. I have always had some difficulties on the

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] math font problem

2017-08-10 Thread Hans Hagen
On 8/10/2017 12:16 AM, Alan Bowen wrote: 1. I am not getting slanted lowercase Greek in mathmode. because the regular brill is not italic, so ... \definefallbackfamily [mainface] [mm] [Brill] [preset=math:lowercasegreeknormal] \definefallbackfamily [mainface] [mm] [BrillItalic]

Re: [NTG-context] math font problem

2017-08-10 Thread Hans Hagen
On 8/10/2017 12:16 AM, Alan Bowen wrote: 2. I should like to have all the math lettering in the Brill font. But simply setting the Brill font as my math mainface runs into more problems—I still do not get lowercase Greek and it not only messes up 2+2 =4 , it also reports the error—Math error:

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 ;