Unless you discover a bug along the lines of: "when I put someonr
in a section heading, the computer expolodes", it should always be possible to reproduce the bug.
If the problem is in TeX's word-breaking algorithm, then as long as the word to break is not strictly confidentail, you can replace everything else on the line by a properly sized \rule{10em}{1ex}
. This puts a black box of width 10em
(approx. 25 letters) into the text.
And I honestly can't think of a word in text that would be strictly confidential alone, and I would ever use it. However, if you have such a word that causes problems, then I don't think we can really help you.
\showhyphens{thewordyouwantinformationabout}
to find out how (la)tex thinks it can be broken. if the result doesn't show hyphenation points you can add them either with\hyphenation{this-is-how-to-break-it}
entries in the preamble or with "discretionary hyphens" (\-
) in appropriate places. if hyphenation points are shown, remember that a word that is already hyphenated can't automatically be hyphenated further, and some other tactic is needed. – barbara beeton Dec 2 '13 at 15:20