From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/117059 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: fv leung via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: horizontal space in CJK document Date: Tue, 21 Feb 2023 06:44:53 +0800 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0941145911797994240==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8232"; mail-complaints-to="usenet@ciao.gmane.io" Cc: fv leung To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 20 23:45:42 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pUEuk-0001xx-E5 for gctc-ntg-context-518@m.gmane-mx.org; Mon, 20 Feb 2023 23:45:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4C71C36172D; Mon, 20 Feb 2023 23:45:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CLTgKW1H5Qbl; Mon, 20 Feb 2023 23:45:12 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 23EFB361731; Mon, 20 Feb 2023 23:45:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DCA9E361731 for ; Mon, 20 Feb 2023 23:45:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bI_36MSFqA9Y for ; Mon, 20 Feb 2023 23:45:09 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.51; helo=mail-pj1-f51.google.com; envelope-from=fvleung@gmail.com; receiver= Original-Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EE51636172D for ; Mon, 20 Feb 2023 23:45:08 +0100 (CET) Original-Received: by mail-pj1-f51.google.com with SMTP id ei9-20020a17090ae54900b002349a303ca5so2793460pjb.4 for ; Mon, 20 Feb 2023 14:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ZgxLTls4aFqhhXsGhI61NgnL0NIKTCBF04IPJxgR8ts=; b=f4OUgqS5T8ITBJkMUnS6VPlfXbl6uaHL8K5NvLPOkstMDnXfXafoPqGnCG3voTEgL0 pzcQsumRk+q3ib9+uJLiIyImIC03O7fA7Z78C/LOLdQpt0644336OUxb6FLr8rB4flbO F8BHB4l6m2Y90Yx5a70IkwjDOYw2K7WoIC37/3cTh6lZY83JnG1npSIwYCq7mu61oi1L m5yLi8hV8fG/Ng5zPPjA6WisUVOg0OyYjsr/+q9Y5lhJtjc12AWYBFNiYmZwaLyNl5LV OKGoK3MrLDLvn7eLM7CpxxvBqVAnNnkqTKy41zp379CDfCjWDTEUczFpOhmXvydD1HQ3 oDaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZgxLTls4aFqhhXsGhI61NgnL0NIKTCBF04IPJxgR8ts=; b=lMaITpvcHa9KjDHwX8QBLnCY/RNdrBVnra3+Ls51PuA/5/D/DUYVAjBgsN5MjZ7Js6 G3GVVPSkl54Jajt2+hLQZijxfGkiPOryobFM5xSkXa7HrQtWliVcisnoRDkwVGlsnwiE We2oukRtheFzJBfUZF2b20Wt0pXC8LYziCVsg/C2p2lVvkuOOlUftm7mtzeeif9LQaeY ffSAyKD/yM+/CRLwJ2pUOhzIrtz988J+HYK7jQlFuThsgTCDrWuL6Dk13+mNxBZrakIH 5nzzPtbdPi/1XhaR9CdkLledQaB5HpQCwKHdCHkrc+3CRupzA4Uz8P2fKL0e5w3GydBP +C7A== X-Gm-Message-State: AO0yUKXMEAp6STHbYLp31FuS65uD6f+BXC/HKh+fB0KkummZ5et8GkEc 9nXmINzLa9UPLiJZtT0jLEbG67pmcr2QSz5kpcRgl4Bv X-Google-Smtp-Source: AK7set8Ozem0z1knMHki78PXJB/p1N57BwEurqZpP+t0ANTnFUsCzqCjqJJ3WVcFvNOM1fL8JMT1NAAEy2ykeca7SOg= X-Received: by 2002:a17:903:2591:b0:19a:98ea:5ef1 with SMTP id jb17-20020a170903259100b0019a98ea5ef1mr365927plb.13.1676933106274; Mon, 20 Feb 2023 14:45:06 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:117059 Archived-At: --===============0941145911797994240== Content-Type: multipart/alternative; boundary="0000000000001c930005f5296a11" --0000000000001c930005f5296a11 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maybe the ideographic space U+3000 works. =E5=9C=A8 2023=E5=B9=B42=E6=9C=8821=E6=97=A5=E9=80=B1=E4=BA=8C 03:42=EF=BC= =8CSylvain Hubert via ntg-context =E5=AF=AB=E9=81=93= =EF=BC=9A > 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 > =E5=8F=A3=E5=8F=A3\hspace[big]=E5=8F=A3=E5=8F=A3 % with \setscript[hanz= i], the \hspace is ignored > > \dorecurse{100}{=E5=8F=A3} % 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 > > _________________________________________________________________________= __________ > --0000000000001c930005f5296a11 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Maybe the ideographic space U+3000 works.

=E5=9C=A8 2023=E5=B9=B42=E6=9C=8821= =E6=97=A5=E9=80=B1=E4=BA=8C 03:42=EF=BC=8CSylvain Hubert via ntg-context &l= t;ntg-context@ntg.nl> =E5=AF= =AB=E9=81=93=EF=BC=9A
Dear list,

Does anyone know how to insert a horizont= al space in a CJK document with \setscript[hanzi]?

\setscr= ipt[hanzi]
\definefontfamily[mainface][rm][notoserifcjkhk][]
\setupbo= dyfont[mainface]
\starttext
=E5=8F=A3=E5=8F=A3\hspace[big]=E5=8F=A3= =E5=8F=A3=C2=A0 =C2=A0% with \setscript[hanzi], the \hspace is ignored
<= br>\dorecurse{100}{=E5=8F=A3}=C2=A0 % without \setscript[hanzi], the line i= s not properly wrapped
\stoptext

Many thanks,
Sylvain
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / https:= //www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : https://www.pragma-ade.nl / http:= //context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: https://contextgarden.net
___________________________________________________________________________= ________
--0000000000001c930005f5296a11-- --===============0941145911797994240== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0941145911797994240==--