Re: [NTG-context] getting metafun positions within (displayed) math mode

2017-11-17 Thread Aditya Mahajan
On Thu, 16 Nov 2017, Sanjoy Mahajan wrote: However, the \hpos hides its argument in an \hbox, and thus hides it from the math layout. Thus, I have to do something like this minimal example: \starttext \startformula \sum_0^1 % what it should look like \quad

[NTG-context] Metapost: How to get total number of pages?

2017-11-17 Thread Procházka Lukáš Ing .
Hello, it seems that there is 'PageNumber' variable (macro) available within MP code, maybe introduced by 'StartPage', within MP. How do I get total number of pages or last page number within MP (in Ctx: \totalnumberofpages, \lastpage)? TIA. Best regards, Lukas -- Ing. Lukáš Procházka |

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread Alan Bowen
Otared, Luigi—many thanks for your help. I read the changes file—I neglected to do this when I downloaded TeXShop 3.89— and have added the line % !TEX useOldSyncParser into my source file. Synctex is now working as it should (with the latest ConTeXt and TeXShop). All best, Alan On Fri, Nov 17,

[NTG-context] synctex and TeXShop problem

2017-11-17 Thread Alan Bowen
With the latest betas, I see that with the TeXShop Engine #!/bin/tcsh # Before using this engine, you must run the following command once in Terminal: luatools --generate set path= ($path /usr/texbin /Users/bowen1/Dropbox/ConTeXt/tex/texmf-osx-64/bin) mtxrun --script context --autogenerate

Re: [NTG-context] Metapost: How to get total number of pages?

2017-11-17 Thread Thomas A. Schmitz
On 17.11.2017 14:02, Procházka Lukáš Ing. wrote: it seems that there is 'PageNumber' variable (macro) available within MP code, maybe introduced by 'StartPage', within MP. How do I get total number of pages or last page number within MP (in Ctx: \totalnumberofpages, \lastpage)? NOfPages If

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread luigi scarso
On Fri, Nov 17, 2017 at 2:27 PM, Otared Kavian wrote: > Hi Alan, > > A few weeks ago Steffen Wolfrum and myself reported the issue to Richard > Koch who did some research and discovered the origin of the problem. He has > written again the part of the code related to synctex and

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread Otared Kavian
Hi Alan, A few weeks ago Steffen Wolfrum and myself reported the issue to Richard Koch who did some research and discovered the origin of the problem. He has written again the part of the code related to synctex and ConTeXt and will issue a new version where the problem is fixed. In the

Re: [NTG-context] Metapost: How to get total number of pages?

2017-11-17 Thread Procházka Lukáš Ing .
Hello Thomas, thank you, I'll keep it in mind! Best regards, Lukas On Fri, 17 Nov 2017 14:42:58 +0100, Thomas A. Schmitz wrote: On 17.11.2017 14:02, Procházka Lukáš Ing. wrote: it seems that there is 'PageNumber' variable (macro) available within MP code,

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Pablo Rodriguez
On 11/16/2017 10:14 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Thu, 16 Nov 2017 11:40:40 -0700, Pablo Rodriguez wrote: >> [...] >> I must confess that this is far beyond my knowledge. I never used >> \definefont. > > Mainly useful for testing for bugs in other macros etc.. Dear Idris,

Re: [NTG-context] getting metafun positions within (displayed) math mode

2017-11-17 Thread Sanjoy Mahajan
[Sorry for probably breaking the threading -- long story with not using the mailing-list administrative interface correctly at first.] Aditya writes: > No time for a detailed answer, but what you need is the following: > ... Thank you -- that should work. I won't have many of these equation

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 17 Nov 2017 13:06:02 -0700, Pablo Rodriguez wrote: With average user, I mean I don’t fully understand the code that I read (and I cannot write code for ConTeXt [either TeX or Lua]). Otherwise, I would be contributing code to ConTeXt. But what you contribute by answering

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread Otared Kavian
Thanks Luigi for the link, but unfortunately the version 3.89 of TeXShop does not work for me (even with the magic line %!TEX useOldSyncParser put at the begining of the source file), while version 3.77 does the sync stuff as expected, even by opening an \input source file. I have put

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread Hans Hagen
On 11/17/2017 2:31 PM, luigi scarso wrote: On Fri, Nov 17, 2017 at 2:27 PM, Otared Kavian wrote: Hi Alan, A few weeks ago Steffen Wolfrum and myself reported the issue to Richard Koch who did some research and discovered the origin of the problem. He has written again the