[NTG-context] textbackground for text of different size

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, the red highlight block in the following example is not covering the two 40pt characters: \definetextbackground[important][frame=no,background=color,backgroundcolor=red] \starttext abc\important{123{\switchtobodyfont[40pt]45}xy}z \stoptext Is there an option that fixes this? Thanks!

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
Thanks Hans! On Sun, 12 Sept 2021 at 19:02, Hans Hagen wrote: > On 9/12/2021 6:54 PM, Sylvain Hubert via ntg-context wrote: > > Dear List, > > > > The following code draws a circle at the center of the page, ignoring > > the "shifted" part. > > > > \startuniqueMPgraphic{concept} > > draw

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-12 Thread Christian Dekant via ntg-context
Thank you, this works nicely. I put up a (minimal) working example of the adapted code (it inserts an empty page, if the peceding chapter ends on an even page) on the wiki, see https://wiki.contextgarden.net/User_talk:Christian.Dekant Is this interesting for other users as well? (Maybe on

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 6:54 PM, Sylvain Hubert via ntg-context wrote: Dear List, The following code draws a circle at the center of the page, ignoring the "shifted" part. \startuniqueMPgraphic{concept} draw fullcircle scaled 1cm shifted (10cm,10cm); \stopuniqueMPgraphic

[NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, The following code draws a circle at the center of the page, ignoring the "shifted" part. \startuniqueMPgraphic{concept} draw fullcircle scaled 1cm shifted (10cm,10cm); \stopuniqueMPgraphic \defineoverlay[concept][\uniqueMPgraphic{concept}] \setupbackgrounds[page][background=concept]

Re: [NTG-context] Image cropped

2021-09-12 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 12.09.2021 um 12:10: Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Place the logo with a layer or shift is inwards. \setuplayout   [width=middle,   

Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-12 Thread Sylvain Hubert via ntg-context
The problem also concerns \starttyping: \starttext . \startluacode context([[ \starttyping \stoptyping ]]) \stopluacode \stoptext tex error > runaway error: end of file encountered mtx-context | fatal error: return code: 256 % \starttext . \startluacode context([[

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 9:45 AM, Wolfgang Schuster via ntg-context wrote: Marcel Fabian Krüger via ntg-context schrieb am 12.09.2021 um 01:12: Hi, On Sun, Sep 12, 2021 at 12:01:08AM +0200, Hans Hagen wrote:   \definefontfeature     [default:test]     [default]     [cv36=2,cv26=6] What

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 9:45 AM, Wolfgang Schuster via ntg-context wrote: Marcel Fabian Krüger via ntg-context schrieb am 12.09.2021 um 01:12: Hi, On Sun, Sep 12, 2021 at 12:01:08AM +0200, Hans Hagen wrote:   \definefontfeature     [default:test]     [default]     [cv36=2,cv26=6] What

Re: [NTG-context] Image cropped

2021-09-12 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Indeed the line is green but you will have understood: =) Fabrice Le sam. 11 sept. 2021 à 19:17, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl>

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Wolfgang Schuster via ntg-context
Marcel Fabian Krüger via ntg-context schrieb am 12.09.2021 um 01:12: Hi, On Sun, Sep 12, 2021 at 12:01:08AM +0200, Hans Hagen wrote: \definefontfeature [default:test] [default] [cv36=2,cv26=6] What is the number supposed to indicate ? It is not an alternate,