From: "Li Yanrui (李延瑞) via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Li Yanrui (李延瑞)" <liyanrui.m2@gmail.com>
Subject: Re: horizontal space in CJK document
Date: Wed, 22 Feb 2023 16:40:11 +0800 [thread overview]
Message-ID: <CAFLdaXp1T5vyR0W-gNvaGSuEq5QeUiddF1kVSvF=p2nsoniEJA@mail.gmail.com> (raw)
In-Reply-To: <CACNy3ND88+56TQkHguCKGMDvt7rsY6xC3qSDWZKUphj_dZQUqg@mail.gmail.com>
Sylvain Hubert via ntg-context <ntg-context@ntg.nl> 于2023年2月21日周二 03:43写道:
>
> 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
测\kern 1em 试。
--
Best regards,
Li Yanrui
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2023-02-22 8:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-20 19:42 Sylvain Hubert via ntg-context
2023-02-20 22:44 ` fv leung via ntg-context
2023-02-21 15:32 ` Sylvain Hubert via ntg-context
2023-02-22 8:40 ` Li Yanrui (李延瑞) via ntg-context [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFLdaXp1T5vyR0W-gNvaGSuEq5QeUiddF1kVSvF=p2nsoniEJA@mail.gmail.com' \
--to=ntg-context@ntg.nl \
--cc=liyanrui.m2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).