From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110412 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Mahoney Newsgroups: gmane.comp.tex.context Subject: Fwd: Re: Hyphenation on digits Date: Fri, 29 Jan 2021 15:13:21 +1300 Organization: Indica et Buddhica Message-ID: <48d37817890aa93efd24b625d1fd4b7272dbcb95.camel@indica-et-buddhica.org> References: Reply-To: Richard Mahoney , mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7888185055955322731==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30586"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.5 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 29 03:18:46 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5JN0-0007kL-4a for gctc-ntg-context-518@m.gmane-mx.org; Fri, 29 Jan 2021 03:18:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AEAE7280087; Fri, 29 Jan 2021 03:18:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x7eIlo_FjKLh; Fri, 29 Jan 2021 03:18:19 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EA8F3280089; Fri, 29 Jan 2021 03:18:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 23A07280089 for ; Fri, 29 Jan 2021 03:18:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8ofVp04XDexp for ; Fri, 29 Jan 2021 03:18:17 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=103.2.142.21; helo=e2i533.smtp2go.com; envelope-from=bt.67q1iolp30=lmjab12j3f9j=0zv7k5ip29@em110947.indica-et-buddhica.org; receiver= X-Greylist: delayed 168 seconds by postgrey-1.36 at zapf.ntg.nl; Fri, 29 Jan 2021 03:18:17 CET Original-Received: from e2i533.smtp2go.com (e2i533.smtp2go.com [103.2.142.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 84323280084 for ; Fri, 29 Jan 2021 03:18:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:Date:To:Reply-To:From: Subject:Message-ID:Sender:List-Unsubscribe; bh=6awj/H4Wt8L7IYKCsdcVOO5lcTALoMFke2Ys6uCInTE=; b=GIky9v5S+IhTM7xR2M1qQhDlQ/ W46Of16d8Y8/ajbWUyP7gdEnJ3WZg8KCs0D6H7wITurYTWz9K4cuM6vJRVwjMJJLSvgWOx7Jxsl8B v0xBpkFXi81nth91LOPtgbAv42MjwoAoK6s+9o514b4ZhSICu68jdZTaglU+qdRnw9A2hmQPy7GIt rBJtUbKh4GsX041IdS3vbZ4Bnj4f7IQYf+inCz5Qqc1SrI8hJWgP6AMOfj8baUn8bmOhNAQlCz/nO q+Gt9WWOsK82QVRQWTQiVODd1P2AVFBQWcdBPKfoefDhASBRpapUQF6V2TfLBbzayu8GHUns1c4VI JpPKpgHQ==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=indica-et-buddhica.org; i=@indica-et-buddhica.org; q=dns/txt; s=s110947; t=1611886697; h=from : subject : to : message-id : date; bh=6awj/H4Wt8L7IYKCsdcVOO5lcTALoMFke2Ys6uCInTE=; b=fA90k19CzHetjNEWNfrXGeKaFBOG5LAZumT732X2/zxHRnctNxwvuXAzp96aRnWYVLcZu vWPNBiapdrEwiLDwJGB7NuohkamfSF5h+b7fp7UQuC7nMsFpSj5hmdBUV3Hz3jrYnuenSBE 3dpkyb32fNLUQ9vG9lGhKIw0T/uExEPjVIrwb/CsGCQ53U5U65wV3wep73xjljlVdkNzd8q gFqlwmowbUrUmHXJgDNMGnakY7jdqEQT7Bt2ow7fBevMGhgb8adukQG60c5nQHm+z1TDfWT HsKhtKU1biA6A4AWT06pKPutDMFtJtDLOEqHfWYxtRm0sWdYWF18+uP+smPQ== Original-Received: from [10.45.63.29] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-S2G) (envelope-from ) id 1l5JJn-qt4D67-Ic for ntg-context@ntg.nl; Fri, 29 Jan 2021 02:15:27 +0000 Original-Received: from [10.203.96.209] (helo=ieb-01000-hp-8570w.localdomain) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-S2G) (envelope-from ) id 1l5JJk-WfZa3p-7X for ntg-context@ntg.nl; Fri, 29 Jan 2021 02:15:24 +0000 Original-Received: by ieb-01000-hp-8570w.localdomain (Postfix, from userid 1000) id 7BD1F44200B; Fri, 29 Jan 2021 15:14:07 +1300 (NZDT) X-Smtpcorp-Track: 1_5JJkWfZa3p7b.E9A9Et7fVjUBF Feedback-ID: 110947m:110947aJu5aPi:110947sFafGzdhwa X-Report-Abuse: Please forward a copy of this message, including all headers, to X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:110412 Archived-At: --===============7888185055955322731== Content-Type: multipart/alternative; boundary="=-NFHRXsXaXJBf+3IS5kYt" --=-NFHRXsXaXJBf+3IS5kYt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E1=B9=9Agveda}~\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 To: mailing list for ConTeXt users , "Jairo A. del Rio" 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. >=20 > I want to know if ConTeXt provides an option to automatically=20 > hyphenate/break digits as if they were alphabetic characters. Example,=20 > in a narrow page I expect something like that (I've used (-) for an=20 > optional hyphen): >=20 > *=CF=80 =3D *3.141592653(-) > 58979323846264(-) > 33832795028841(-) > 97169399375105(-) > ... >=20 > I found myself unable to read a satisfactory solution in the mailing=20 > list archive nor other TeX related resources. Maybe LMTX has some magic=20 > for that? I'll add support for: \starttext \hsize6cm \pi\ =3D=20 \hyphenateddigits[\unknown]{3.1415926535897932384626433832795028841971 69399375105}=20 \blank \pi\ =3D=20 \hyphenateddigits{3.14159265358979323846264338327950288419716939937510 5}=20 \blank x $\pi =3D=20 \hyphenateddigits[\unknown]{3.1415926535897932384626433832795028841971 69399375105}$=20 \blank x $\pi =3D=20 \hyphenateddigits{3.14159265358979323846264338327950288419716939937510 5}$=20 \blank \stoptext A quick and dirty hack as we don't need some full blown mechanism for=20 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 /=20 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 ______________________________________________________________________ _____________ --=20 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 --=-NFHRXsXaXJBf+3IS5kYt Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Just=20to=20clarify.=20The=20new=20\hyphenateddigits=20means= =20that=20with
a=20couple=20of=20tightly=20packed=20columns=20of= =20footnotes=20it=20is=20now
possible=20to=20break=20a=20textual= =20reference=20such=20as=20this=20across
two=20lines.
<= br>
({\it=20=E1=B9=9Agveda}~\hyphenateddigits{1.114.10})

