ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyphenation on digits
@ 2021-01-28 11:50 Jairo A. del Rio
  2021-01-28 14:00 ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Jairo A. del Rio @ 2021-01-28 11:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]

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?

Cordially,

Jairo

[-- Attachment #1.2: Type: text/html, Size: 676 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-28 11:50 Hyphenation on digits Jairo A. del Rio
@ 2021-01-28 14:00 ` Hans Hagen
  2021-01-28 15:52   ` Richard Mahoney
                     ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Hans Hagen @ 2021-01-28 14:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jairo A. del Rio

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:

\starttext

\hsize6cm

    \pi\ = 
\hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105} 
  \blank
    \pi\ = 
\hyphenateddigits{3.141592653589793238462643383279502884197169399375105} 
            \blank
x $\pi  = 
\hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}$ 
\blank
x $\pi  = 
\hyphenateddigits{3.141592653589793238462643383279502884197169399375105}$ 
          \blank

\stoptext

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

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-28 14:00 ` Hans Hagen
@ 2021-01-28 15:52   ` Richard Mahoney
  2021-01-29  2:13     ` Fwd: " Richard Mahoney
  2021-01-29  2:21   ` Jairo A. del Rio
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Richard Mahoney @ 2021-01-28 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2675 bytes --]

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@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@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>, "Jairo A. del Rio" <jairoadelrio6@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:

\starttext

\hsize6cm

    \pi\ = 
\hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105} 
  \blank
    \pi\ = 
\hyphenateddigits{3.141592653589793238462643383279502884197169399375105} 
            \blank
x $\pi  = 
\hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}$ 
\blank
x $\pi  = 
\hyphenateddigits{3.141592653589793238462643383279502884197169399375105}$ 
          \blank

\stoptext

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

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
___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 5760 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Fwd: Re:  Hyphenation on digits
  2021-01-28 15:52   ` Richard Mahoney
@ 2021-01-29  2:13     ` Richard Mahoney
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Mahoney @ 2021-01-29  2:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3589 bytes --]

Just to clarify. The new \hyphenateddigits means that witha couple of
tightly packed columns of footnotes it is nowpossible to break a
textual reference such as this acrosstwo lines.
({\it Ṛgveda}~\hyphenateddigits{1.114.10})
This is just great, and I can see it being used reasonablyoften.

Best, Richard



-------- Forwarded Message --------From: Richard Mahoney <
rmahoney@indica-et-buddhica.org>Reply-To: Richard Mahoney <
rmahoney@indica-et-buddhica.org>To: mailing list for ConTeXt users <
ntg-context@ntg.nl>Subject: Re: [NTG-context] Hyphenation on
digitsDate: Fri, 29 Jan 2021 04:52:34 +1300Mailer: Cyrus-JMAP/3.5.0-
alpha0-84-gfc141fe8b8-fm-20210125.001-gfc141fe8X-Spam-Score: 0.0
p.MsoNormal,p.MsoNoSpacing{margin:0}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@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ


----- Original message -----
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>, "Jairo A. del
Rio" <jairoadelrio6@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:

\starttext

\hsize6cm

    \pi\ = 
\hyphenateddigits[\unknown]{3.1415926535897932384626433832795028841971
69399375105} 
  \blank
    \pi\ = 
\hyphenateddigits{3.14159265358979323846264338327950288419716939937510
5} 
            \blank
x $\pi  = 
\hyphenateddigits[\unknown]{3.1415926535897932384626433832795028841971
69399375105}$ 
\blank
x $\pi  = 
\hyphenateddigits{3.14159265358979323846264338327950288419716939937510
5}$ 
          \blank

\stoptext

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

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
______________________________________________________________________
_____________



-- 
T +6433121699  M +64210640216  E rmahoney@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ

[-- Attachment #1.2: Type: text/html, Size: 7782 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-28 14:00 ` Hans Hagen
  2021-01-28 15:52   ` Richard Mahoney
@ 2021-01-29  2:21   ` Jairo A. del Rio
  2021-01-29  9:30   ` Henning Hraban Ramm
  2021-11-03 15:10   ` Jairo A. del Rio via ntg-context
  3 siblings, 0 replies; 9+ messages in thread
From: Jairo A. del Rio @ 2021-01-29  2:21 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1738 bytes --]

