[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Unix roff vs. groff: .in in ms?

From: Jonathan Lennox
Subject: [Groff] Unix roff vs. groff: .in in ms?
Date: Tue, 26 Mar 2002 18:29:01 -0500

I'm trying to use some roff code written for Unix (n)roff with groff, and
I'm running into a problem.

Unix roff's ms macro package seem to have no problem with allowing me to use
the .in directive, and the ms paragraph indentation directive are applied
relative to it.  Groff's ms, on the other hand, performs an absolute .in at
every .LP directive, and so my global intentation gets wiped out.

What I'd like is for paragraph bodies to be indented by 3 characters in
nroff output, but for section headers to still be left-justified.  (I'm
generating Internet-Drafts.)

This roff source is actually autogenerated, because nroff is the best tool
to usefully create sensibly formatted plain-text output of the kind needed
for Internet-Drafts.  I can change the autogenerator somewhat, but not

What's the best way to do this in a way that's compatible both with the Unix
and the GNU ms macros?  Is there a macro I can define which I can globally
use to replace .in with the semantics I expect?


Jonathan Lennox

reply via email to

[Prev in Thread] Current Thread [Next in Thread]