This=20is=20just=20great,=20and=20I=20can=20see=20it=20bei= ng=20used=20reasonably
often.


=
Best,=20Richard



--=20
T=20+6433121699  M= =20+64210640216  E=20rmahoney@indica-et-buddhica.org
= IM=20https://t.me/rmahoney&n= bsp; W=20https://= indica-et-buddhica.org/

In= dica=20et=20Buddhica  Littledene  Bay=20Road &= nbsp;Oxford  NZ

-----= ---=20Forwarded=20Message=20--------
From:=20Richard=20Mah= oney=20<rmahoney@indica-et-buddhica.org>
Reply-T= o:=20Richard=20Mahoney=20<rmahoney@indica-et-buddhica.org>= ;
To:=20mailing=20list=20for=20ConTeXt=20users=20<ntg-context@ntg.nl>
Subject:=20Re:=20[NTG-co= ntext]=20Hyphenation=20on=20digits
Date:=20Fri,=2029=20Jan= =202021=2004:52:34=20+1300
Mailer:=20Cyrus-JMAP/3.5.0-alph= a0-84-gfc141fe8b8-fm-20210125.001-gfc141fe8
X-Spam-Score:=200.0

p.MsoNormal,p.MsoNoSpacing{margin:0}
Thank=20you=20for= =20this=20Hans,=20its=20going=20to=20be=20very=20useful=20for
breaking=20bibliographic=20refs=20including manuscript=20or
inscription=20codes=20in=20two=20column=20mode.
Best,=20Richard


