ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Raggedright--overlapping words
Date: 19 May 2002 19:01:00 +0200	[thread overview]
Message-ID: <87vg9koywj.fsf@gundla.ch> (raw)
In-Reply-To: <20020517193447.A26870429@aisa.fi.muni.cz>

David Antos <xantos@informatics.muni.cz> writes:

Hi David,

> Is plain's \raggedright re-defined? (I know, \setupalign[right] is the
> politically correct name ;-)

old (2001.7.11 context): ----------------------------------------
\raggedright ->\setraggedness \rightraggedness \setraggedskips {3}{0em}{\rightr
aggedness }{.3333em}{.5em}{1fil}{\parindent }

\setraggedness #1->\ifnum \tolerance <1500\relax \tolerance =1500\relax \fi \sp
aceskip =2.5\hsize \xspaceskip =#1\relax \divide \spaceskip by \xspaceskip \ifx
 \dohyphens \relax \hyphenpenalty =\spaceskip \fi 
#1<-\rightraggedness 

\rightraggedness ->2\bodyfontsize 

\setraggedskips #1#2#3#4#5#6#7->\def \updateraggedskips {\dosetraggedskips {#1}
{#2}{#3}{#4}{#5}{#6}{#7}}\updateraggedskips 
#1<-3
#2<-0em
#3<-\rightraggedness 
#4<-.3333em
#5<-.5em
#6<-1fil
#7<-\parindent 

\updateraggedskips ->\dosetraggedskips {3}{0em}{\rightraggedness }{.3333em}{.5e
m}{1fil}{\parindent }

\dosetraggedskips #1#2#3#4#5#6#7->\chardef \raggedstatus =#1\relax \leftskip =1
\leftskip \!!plus #2\relax \rightskip =1\rightskip \!!plus #3\relax \spaceskip 
#4\relax \xspaceskip #5\relax \parfillskip \!!zeropoint \!!plus #6\relax \parin
dent #7\relax 
#1<-3
#2<-0em
#3<-\rightraggedness 
#4<-.3333em
#5<-.5em
#6<-1fil
#7<-\parindent 

\!!plus ->plus

\!!plus ->plus

\rightraggedness ->2\bodyfontsize 

\!!zeropoint ->0pt

\!!plus ->plus
------------------------------------------------------------

new (2002.05.15 context): ----------------------------------------
\raggedright ->\setraggedness \rightraggedness \setraggedskips {3}{0em}{\rightr
aggedness }{.3333em}{.5em}{1fil}{\parindent }

\setraggedness #1->\ifnum \tolerance <1500\relax \tolerance =1500\relax \fi \sp
aceskip =2.5\hsize \xspaceskip =#1\relax \divide \spaceskip by \xspaceskip \ifx
 \dohyphens \relax \hyphenpenalty =\spaceskip \fi 
#1<-\rightraggedness 

\rightraggedness ->2\bodyfontsize 

\setraggedskips #1#2#3#4#5#6#7->\def \updateraggedskips {\dosetraggedskips {#1}
{#2}{#3}{#4}{#5}{#6}{#7}}\updateraggedskips 
#1<-3
#2<-0em
#3<-\rightraggedness 
#4<-.3333em
#5<-.5em
#6<-1fil
#7<-\parindent 

\updateraggedskips ->\dosetraggedskips {3}{0em}{\rightraggedness }{.3333em}{.5e
m}{1fil}{\parindent }

\dosetraggedskips #1#2#3#4#5#6#7->\chardef \raggedstatus =#1\relax \leftskip =1
\leftskip \!!plus #2\relax \rightskip =1\rightskip \!!plus #3\relax \spaceskip 
#4\relax \xspaceskip #5\relax \parfillskip \zeropoint \!!plus #6\relax \parinde
nt #7\relax 
#1<-3
#2<-0em
#3<-\rightraggedness 
#4<-.3333em
#5<-.5em
#6<-1fil
#7<-\parindent 

\!!plus ->plus

\!!plus ->plus

\rightraggedness ->2\bodyfontsize 

\!!plus ->plus

[...]

Overfull \hbox (38.00092pt too wide) in paragraph at lines 164--165
 [][] /cmss10@16.0pt/Pat-terns hold con-text of hy-phen-ation

\hbox(14.33603+5.57509)x228.0, glue set - 1.0
.\glue(\leftskip) 24.00006
.\hbox(14.33603+5.57509)x0.0, glue set - 24.00006fil
..\glue 0.0 plus 1.0fil minus 1.0fil
..\hbox(14.33603+5.57509)x24.00006
...\hbox(14.33603+5.57509)x24.00006, glue set 16.00003fill []
.\hbox(14.33603+5.57509)x0.0
..\rule(14.33603+5.57509)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\glue 0.00012
./cmss10@16.0pt/P
.etc.

Overfull \hbox (32.35658pt too wide) in paragraph at lines 165--166
 [][] /cmss10@16.0pt/String rewrit-ing of reg-u-lar lan-guages

\hbox(14.33603+5.57509)x228.0, glue set - 1.0
.\glue(\leftskip) 24.00006
.\hbox(14.33603+5.57509)x0.0, glue set - 24.00006fil
..\glue 0.0 plus 1.0fil minus 1.0fil
..\hbox(14.33603+5.57509)x24.00006
...\hbox(14.33603+5.57509)x24.00006, glue set 16.00003fill []
.\hbox(14.33603+5.57509)x0.0
..\rule(14.33603+5.57509)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\glue 0.00012
./cmss10@16.0pt/S
.etc.
------------------------------------------------------------

so, there *are* two overfull hboxes there in the new context
version. But I cannot see why.

Patrick

-- 
I'll fade into the darkness


  parent reply	other threads:[~2002-05-19 17:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-17 17:34 David Antos
2002-05-17 17:52 ` Hans Hagen
2002-05-18  8:05   ` David Antos
2002-05-19 17:01 ` Patrick Gundlach [this message]
2002-05-19 22:15   ` Hans Hagen
2002-05-20  9:59     ` David Antos
2002-05-20 12:10     ` Patrick Gundlach
2002-05-20 12:50       ` David Antos
2002-05-20 15:11         ` Patrick Gundlach
2002-05-20 18:15           ` Hans Hagen
2002-05-21 10:18             ` Re[2]: " Giuseppe Bilotta
2002-05-21 15:36               ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vg9koywj.fsf@gundla.ch \
    --to=pg@levana.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).