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 <ntg-context@ntg.nl> wrote:
Maybe the ideographic space U+3000 works.

在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context <ntg-context@ntg.nl> 寫道:
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}{口}  % without \setscript[hanzi], the line is not properly wrapped
\stoptext

Many thanks,
Sylvain
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________