On Wed, Mar 16, 2005 at 03:08:59PM -0500, Dorai Sitaram wrote:
> I'd like to avoid adjustment (justification) and hyphenation on a document
> but only if it's being processed by nroff.if n).  In essence, 
> 
> .if n .na
> .if n .nh
> 
> should hold for every paragraph.  What's a robust way to do this?  Trying
> to adding this as a hook (via .am) to various things, like the header
> macros, or even par*start, always seems to miss the first couple
> paragraphs.
> 

I usually just add

.if n \{
.na
.nr HY 0
.\}

at the top of my file.  If you don't want nroff to paginate, add
a .pl 1000 right after the .nr HY 0, and a .pl \n[nl]u at the end
of the file.

jcs


_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to