[Top][All Lists]

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

Re: 'man groff' reports end of file while defining macro `TP'

From: Werner LEMBERG
Subject: Re: 'man groff' reports end of file while defining macro `TP'
Date: Fri, 18 Jul 2003 09:55:14 +0200 (CEST)

> I trussed "man groff" and found that it read the following tmac files,
> in the following order:
> /opt/reb/share/groff/1.19/tmac/troffrc
> /opt/reb/share/groff/1.19/tmac/tty.tmac
> /opt/reb/share/groff/1.19/tmac/hyphen.us
> /opt/reb/share/groff/1.19/tmac/hyphenex.us
> /opt/reb/share/groff/1.19/tmac/composite.tmac
> /opt/reb/share/groff/1.19/tmac/papersize.tmac
> /opt/reb/share/groff/1.19/tmac/tty-char.tmac
> /opt/reb/share/groff/1.19/tmac/latin1.tmac
> /opt/reb/lib/groff/site-tmac/an.tmac
> /opt/reb/share/groff/1.19/tmac/andoc.tmac
> /usr/share/lib/tmac/an
> /opt/reb/share/groff/1.19/tmac/troffrc-end
> These all are from groff 1.19, except for /usr/share/lib/tmac/an which
> is from Solaris 9.  "man gtroff" (which works), has the same include
> pattern as "man groff" (which doesn't work).
> I suspect that the problem is that groff.1 uses long definitions
> like ".de TP+" but these are being interpreted in compatibility mode
> so they screw up.  Does this sound plausible to you?

Your interpretation is correct.  I've fixed this now in the CVS: All
man pages from the groff package which don't work in compatibility
mode explicitly switch to non-compatibility mode temporarily.

Today, it probably makes more sense to install with

  make install tmac_wrap=""

so that no wrapper scripts for the Solaris troff macro packages are
installed.  What do you think of making this the default?  I would
then add a --wrap-macros configure option.


reply via email to

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