ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Raggedright--overlapping words
Date: 20 May 2002 14:10:27 +0200	[thread overview]
Message-ID: <87adqv2f64.fsf@gundla.ch> (raw)
In-Reply-To: <5.1.0.14.1.20020520001340.03e5fcc0@remote-1>

Hans Hagen <pragma@wxs.nl> writes:

Hello Hans and David,

> >so, there *are* two overfull hboxes there in the new context
> >version. But I cannot see why.
> 
> as far as i know i didn't change tolerance and so, can it be related
> to different hyphenation patterns? \

No, very unlikely. The \tracingparagraphs showed exactly the same
hyphenation patterns.

> [i did replace plain by a cleaned up context plain so i may have
> missed something, but what ...]
> 
> can you extend your experimental code with showing hyphenpenalties,
> tolerance and so?

I did so, and found out that tolerance, hyphenpenalty, pretolerance,
hbadness, hfuzz and localcolumnwidth are the same in 2001/7 and
2002/5.

I think I have found out that it has to do with the fact that
\startitemize now sets the \rightskip to 0pt instead of 0pt plus
32pt. But I cannot see where this is done. See the last lines of the
box output:

-------------------------------------------------- (context 2001.7.11)
\hbox(14.33603+5.57509)x228.0, glue set 1.2917
.\glue(\leftskip) 24.00006
.\hbox(7.11113+0.0)x0.0, glue set - 24.00006fil
..\glue 0.0 plus 1.0fil minus 1.0fil
..\hbox(7.11113+0.0)x24.00006
...\hbox(7.11113+0.0)x24.00006, glue set 16.00003fill
....\hbox(7.11113+0.0)x8.00003
.....\mathon
...../cmsy10@16.0pt/^^O
.....\mathoff
....\glue 0.0 plus 1.0fill
.\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
.\kern-0.44446
./cmss10@16.0pt/a
./cmss10@16.0pt/t
.\discretionary
../cmss10@16.0pt/-
./cmss10@16.0pt/t
./cmss10@16.0pt/e
./cmss10@16.0pt/r
./cmss10@16.0pt/n
./cmss10@16.0pt/s
.\glue(\spaceskip) 5.33276
./cmss10@16.0pt/h
./cmss10@16.0pt/o
./cmss10@16.0pt/l
./cmss10@16.0pt/d
.\glue(\spaceskip) 5.33276
./cmss10@16.0pt/c
./cmss10@16.0pt/o
./cmss10@16.0pt/n
.\discretionary
../cmss10@16.0pt/-
./cmss10@16.0pt/t
./cmss10@16.0pt/e
./cmss10@16.0pt/x
./cmss10@16.0pt/t
.\glue(\spaceskip) 5.33276
./cmss10@16.0pt/o
./cmss10@16.0pt/f
.\glue(\rightskip) 0.0 plus 32.0
--------------------------------------------------

-------------------------------------------------- (context 2002.5.15)
\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)x8.00003
.....\mathon
...../cmsy10@16.0pt/^^O
.....\mathoff
....\glue 0.0 plus 1.0fill
.\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
.\kern-0.44446
./cmss10@16.0pt/a
./cmss10@16.0pt/t
.\discretionary
../cmss10@16.0pt/-
./cmss10@16.0pt/t
./cmss10@16.0pt/e
./cmss10@16.0pt/r
./cmss10@16.0pt/n
./cmss10@16.0pt/s
.\glue 5.33334 plus 2.66667 minus 1.77779
./cmss10@16.0pt/h
./cmss10@16.0pt/o
./cmss10@16.0pt/l
./cmss10@16.0pt/d
.\glue 5.33334 plus 2.66667 minus 1.77779
./cmss10@16.0pt/c
./cmss10@16.0pt/o
./cmss10@16.0pt/n
.\discretionary
../cmss10@16.0pt/-
./cmss10@16.0pt/t
./cmss10@16.0pt/e
./cmss10@16.0pt/x
./cmss10@16.0pt/t
.\glue 5.33334 plus 2.66667 minus 1.77779
./cmss10@16.0pt/o
./cmss10@16.0pt/f
.\glue 5.33334 plus 2.66667 minus 1.77779
./cmss10@16.0pt/h
./cmss10@16.0pt/y
.\discretionary
../cmss10@16.0pt/-
./cmss10@16.0pt/p
./cmss10@16.0pt/h
./cmss10@16.0pt/e
./cmss10@16.0pt/n
.\discretionary
../cmss10@16.0pt/-
./cmss10@16.0pt/a
./cmss10@16.0pt/t
./cmss10@16.0pt/i
./cmss10@16.0pt/o
./cmss10@16.0pt/n
.\glue(\rightskip) 0.0
--------------------------------------------------

If you (David) put a \rightskip=0pt plus 32pt after the first \item,
the output seems to be the same as with the old ConTeXt.

Have a nice day! 

 Patrick

-- 
I'll fade into the darkness


  parent reply	other threads:[~2002-05-20 12:10 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
2002-05-19 22:15   ` Hans Hagen
2002-05-20  9:59     ` David Antos
2002-05-20 12:10     ` Patrick Gundlach [this message]
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=87adqv2f64.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).