[pdftex] Help! pdfTeX: Get black squares (cursors) in @exampletext

John Blevin blevin at lucent.com
Tue Apr 27 23:39:51 CEST 2004


Hello all,

I'm glancing down at the texinfo manual's index today, and there
it is staring me in the face, first item under "U" -
"Ugly black rectangles in hardcopy" which points to page 155,
Section 19.10, "Overfull hboxes".

Turns out, texinfo provides a very simple fix:  Put a
@finalout
in the texinfo source file, just before @titlepage line.

At least, the ugly black rectangles is a good feature during
testing, it clearly points out the lines that are overrunning.  :)

- John


Ross Moore wrote:
> 
> On 26/04/2004, at 4:20 AM, John Culleton wrote:
> 
> > On Monday 19 April 2004 09:05 pm, pawcoo wrote:
> >  Setting \overfullrule to zero
> >> in plain is risky if You care about nice paragraphs :)
> >>
> >> Regards, Pawel
> >
> > Yes, my suggestion to let the text run into the margin was
> > intended as humor. But there are situations such as when
> > quoting computer program code (I think that was the
> > original problem) where just killing the overfillrule is a
> > better choice than reformatting the line and thus deviating
> > from the original text. I am talking about a very small
> > overflow of course.
> 
> Have you tried putting  \hss  at the end of the line ?
> This can allow for a small overflow, without killing the
> usefulness of the black-boxes. (This may cause processing to
> pause in outer paragraph mode; but with program listings,
> it'll depend upon the specific environment that you're using
>   --- it won't be any good at all with \verbatim !)
> 
> Another way is to set the \hfuzz; e.g.  \hfuzz=2pt
> means that black-boxes will not appear unless the overflow
> is greater than 2pt.
> 
> But with program listings, which usually aren't read anyway,
>   --- unless the reader is really, really interested ---
> I find it convenient to just set the typeface to be smaller:
> either  \small  or  \footnotesize  (in LaTeX).
> 
> Hope this helps,
> 
>         Ross
> 
> >
> > --
> > John Culleton
> > Able Typesetters and Indexers
> > http://wexfordpress.com
> >
> > _______________________________________________
> > pdftex mailing list
> > pdftex at tug.org
> > http://tug.org/mailman/listinfo/pdftex
> >
> ------------------------------------------------------------------------
> Ross Moore                                         ross at maths.mq.edu.au
> Mathematics Department                             office: E7A-419
> Macquarie University                               tel: +61 +2 9850 8955
> Sydney, Australia                                  fax: +61 +2 9850 8114
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pdftex mailing list
> pdftex at tug.org
> http://tug.org/mailman/listinfo/pdftex


More information about the pdftex mailing list