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
___________________________________________________________________________________