Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
On 4/11/20 2:53 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.04.2020 um 13:54: >> [...] >> I really need that, since the document I’m composing needs chapter and >> part page numbering independent from the whole document page numbering. >> >> Am I missing something or have I hit a

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.04.2020 um 13:54: Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t

[NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Pablo Rodriguez
Dear list, here you have the following sample: \setuppapersize[A6] \setupuserpagenumber[way=chapter] \starttext \placelist[chapter][counter=realpage] \dorecurse{5}{\chapter{Chapter}} \stoptext Why doesn’t \placelist[chapter] use the realpage counter? According to

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread kaddour kardio
@Hans putting otf version of fontawesome instead of ttf version made it for the command context --global symb-imp-fontawesome.mkiv Thank you for your quick response. Le sam. 11 avr. 2020 à 16:20, kaddour kardio a écrit : > this is a part of my log file. > i have ttf-fontawesome

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread Hans Hagen
On 4/11/2020 10:48 AM, Aditya Mahajan wrote: On Fri, 10 Apr 2020, kaddour kardio wrote: Hi, if there any changes in the interface for using symbols? I tried today the example from Aditya's Blog but it shows no symbols: \definetypeface[mainfont][rm][specserif][Linux Libertine O][default]

[NTG-context] offset for background overlay

2020-04-11 Thread mf
Hello list, this MWE is a simplified version of a real case: \startuseMPgraphic{cell:triangle} path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth yscaled 2.5 OverlayHeight ; draw p withcolor red ; \stopuseMPgraphic \defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}]

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread Aditya Mahajan
On Fri, 10 Apr 2020, kaddour kardio wrote: Hi, if there any changes in the interface for using symbols? I tried today the example from Aditya's Blog but it shows no symbols: \definetypeface[mainfont][rm][specserif][Linux Libertine O][default] \definetypeface[mainfont][mm][math] [TeX Gyre

[NTG-context] Geometric math symbols in Lucida OT

2020-04-11 Thread Tim Steenvoorden
Hi all, I decided to switch to Lucida OpenType, but now I’ve another problem. In the Type1 variant, all geometric shapes (\square, \triangleright, \blacktriangleright, etc.) had the same size as math operators (\boxplus, \boxdot). This appears not to be the case any more in the OpenType

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread kaddour kardio
this is a part of my log file. i have ttf-fontawesome installed in my system , maybe i should switch off to otf version? defining > unknown font 'fontawesome5brandsregular400', loading aborted fonts > defining > unable to define 'fontawesome5brandsregular400.otf' as

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, I draw Pascal’s triangle with the label of each point created by using lua functions. As you see in the code below, I defined fact(n) and combi(n,r) using lua. For the calculation tt, I used two different methods. Both are working well when I run the given code. But I got an error,

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Otared Kavian
Hi Dalyoung, I tested your code: it works fine with both definitions of the variable tt in your code. I am using the current LMTX version 2020.04.08 14:38. Best regards: Otared > On 11 Apr 2020, at 14:32, Jeong Dal wrote: > > Dear all, > > I draw Pascal’s triangle with the label of each

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, The problem is solved by using the namespace of lua as below: I am not sure what I did is the right way. If it is not the right way, please let me know. Thanks for reading. Best regards, Dalyoung \startluacode P={} combi = P function P.fact (n) if n <= 0 then return 1

Re: [NTG-context] Fontawesome in lmtx

2020-04-11 Thread kaddour kardio
To Aditya this works as expected thank you. To Hans when i run the command i get "deja vu sans" symbolset instead . Le sam. 11 avr. 2020 à 10:49, Hans Hagen a écrit : > On 4/11/2020 10:48 AM, Aditya Mahajan wrote: > > On Fri, 10 Apr 2020, kaddour kardio wrote: > > > >> Hi, if there any changes

[NTG-context] \type -- extra space in TABLE

2020-04-11 Thread Tomas Hala
Hi all, in the following code \starttext \type{6\az12}% \az = \anycommand \bTABLE \bTR\bTD\type{6\az12}\eTD\eTR \eTABLE \stoptext there is a different behaviour of \type: while its parametr in normal text is printed out as is (expected), in the TABLE the extra space is displayed after

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear Hans, Thank you for your nice code. lua.MP.Whatever is something! Have a nice weekend. Best regards, Dalyoung > 2020. 4. 12. 오전 2:08, Hans Hagen 작성: > > On 4/11/2020 4:15 PM, Jeong Dal wrote: >> Dear all, >> The problem is solved by using the namespace of lua as below: >> I am not sure

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Hans Hagen
On 4/11/2020 4:15 PM, mf wrote: Hello list, this MWE is a simplified version of a real case: \startuseMPgraphic{cell:triangle}   path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth yscaled 2.5 OverlayHeight ;   draw p withcolor red ; \stopuseMPgraphic

Re: [NTG-context] offset for background overlay

2020-04-11 Thread mf
Thanks Hans and Wolfgang. @Wolfgang: your solution is clearer, but unfortunately it works only for this MWE. In the real case the triangle extends over 2 rows, but the table has more than 2 rows. I tried grouping the first two rows in a \bTABLEbody[background=triangle], but it doesn't work.

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Hans Hagen
On 4/11/2020 4:15 PM, Jeong Dal wrote: Dear all, The problem is solved by using the namespace of lua as below: I am not sure what I did is the right way. If it is not the right way, please let me know. Thanks for reading. Best regards, Dalyoung \startluacode P={} combi = P function

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
Hans Hagen schrieb am 11.04.2020 um 19:41: On 4/11/2020 4:15 PM, mf wrote: Hello list, this MWE is a simplified version of a real case: \startuseMPgraphic{cell:triangle}    path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth yscaled 2.5 OverlayHeight ;    draw p withcolor red ;

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
mf schrieb am 11.04.2020 um 23:59: Thanks Hans and Wolfgang. @Wolfgang: your solution is clearer, but unfortunately it works only for this MWE. In the real case the triangle extends over 2 rows, but the table has more than 2 rows. I tried grouping the first two rows in a