[NTG-context] horizontal space in CJK document
Sylvain Hubert
champignoom at gmail.com
Tue Feb 21 16:32:55 CET 2023
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 at ntg.nl>
wrote:
> 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
>>
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
> 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/f63571c0/attachment.htm>
More information about the ntg-context
mailing list