groff
[Top][All Lists]
Advanced

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

Re: [Groff] The case against the case against .EX/.EE & .DS/.DE


From: Werner LEMBERG
Subject: Re: [Groff] The case against the case against .EX/.EE & .DS/.DE
Date: Fri, 29 Dec 2006 08:59:05 +0100 (CET)

> Personally, I would prefer having .nf/.in/.fi used in man pages
> over .DS/.DE -- the display macros hold the contents on a single
> page and when writing man pages that might be rendered in plain text,
> PDF/PS, or HTML, I'm not crazy about this model.

I like .DS/.DE very much, but it isn't useful, as you correctly state,
to apply it blindly to a large chunk of code.  I normally do something
like this:

  .DS
    logical block 1
  .DE
  ...
  .DS
    logical block 2
  .DE
  ...

mainly to avoid that code blocks start or end with a single line on a
page.

This approach works fine with both groff and TeX.


    Werner




reply via email to

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