[NTG-context] \usemodule[chinese] not found

2021-09-06 Thread Sylvain Hubert via ntg-context
Dear List, I'm trying to typeset an item group (itemize) with chinese numbering. It is suggested in multiple older documentations and answers that \startitemize[c] should be used, for which \usemodule[chinese] is required. But I can no longer find the 'chinese' module neither in texlive, in

Re: [NTG-context] \usemodule[chinese] not found

2021-09-06 Thread Sylvain Hubert via ntg-context
Thanks Hans! On 06/09/2021, Hans Hagen via ntg-context wrote: > On 9/6/2021 6:51 PM, Sylvain Hubert via ntg-context wrote: >> Dear List, >> >> I'm trying to typeset an item group (itemize) with chinese numbering. It >> is suggested in multiple older

[NTG-context] itemize problems

2021-09-06 Thread Sylvain Hubert via ntg-context
Dear List, Here's a collection of four problems about item groups that I've just encountered. 1. 'n' and 'packed' not playing well with other options. This works: \defineitemgroup[myitems][itemize][margin=2em,before=before] \setupmyitems[n,packed] \starttext text

Re: [NTG-context] itemize problems

2021-09-06 Thread Sylvain Hubert via ntg-context
, seems to fix the problem. For the 4th problem: I've found that we can do \setupitemize[A,text] which makes it like (A.) 0 (B.) 1 (C.) 2 (D.) 3 The problem now is, how can we remove the parentheses around the item labels? On 07/09/2021, Sylvain Hubert wrote: > Dear List, > &g

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

2021-09-06 Thread Sylvain Hubert via ntg-context
% context version: 2021.03.05 19:11 % This seems to be a bug of a very subtle layout problem. % Inserting or removing anything will likely to suppress the bug \defineitemgroup[choice][itemize] \setupchoice[packed,columns,one] \setupchoice[before={\blank[medium]}] \starttext .\blank[32*big]

Re: [NTG-context] itemize problems

2021-09-07 Thread Sylvain Hubert via ntg-context
e second option group. > > 在 2021年9月7日週二 07:02,Sylvain Hubert via ntg-context 寫道: > >> A few more information: >> >> For the 1st problem: >> >> It seems that \setupitemize accepts two option groups, to which >> n,packed and margin belong accordingly. Ho

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

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-c

[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] 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

[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

[NTG-context] Automatically adjust number of table columns

2021-09-05 Thread Sylvain Hubert via ntg-context
Dear List, I'm trying to make "\startchoice", "\stopchoice", and "\choice", such that: \startchoice \choice -1 \choice 0 \choice 1 \choice N/A \stopchoice results in (_ for whitespace) A. -1__B. 0__C. 1__D. N/A while \startchoice \choice not so

[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] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Horrocks wrote: > > > > On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context < > ntg-context@ntg.nl> wrote: > > > > Dear list, > > > > \usemodule[ipsum] > > \setupinteraction[state=start] > > > > \starttext > >

[NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Dear list, \usemodule[ipsum] \setupinteraction[state=start] \starttext \completecontent \section{s1}\ipsum \section{s2}\ipsum \section{s3}\ipsum \section{s4}\ipsum \section{s5}\ipsum \section{s6}\ipsum \stoptext In the table of contents, s1 and s2 (at

Re: [NTG-context] TOC colors and in-page anchors

2022-10-11 Thread Sylvain Hubert via ntg-context
(heartbeat packet) I think some kind of modern issue tracker on e.g. https://github.com/contextgarden/context-mirror would be generally helpful. On Wed, 28 Sept 2022 at 23:31, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > On 9/28/22 12:20, Sylvain Hubert via ntg-cont

[NTG-context] How to prevent \subject from being the last line

2023-02-19 Thread Sylvain Hubert via ntg-context
Dear list, I have a long document (A4 * 170 pages) with some CJK fonts, where some of the \subject{...} are placed at the end of the corresponding pages, which looks awkward. How can one flush those last-line titles to the next pages? Currently I don't have a MWE, as trivial filling-up with 1-2

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-20 Thread Sylvain Hubert via ntg-context
blo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > On 2/19/23 20:34, Sylvain Hubert via ntg-context wrote: > > Dear list, > > > > I have a long document (A4 * 170 pages) with some CJK fonts, where some > > of the \subject{...} are placed at the end of the

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-20 Thread Sylvain Hubert via ntg-context
On Mon, 20 Feb 2023 at 23:22, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> wrote: > On 2/20/23 15:47, Sylvain Hubert via ntg-context wrote: > > [...] > > Btw, just in case if anyone shares this idea: is it possible to have a > > zulip channel for ConTeXt

[NTG-context] horizontal space in CJK document

2023-02-20 Thread Sylvain Hubert via ntg-context
Dear list, Does anyone know how to insert a horizontal space in a CJK document with \setscript[hanzi]? \setscript[hanzi] \definefontfamily[mainface][rm][notoserifcjkhk][] \setupbodyfont[mainface] \starttext 口口\hspace[big]口口 % with \setscript[hanzi], the \hspace is ignored \dorecurse{100}{口}

Re: [NTG-context] horizontal space in CJK document

2023-02-21 Thread Sylvain Hubert via ntg-context
Thanks, but I guess the space width would be fixed. I just found a hack: 口口\hspace[big]\hbox{}口口 does the trick. On Tue, 21 Feb 2023 at 06:46, fv leung via ntg-context wrote: > Maybe the ideographic space U+3000 works. > > 在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context > 寫

Re: [NTG-context] fallbacks

2023-04-24 Thread Sylvain Hubert via ntg-context
I believe it's a bug. https://github.com/contextgarden/context/blob/d025bcdf995be6951f69fed6869048ab22491b9e/tex/context/base/mkxl/font-col.lmt#L278 the newchar[] table, which should contain all chars supported by the fallback termes font if I'm not mistaken, turns out to have only 392 chars

<    1   2