Nice. Thank you very much, it works perfectly. :)

Jairo :)

El jue, 28 de ene. de 2021 a la(s) 09:00, Hans Hagen (j.hagen@xs4all.nl)
escribió:

> 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:
>
> \starttext
>
> \hsize6cm
>
>     \pi\ =
> \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}
>
>   \blank
>     \pi\ =
> \hyphenateddigits{3.141592653589793238462643383279502884197169399375105}
>             \blank
> x $\pi  =
> \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}$
>
> \blank
> x $\pi  =
> \hyphenateddigits{3.141592653589793238462643383279502884197169399375105}$
>           \blank
>
> \stoptext
>
> A quick and dirty hack as we don't need some full blown mechanism for
> such a rare case.
>
> 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 2397 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-28 14:00 ` Hans Hagen
  2021-01-28 15:52   ` Richard Mahoney
  2021-01-29  2:21   ` Jairo A. del Rio
@ 2021-01-29  9:30   ` Henning Hraban Ramm
  2021-01-29 10:25     ` Hans Hagen
  2021-11-03 15:10   ` Jairo A. del Rio via ntg-context
  3 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm @ 2021-01-29  9:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> 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

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-29  9:30   ` Henning Hraban Ramm
@ 2021-01-29 10:25     ` Hans Hagen
  2021-01-30  0:24       ` Richard Mahoney
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2021-01-29 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Henning Hraban Ramm

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-29 10:25     ` Hans Hagen
@ 2021-01-30  0:24       ` Richard Mahoney
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Mahoney @ 2021-01-30  0:24 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2535 bytes --]

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@xs4all.nl>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>, Henning
Hraban Ramm <texml@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@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@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@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ

[-- Attachment #1.2: Type: text/html, Size: 5202 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Hyphenation on digits
  2021-01-28 14:00 ` Hans Hagen
                     ` (2 preceding siblings ...)
  2021-01-29  9:30   ` Henning Hraban Ramm
@ 2021-11-03 15:10   ` Jairo A. del Rio via ntg-context
  3 siblings, 0 replies; 9+ messages in thread
From: Jairo A. del Rio via ntg-context @ 2021-11-03 15:10 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users; +Cc: Jairo A. del Rio


[-- Attachment #1.1: Type: text/plain, Size: 2124 bytes --]

Hi again. I've noticed \hyphenateddigits fails with alphabetical symbols,
e.g. with hexadecimal numbers. Maybe there's a better solution, but
something like

--From phys-dim.lua
    actions   = function(filler, digits)
        digits = gsub(digits,"(%d)","%1\\digitsbreak ") --space added.
Would a "\relax " do better?
        digits = gsub(digits,"\\-$",filler)
        context(digits)
    end

would fix it.

Best regards,

Jairo

El jue, 28 de ene. de 2021 a la(s) 09:00, Hans Hagen (j.hagen@xs4all.nl)
escribió:

> 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:
>
> \starttext
>
> \hsize6cm
>
>     \pi\ =
> \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}
>
>   \blank
>     \pi\ =
> \hyphenateddigits{3.141592653589793238462643383279502884197169399375105}
>             \blank
> x $\pi  =
> \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105}$
>
> \blank
> x $\pi  =
> \hyphenateddigits{3.141592653589793238462643383279502884197169399375105}$
>           \blank
>
> \stoptext
>
> A quick and dirty hack as we don't need some full blown mechanism for
> such a rare case.
>
> 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 2910 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-11-03 15:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 11:50 Hyphenation on digits Jairo A. del Rio
2021-01-28 14:00 ` Hans Hagen
2021-01-28 15:52   ` Richard Mahoney
2021-01-29  2:13     ` Fwd: " Richard Mahoney
2021-01-29  2:21   ` Jairo A. del Rio
2021-01-29  9:30   ` Henning Hraban Ramm
2021-01-29 10:25     ` Hans Hagen
2021-01-30  0:24       ` Richard Mahoney
2021-11-03 15:10   ` Jairo A. del Rio via ntg-context

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).