> The documentation I maintain references literally hundreds of MIB
> variables, with names like "pktcMtaDevRealmTable" (and that's one of
> the shorter ones).  Groff tried to make educated guesses at
> hyphenating these things when they hit the end of the line (as they
> do far too often), but often breaks in the wrong place (like
> "pktcMtaD-evRealmTable").
>
> Using .hw works OK, but like I said, there are hundreds of these
> suckers. Is there any way to tell Groff that hyphenating at any
> '[a-z][A-Z]' junction is OK?
No.  The easiest thing is probably to use sed or awk in a
preprocessing step to insert `\%' at the appropriate places
automatically.  Since uppercase almost always indicate a possible
breakpoint (you aren't writing Gaelic, aren't you? :-) this should be
rather straightforward.


    Werner


_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to