From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
mf <massifr@fastwebnet.it>
Subject: [NTG-context] Re: full-width Chinese comma (U+FF0C) and ordinary comma (U+002C) in Chinese texts
Date: Thu, 14 Nov 2024 17:52:57 +0100 [thread overview]
Message-ID: <7e553eea-e2a9-1fe8-42c3-8207fe2355ff@gmail.com> (raw)
In-Reply-To: <14e70c33-16c0-4ed7-a008-80d686337e3e@fastwebnet.it>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-11-14 16:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 16:45 [NTG-context] " mf
2024-11-14 16:52 ` Wolfgang Schuster [this message]
2024-11-14 17:10 ` [NTG-context] " mf
2024-11-14 17:17 ` Wolfgang Schuster
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=7e553eea-e2a9-1fe8-42c3-8207fe2355ff@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=massifr@fastwebnet.it \
--cc=ntg-context@ntg.nl \
/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).