From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9429 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Justification Date: Tue, 01 Oct 2002 00:16:38 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20021001001513.01fff7f8@remote-1> References: <5.1.0.14.1.20020930001032.035c2060@remote-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399756 3060 80.91.224.250 (23 Oct 2002 19:02:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 19:02:36 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: "Michal Morawski" In-Reply-To: <000f01c268a5$3c033190$34a563d9@michal> Xref: main.gmane.org gmane.comp.tex.context:9429 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9429 At 07:17 PM 9/30/2002 +0200, you wrote: > > > > > >xxxxx xxxxx xxxxxx xxxxxx xxx > > >xx yyyy xxxxxx xx xxxxx xxxxx > > >xxxx ccccc xxxxx xxxxxxxxxxxxxxx <= overfull here > > >xx yyyy xxxxxx xx xxxxx xxxxx > > > > \hyphenatedurl{...} hm, no url but aaaaa12345678 so, how about: \def\hyphenationpoint {\ruledhskip\zeropoint} \def\hyphenated#1% {\bgroup \!!counta\zerocount \def\hyphenated##1{\advance\!!counta\plusone}% \handletokens#1\with\hyphenated \!!countb\plusone \def\hyphenated##1% {##1% \advance\!!countb\plusone\relax \ifnum\!!countb>2 \ifnum\!!countb<\!!counta \hyphenationpoint \fi\fi}% \handletokens#1\with\hyphenated \egroup} \hyphenated{123456789} ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------