[NTG-context] Hyphenation on digits

Richard Mahoney rmahoney at indica-et-buddhica.org
Thu Jan 28 16:52:34 CET 2021

Thank you for this Hans, its going to be very useful for
breaking bibliographic refs including manuscript or
inscription codes in two column mode.

Best, Richard

*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 <https://indica-et-buddhica.org/>

----- Original message -----
From: Hans Hagen <j.hagen at xs4all.nl>
To: mailing list for ConTeXt users <ntg-context at ntg.nl>, "Jairo A. del Rio" <jairoadelrio6 at gmail.com>
Subject: Re: [NTG-context] Hyphenation on digits
Date: Friday, 29 January 2021 03:00

On 1/28/2021 12:50 PM, Jairo A. del Rio wrote:
> Hi, list.
> I want to know if ConTeXt provides an option to automatically 
> hyphenate/break digits as if they were alphabetic characters. Example, 
> in a narrow page I expect something like that (I've used (-) for an 
> optional hyphen):
> *π = *3.141592653(-)
> 58979323846264(-)
> 33832795028841(-)
> 97169399375105(-)
> ...
> I found myself unable to read a satisfactory solution in the mailing 
> list archive nor other TeX related resources. Maybe LMTX has some magic 
> for that?

I'll add support for:



    \pi\ = 
    \pi\ = 
x $\pi  = 
x $\pi  = 


A quick and dirty hack as we don't need some full blown mechanism for 
such a rare case.


                                           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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20210129/4ca68188/attachment-0001.htm>

More information about the ntg-context mailing list