--
T=20+6433121699 =20M=20+64210640216 =20<= b>E=20rmahoney@ind= ica-et-buddhica.org
IM= =20https://t.me/rmahoney =20W=20https://indica-et-bu= ddhica.org/

Indica=20et=20Buddhica=20 Littledene =20Bay=20Road&nb= sp;=20Oxford =20NZ


=
-----=20Original=20message=20-----
From:=20Hans=20= Hagen=20<j.hagen@xs4all.nl>= ;
To:=20mailing=20list=20for=20ConTeXt=20users=20<ntg-context@ntg.nl>,=20"Jairo=20A.= =20del=20Rio"=20<jairoadelr= io6@gmail.com>
Subject:=20Re:=20[NTG-context]=20Hyphen= ation=20on=20digits
Date:=20Friday,=2029=20January=202021=200= 3:00

=
On=201/28/2021=2012:50=20PM,=20Jairo=20A.=20del=20Rio=20wrote:
>=20Hi,=20list.

>=20I= =20want=20to=20know=20if=20ConTeXt=20provides=20an=20option=20to=20automati= cally 
>=20hyphenate/break=20digits=20as=20if=20they= =20were=20alphabetic=20characters.=20Example, 
>=20in= =20a=20narrow=20page=20I=20expect=20something=20like=20that=20(I've=20used= =20(-)=20for=20an 
>=20optional=20hyphen):
<= div>> 
>=20*=CF=80=20=3D=20*3.141592653(-)
>=2058979323846264(-)
>=2033832795028841(-)
<= /div>
>=2097169399375105(-)
>=20...
&= gt; 
>=20I=20found=20myself=20unable=20to=20read=20a= =20satisfactory=20solution=20in=20the=20mailing 
>=20= list=20archive=20nor=20other=20TeX=20related=20resources.=20Maybe=20LMTX=20= has=20some=20magic 
>=20for=20that?
I'll=20add=20support=20for:

\start= text

\hsize6cm

&n= bsp;  =20\pi\=20=3D 
\hyphenateddigits[\unknow= n]{3.141592653589793238462643383279502884197169399375105} 
 =20\blank
   =20\pi\=20=3D 
<= /div>
\hyphenateddigits{3.141592653589793238462643383279502884197169399= 375105} 
        = ;   =20\blank
x=20$\pi =20=3D 
\hyphenateddigits[\unknown]{3.141592653589793238462643383279502884= 197169399375105}$ 
\blank
x=20$\pi = =20=3D 
\hyphenateddigits{3.1415926535897932384626433832= 79502884197169399375105}$ 
     = ;    =20\blank

\stoptext

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

Hans


----------------------------------------------------= -------------
        = ;            &n= bsp;            = ;         =20Hans=20Hagen=20|= =20PRAGMA=20ADE
       &nb= sp;      =20Ridderstraat=2027=20|=208061=20GH= =20Hasselt=20|=20The=20Netherlands
    &n= bsp;  =20tel:=20038=20477=2053=2069=20| www.pragma-ade.nl=20| www.pragma-pod.nl
-------------------------= ----------------------------------------
____________________= _______________________________________________________________
If=20your=20question=20is=20of=20interest=20to=20others=20as=20well,=20p= lease=20add=20an=20entry=20to=20the=20Wiki!

ma= illist=20: ntg-context@ntg.nl<= /a>=20/ h= ttp://www.ntg.nl/mailman/listinfo/ntg-context
webpage&nbs= p;=20: http://www.pragma-ade.nl= =20/ http://context.aanhet= .net
archive =20: https://bitbucket.org/phg/context-mirror= /commits/
wiki    =20: http://contextgarden.net
__= ___________________________________________________________________________= ______


--=-NFHRXsXaXJBf+3IS5kYt-- --===============7888185055955322731== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7888185055955322731==--