Re: [NTG-context] error: (nodes): fuzzy token cleanup in whatsit node

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 10:38 AM, Sylvain Hubert via ntg-context wrote: Dear List, I think I've just encountered a fragile bug. It is only reproducible with exactly the same layout as the doc below. Any insertion or removal of an item that changes the pagination would let the document compile. nasty border

Re: [NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 11:02 AM, Henning Hraban Ramm via ntg-context wrote: (Latest LMTX, yesterday’s luametatex binary) The MWE shows no transparency with LMTX, it works with MkIV: ''' \setupexternalfigures[location=default] \definetransparency[light][a=1,t=.05] \definelayer[bg][x=0mm,y=0mm]

Re: [NTG-context] Equation alignment

2021-09-07 Thread Jeong Dal via ntg-context
Dear Sylvain, I am using ’\startalign’ > > \starttext > \startformula > \eqalign{ > ax^2+bx+c &= 0 \cr > x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr > } > \stopformula > \stoptext > \starttext \startformula \startalign \NC ax^2 + bx + c \NC = 0 \NR \NC x \NC = = \frac{-b \pm \sqrt{b^2-4ac}}{2a}

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-07 Thread Henning Hraban Ramm via ntg-context
Since I got zint running (thanks, Hans!), there’s now a wiki page: https://wiki.contextgarden.net/Barcodes Have fun! Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] itemize problems

2021-09-07 Thread Sylvain Hubert via ntg-context
Thanks, but this doesn't seem to work on my laptop: \starttext \startitemize[A,text][left=,right=,stopper=] \item 1 \item 2 \stopitemize \stoptext %output: (A) 1 (B) 2 On 07/09/2021, fv leung via ntg-context wrote: > I add > > left=,right=, > > in the second option

Re: [NTG-context] itemize problems

2021-09-07 Thread Sylvain Hubert via ntg-context
This works, thanks! On 07/09/2021, fv leung via ntg-context wrote: > Use > > \startitemize[A,text][lefttext=,righttext=,stopper=] > > then. > > Maybe that's the new way. > > Sylvain Hubert via ntg-context 於 2021年9月7日 週二 > 下午4:32寫道: > >> Thanks, but this doesn't seem to work on my laptop: >> >>

[NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Henning Hraban Ramm via ntg-context
(Latest LMTX, yesterday’s luametatex binary) The MWE shows no transparency with LMTX, it works with MkIV: ''' \setupexternalfigures[location=default] \definetransparency[light][a=1,t=.05] \definelayer[bg][x=0mm,y=0mm] \setupbackgrounds[text][background={bg},state=start] \starttext

Re: [NTG-context] margin of inner item group

2021-09-07 Thread fv leung via ntg-context
Use distance=... instead of margin=... . 在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-context 寫道: > Dear List, > > Does anyone know how to set the margin of an inner item group? The > natural way does not seem to work: > > \showframe > \starttext > \startitemize[margin=5em] > \item 1 >

Re: [NTG-context] margin of inner item group

2021-09-07 Thread Sylvain Hubert via ntg-context
Thanks but I believe 'distance' means ' * <--> text', while margin means '<--> * text'. On 07/09/2021, fv leung via ntg-context wrote: > Use > > distance=... > > instead of > > margin=... > > . > > 在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-context 寫道: > >> Dear List, >> >> Does anyone

Re: [NTG-context] itemize problems

2021-09-07 Thread fv leung via ntg-context
Use \startitemize[A,text][lefttext=,righttext=,stopper=] then. Maybe that's the new way. Sylvain Hubert via ntg-context 於 2021年9月7日 週二 下午4:32寫道: > Thanks, but this doesn't seem to work on my laptop: > > \starttext > \startitemize[A,text][left=,right=,stopper=] > \item 1 >

[NTG-context] Remove vertical space around typing

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, How should we remove the vertical space above and below the following typing? \starttext Remove space below \starttyping some code \stoptyping \stoptext Thanks! Best, Sylvain ___ If your question is of

[NTG-context] no looseness in LMTX?

2021-09-07 Thread Henning Hraban Ramm via ntg-context
In my magazine and book projects, I sometimes fix pagebreaking by stretching paragraphs with \looseness=1 Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no effect with LMTX. I tried different examples (e.g. the attached file) and can’t reproduce the problem,

[NTG-context] error: (nodes): fuzzy token cleanup in whatsit node

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, I think I've just encountered a fragile bug. It is only reproducible with exactly the same layout as the doc below. Any insertion or removal of an item that changes the pagination would let the document compile. \defineitemgroup[choice][itemize] \setupchoice[packed,columns,one]

[NTG-context] margin of inner item group

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, Does anyone know how to set the margin of an inner item group? The natural way does not seem to work: \showframe \starttext \startitemize[margin=5em] \item 1 \startitemize[margin=10em] \item 1 \item 2 \item 3 \stopitemize \item 2 \item 3 \stopitemize \stoptext In the doc above, only

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 11:49 AM, Henning Hraban Ramm via ntg-context wrote: In my magazine and book projects, I sometimes fix pagebreaking by stretching paragraphs with \looseness=1 Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no effect with LMTX. I tried different

[NTG-context] Equation alignment

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, The following example of equation alignment copied from An Excursion is not reproducible under my context 2021.03.05 shipped with texlive 2021: \starttext \startformula \eqalign{ ax^2+bx+c &= 0 \cr x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr } \stopformula \stoptext Both ampersands are

Re: [NTG-context] Equation alignment

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 14:29: Dear List, The following example of equation alignment copied from An Excursion is not reproducible under my context 2021.03.05 shipped with texlive 2021: \starttext \startformula \eqalign{ ax^2+bx+c &= 0 \cr x &= \frac{-b \pm

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49: In my magazine and book projects, I sometimes fix pagebreaking by stretching paragraphs with \looseness=1 Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no effect with LMTX. I tried different

Re: [NTG-context] Remove vertical space around typing

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert schrieb am 07.09.2021 um 13:38: Thanks Wolfgang, this solves my problem. But now I'm wondering why \starttyping[before=,after=] cannot do the same job? Works here. \starttext Remove space below \starttyping[before=,after=] some code \stoptyping \stoptext Wolfgang

Re: [NTG-context] features of fallback font

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 13:32: Dear List, I'm using the chinese simsun font that has no builtin SerifBold. I'm trying to define a fakebold feature for it, but the following code does not work: \definefontfeature[fakebold][effect={width=0.3, delta=0}]

Re: [NTG-context] Remove vertical space around typing

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 11:49: Dear List, How should we remove the vertical space above and below the following typing? \starttext Remove space below \starttyping some code \stoptyping \stoptext \setuptyping [before=,after=] Wolfgang

[NTG-context] features of fallback font

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, I'm using the chinese simsun font that has no builtin SerifBold. I'm trying to define a fakebold feature for it, but the following code does not work: \definefontfeature[fakebold][effect={width=0.3, delta=0}] \definefontfallback [sunfallback] [name:simsun] [cjkunifiedideographs]

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Henning Hraban Ramm via ntg-context
> Am 07.09.2021 um 14:07 schrieb Hans Hagen : > > On 9/7/2021 11:49 AM, Henning Hraban Ramm via ntg-context wrote: >> In my magazine and book projects, I sometimes fix pagebreaking by stretching >> paragraphs with \looseness=1 >> Unfortunately this works _in my project_ only with MkIV, i.e.

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Henning Hraban Ramm via ntg-context
> Am 07.09.2021 um 13:15 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49: >> In my magazine and book projects, I sometimes fix pagebreaking by stretching >> paragraphs with \looseness=1 >> >> Unfortunately this works _in my project_ only

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Hans Hagen via ntg-context
On 9/7/2021 3:13 PM, Henning Hraban Ramm via ntg-context wrote: But \updateparagraphproperties (see Hans’ message) helps, it’s just inconvenient. depends ... if you're in some group before a \par is given you won't get looseness which is way harder to track down, and carrying that on eover