Hi Ian,

I already have seen the answers from Gert and Axel regarding your  
problem. They are both pointing towards a reasonable solution to  
either remove the warning from the TeX output (Gerts solution using  
\hbadness) within TeX itself or using PyX message parsers (Axels  
suggestion).

However I would really like to understand why this warning message  
occurs at all in the very beginning -- and address this problem. I  
guess you are using code like posted by Stefan earlier in this thread  
using \linebreak. This works in terms of telling TeX to *favor* line  
breaks at certain possitions, but it will not create line breaks  
directly (so the name of the command is a bit misleading):

     \linebreak
     \linebreak[number]
     The \linebreak command tells LaTeX to break the current line at  
the point of the command. With the optional argument, number, you can  
convert the \linebreak command from a demand to a request. The number  
must be a number from 0 to 4. The higher the number, the more  
insistent the request is.
     The \linebreak command causes LaTeX to stretch the line so it  
extends to the right margin.

I strongly suggest to use \par to create separate paragraphs in TeX  
instead of twiddling arount with linebreaks, \\ and other in-paragraph- 
line-breaking solutions. This will remove the underful hbox messages  
along the way ...

HTH,


André

Am 04.06.2008 um 12:33 schrieb Renton Ian:

>> If the produced output is ok,
>> you can just ignore the warning.
>
> Unfortunately not - while I don't mind seeing the warnings myself, the
> app is going to be built using py2exe, which seems to produce an  
> "Error
> has occurred" dialog box after termination if there are warnings as  
> well
> as if there are errors.  I'd prefer not to change py2exe's behaviour  
> (if
> that's possible) as I don't mind being warned about other things -  
> it's
> just this one that I know about and so don't want to be reminded of!
>
> Thanks,
>
> Ian
> The information contained in this E-Mail and any subsequent
> correspondence is private and is intended solely for the intended
> recipient(s).  The information in this communication may be
> confidential and/or legally privileged.  Nothing in this e-mail is
> intended to conclude a contract on behalf of QinetiQ or make QinetiQ
> subject to any other legally binding commitments, unless the e-mail
> contains an express statement to the contrary or incorporates a  
> formal Purchase Order.
>
> For those other than the recipient any disclosure, copying,
> distribution, or any action taken or omitted to be taken in reliance
> on such information is prohibited and may be unlawful.
>
> Emails and other electronic communication with QinetiQ may be
> monitored and recorded for business purposes including security, audit
> and archival purposes.  Any response to this email indicates consent
> to this.
>
> Telephone calls to QinetiQ may be monitored or recorded for quality
> control, security and other business purposes.
>
> QinetiQ Limited
> Registered in England & Wales: Company Number:3796233
> Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom
> Trading address: Cody Technology Park, Cody Building, Ively Road,  
> Farnborough, Hampshire, GU14 0LX, United Kingdom
> http://www.QinetiQ.com/home/legal.html
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user
>

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
    / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
   / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
  (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to