[NTG-context] Hyphenation on digits

Richard Mahoney rmahoney at indica-et-buddhica.org
Sat Jan 30 01:24:07 CET 2021


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




-----Original Message-----
From: Hans Hagen <j.hagen at xs4all.nl>
Reply-To: mailing list for ConTeXt users <ntg-context at ntg.nl>
To: mailing list for ConTeXt users <ntg-context at ntg.nl>, Henning
Hraban Ramm <texml at fiee.net>
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 at xs4all.nl>:
> > 
> > I'll add support for:
> >    \pi\ =
> > \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884
> > 197169399375105}
> > 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 at 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
______________________________________________________________________
_____________
-- 
T +6433121699  M +64210640216  E rmahoney at indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210130/61a65cc6/attachment-0001.htm>


More information about the ntg-context mailing list