Hans,
Thanks for this.
In addition to:
({\it Ṛgveda}~\hyphenateddigits{1.114.10}) -- break after either "."
Here are some other typical cases reflecting material I've been
working with of late:
{\it cf}.~(ARE 1949--50)\KSP, -- break after "--"
Tamil (lns 1---517, plates 11a---31b) -- break after either "---"
{\it Ekottarāgama}, T125, 2: 549a10-15. -- break anywhere
Best, Richard
--
Indica et Buddhica Littledene Bay Road Oxford NZ
-----Original Message-----
Subject: Re: [NTG-context] Hyphenation on digits
Date: Fri, 29 Jan 2021 11:25:00 +0100
Mailer: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.1
X-Spam-Score: 0.0
On 1/29/2021 10:30 AM, Henning Hraban Ramm wrote:
Am 28.01.2021 um 15:00 schrieb Hans Hagen <
j.hagen@xs4all.nl
>:
I'll add support for:
\pi\ = \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}
A quick and dirty hack as we don't need some full blown mechanism for such a rare case.
Thank you! Might come handy for other non-words, as Richard has shown.
Wikified:
https://wiki.contextgarden.net/Hyphenation
Depending on usage it might need to b eimproved (like: does one wants to
break before a period or comma but let's first collect use cases
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 |
www.pragma-ade.nl
|
www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist :
ntg-context@ntg.nl
/
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage :
http://www.pragma-ade.nl
/
http://context.aanhet.net
archive :
https://bitbucket.org/phg/context-mirror/commits/
wiki :
http://contextgarden.net
___________________________________________________________________________________