From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 0225422272 for ; Thu, 14 Nov 2024 17:55:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5A0D548542D for ; Thu, 14 Nov 2024 17:53:52 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-language:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:received:received :received:received:received:received:received; s=cgl; t= 1731603231; x=1734195232; bh=rXR89l+baiyCJv1/1NCWdB9Rm0VYLDNBmvN bEIi76Zc=; b=NGCAOYNzPozKEvH5Z8cdljt0xe8gN1ZYYWGcVTVQPSWZQG0cel7 jL+6ql6uuK5mSBDaKycK+aIMJQmAapu2r666vIihUDgO8YQpWDe/i/UMsi4mgNhg ebM5vml7z4ONw8zMmAYTYvSC248QfqxZolBPtrbqXyl7QKes3kIDsxWA= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b9vQg7hzg22J for ; Thu, 14 Nov 2024 17:53:51 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E868C484E13 for ; Thu, 14 Nov 2024 17:53:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 88FD9484A6E for ; Thu, 14 Nov 2024 17:52:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ghyU4P_p1WSY for ; Thu, 14 Nov 2024 17:52:59 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.41; helo=mail-ej1-f41.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 38409484A65 for ; Thu, 14 Nov 2024 17:52:59 +0100 (CET) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a9ed49edd41so149168066b.0 for ; Thu, 14 Nov 2024 08:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731603179; x=1732207979; darn=ntg.nl; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=aGawO3aHtdZDiS2sv1x3uxTNWhGDFqIejR+O9MPDuvo=; b=WBe2uryK5yaLrI3mFcnW8DeqnzjUVZR1JoJlpPmeiEA1Lh8rRmibrug0kYsrL/s37J FF+Cs5AQ5yM1s0gnHH3BjyvUi3DyfxlVJz7mJLt2TEML5FK0SBdO5xAEQfaUJaqbAU2i 8h89dJ+Da3OkfvPn5u0XM/RRYOPVwlG0JE1dd3smlBGuxEzAz32kYADY1MyzjbZWniGF 7qWzZkdawy+9HZC7eIXb4Qrumq9gkvuAjyk8FHuNB6BVjqjbB/sUWW9fxxUQqNahPCpt ezxCHHuVxNOGe3ERmFmaeEOLr9SsmE0m7z9ItuK04ZSIaPfVjwBoL+WoHor5OB9g2ONk NYxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731603179; x=1732207979; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aGawO3aHtdZDiS2sv1x3uxTNWhGDFqIejR+O9MPDuvo=; b=clLZbggNFa40DDT+c5k+nRvcpfvKKgQo2o6cvIqSyO4iZjcFZ5NxpLM8mRXdI/J9Fw onFTUIKNeaBo6O9zLzkTQwP774QGqiMhUZWtkxclkSpc1z0Z4SJD+PzC/7X9sgsp6Rfg 5PCvH4tQFP8TNq5+gWYjkY+bUt7jR6DpXi5nKe5ixrQQCB4/q8ajUSPInZ/sXjP3bjck XEAyOcPFDC2jwpRybTY3cvg00bB+itHvbTB1iOOgMh0W/Sylw8GM0dFadRiCm+4nTPLO kEtC2aA2zz2wyyhk2XinNvlTCC7+WvkyAJwWXQy9J0fX9T6Y7fEa/xaIZvt6f+4yjSRD kubg== X-Gm-Message-State: AOJu0YxceNFQeTjo4YrDsEJgqZZ0KqCqCqlx9/CpgxZLQK3kvjxbHRYe tC1R1svCjpBLuAEf6Va/qOFhcaJOWVx/qWOMPpKjkeiyizqmLOeb X-Google-Smtp-Source: AGHT+IEogVW2CBUHf86l0OSUWkujXRBIRB5Oof6HgBTCZ4ExImO5P0lLAOQgqK41+4iq7Km3KIf9Pw== X-Received: by 2002:a17:907:3fa2:b0:a9e:4b88:e03b with SMTP id a640c23a62f3a-a9eefce928emr2546045966b.0.1731603178486; Thu, 14 Nov 2024 08:52:58 -0800 (PST) Received: from ?IPv6:2a02:810d:a8c0:7ec:2969:d8ad:db31:9070? ([2a02:810d:a8c0:7ec:2969:d8ad:db31:9070]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa20e080a90sm81152366b.174.2024.11.14.08.52.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Nov 2024 08:52:58 -0800 (PST) To: mailing list for ConTeXt users , mf References: <14e70c33-16c0-4ed7-a008-80d686337e3e@fastwebnet.it> From: Wolfgang Schuster Message-ID: <7e553eea-e2a9-1fe8-42c3-8207fe2355ff@gmail.com> Date: Thu, 14 Nov 2024 17:52:57 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.64 MIME-Version: 1.0 In-Reply-To: <14e70c33-16c0-4ed7-a008-80d686337e3e@fastwebnet.it> Content-Language: en-US Message-ID-Hash: T3VDWOA3LBQWS5OZPUYKDR5D3FRZPTPS X-Message-ID-Hash: T3VDWOA3LBQWS5OZPUYKDR5D3FRZPTPS X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: full-width Chinese comma (U+FF0C) and ordinary comma (U+002C) in Chinese texts List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit mf schrieb am 14.11.2024 um 17:45: > Hello, > > I'm typesetting a bibliography with some Chinese books that have both > the English translation and the original title in Chinese ideograms. > > The Chinese titles contain both full-width commas (U+FF0C) and > ordinary commas (U+002C), followed by spaces. > > Full-width comma has a wide glyph that incorporates some space on the > right side; I read on Wikipedia it's a mistake putting a space after it. > > THE PROBLEM > ConTeXt does not break a line after a full-width comma (even inside a > "{\cn ... }" group), while it does with an ordinary comma, followed by > a space. > When there are only full-width commas, sometimes I'll get overfull > boxes, because ConTeXt finds no feasible breakpoints. > > I'm tempted to replace all the full-width commas with ordinary commas > followed by a space. Is it possible, or is it a mistake? > > Or, how do I tell ConTeXt that breaks can occur after full-width commas? Use \setscript[hanzi] to enable linebreaking for chinese. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________