[NTG-context] horizontal space in CJK document

fv leung fvleung at gmail.com
Mon Feb 20 23:44:53 CET 2023


Maybe the ideographic space U+3000 works.

在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context <ntg-context at 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 at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230221/44f376f6/attachment.htm>


More information about the ntg-context mailing list