ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: question concerning overful box warnings
@ 2000-09-04 12:28 George N. White III
  2000-09-04 12:50 ` Frans Goddijn
  0 siblings, 1 reply; 5+ messages in thread
From: George N. White III @ 2000-09-04 12:28 UTC (permalink / raw)
  Cc: ntg-context

On Fri, 1 Sep 2000, Hans Hagen wrote:

> The following test 
> 
> \dorecurse{400}{x}
> 
> should give an overfull box  with /something/..... mentioned as log. Now,
> what is it on other machines/tex's? Still /font/ or is there a name
> mentioned. I would appreciate if some users would test that (if possible on
> for instance pdftex13, miktex, etc).          

On Mandrake Linux 7.1 (teTeX 1.07), with pdftex updated to ver. 0.14f,
I get:

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (Web2C 7.3.2x)
entering extended mode>
(hagen-test.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}>
[...]

Overfull \hbox (2053.74236pt too wide) in paragraph at lines 2--3
[]/cmr12/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxx 

-- 
George N. White III <gnw3@acm.org> Bedford Institute of Oceanography


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

* Re: question concerning overful box warnings
  2000-09-04 12:28 question concerning overful box warnings George N. White III
@ 2000-09-04 12:50 ` Frans Goddijn
  0 siblings, 0 replies; 5+ messages in thread
From: Frans Goddijn @ 2000-09-04 12:50 UTC (permalink / raw)


and on an old emTeX plain TeX under 4TEX version 4 is says:

This is emTeX (tex386), Version 3.14159 [4b] (preloaded format=texput
97.7.3)  4 SEP 2000 14:49
**&plain 0test.tex
(0test.tex
Overfull \hbox (1656.08781pt too wide) in paragraph at lines 1--2
[]\tenrm
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


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

* Re: question concerning overful box warnings
       [not found] ` <39B22DF9.635E0B7B@gmx.net>
@ 2000-09-03 19:44   ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2000-09-03 19:44 UTC (permalink / raw)
  Cc: ntg-context

At 12:54 PM 9/3/00 +0200, Hraban wrote:

>My testfile ist only
>
>\starttext
>\dorecurse{400}{x}
>\stoptext
>
>BTW: You mentioned I should update my pdfetex from 13d to 14*.
>I couldn't find a newer version -- I installed "new" tetex, pdftex and
>etex from CTAN.

You're kidding, v 14f is the latest.

>Overfull \hbox (2053.74236pt too wide) in paragraph at lines 2--3
>[]\font\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

See, here it shows \font\, but in v14 the filename. Here i now get 

[]\cmr12\ xxxxxxx

Strange eh? Seems like tex has changed or i must be doing something stupid. 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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
-------------------------------------------------------------------------


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

* Re: question concerning overful box warnings
  2000-09-01 16:08 Hans Hagen
@ 2000-09-03 13:58 ` Frans Goddijn
       [not found] ` <39B22DF9.635E0B7B@gmx.net>
  1 sibling, 0 replies; 5+ messages in thread
From: Frans Goddijn @ 2000-09-03 13:58 UTC (permalink / raw)


> so i wonder what happens on other machines/texs.
> The following test
> \dorecurse{400}{x}
> should give an overfull box  with /something/..... mentioned as log. Now,
> what is it on other machines/tex's?

mine gives:

This is pdfTeX, Version 3.14159-13d (Web2c 7.3.1) (format=cont-nl
2000.8.24)  3 SEP 2000 15:55
ConTeXt  ver: 2000.3.30  fmt: 2000.8.24  int: dutch  mes: dutch
Overfull \hbox (1573.21257pt too wide) in paragraph at lines 17--18
[]\font\
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> I would appreciate if some users would test that (if possible on
> for instance pdftex13, miktex, etc).

I hope my test was something you were trying to find out... I don't get the
meaning of it all but never mind!

frans


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

* question concerning overful box warnings
@ 2000-09-01 16:08 Hans Hagen
  2000-09-03 13:58 ` Frans Goddijn
       [not found] ` <39B22DF9.635E0B7B@gmx.net>
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2000-09-01 16:08 UTC (permalink / raw)


Hi, 

As a result of some optimizations tex (that is the original one) can report
confusing filenames when reporting overful boxes. If for instance fontx,
fonty and fontz are all defined as 20pt the last defined name one is
reported. This can lead to situations where an overful box is reported
using a pseudo small caps, while actually another font switch is the cause.
That way one can end up in endless lookups for the reason for the box being
overful. A few years ago Taco and I spend some hours on the telephone
hacking tex the program as well as low level context to find the reason for
this behavior. We finally found that it's in tex the program, an
optimization side effect. After that I decided that it was better to report
a nonsence name than a wrong one, which is why since then context reported
/font/ instead of /somename/. This was accomplished by a redundant
definition of font/ with each font switch.

Currently I'm implementing math time support (that is extending, upgrading
taco's font-mty module) and at the same time I clean up the font mechanism
a bit (since I'm also adding font size mapping, which is needed for math
time, since in math e.g. 10.8 pt is used in math instead of 11pt; so in
addition to "somefont sa 2" there will now be "somefont mo 2" too, in which
case the mapped size will be taken if present).

Now, while testing this, I ran into a strange phenomena. Suddenly instead
of my /font/ messages I get font filenames like /tir/ and /tir@8.4pt/ [kind
of funny that in the former case the design size is not reported]. A search
on older machines learns me that at a certain moment something has been
changed in tex the program (unless I'm wrong). Now, apart from the
interesting question if this change is triptest compatible, if indeed it is
a change, it demonstrates that even cosmetic changes can have strange
consequences [let alone spoiling a few hours] so i wonder what happens on
other machines/texs. 

The following test 

\dorecurse{400}{x}

should give an overfull box  with /something/..... mentioned as log. Now,
what is it on other machines/tex's? Still /font/ or is there a name
mentioned. I would appreciate if some users would test that (if possible on
for instance pdftex13, miktex, etc).          

Hans

[i wonder is there is a way to know such changes in advance, like the
change in hyphen names of the dutch patterns, since i want context to be in
tune with recent distributions]
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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
-------------------------------------------------------------------------


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

end of thread, other threads:[~2000-09-04 12:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-04 12:28 question concerning overful box warnings George N. White III
2000-09-04 12:50 ` Frans Goddijn
  -- strict thread matches above, loose matches on Subject: below --
2000-09-01 16:08 Hans Hagen
2000-09-03 13:58 ` Frans Goddijn
     [not found] ` <39B22DF9.635E0B7B@gmx.net>
2000-09-03 19:44   ` Hans Hagen

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