[Top][All Lists]

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

Re: [Groff] grog misidentifies -ms document

From: Larry Kollar
Subject: Re: [Groff] grog misidentifies -ms document
Date: Fri, 9 Jan 2004 23:29:35 -0500

Robert Goulding wrote:

If an -ms document contains a .SH heading and a table with a header (and hence a .TH request), grog identifies the document as -man rather than -ms. For the following -ms document, grog guesses groff -man -t > :

Price Table
The following table gives some prices:
allbox, tab(&);
lb lb
l n.

While the SH, LP, and TS/TE macros are common between -ms and -man, and indeed mean the same thing, the TH macro would be the first called in a manpage... so a TH *outside* a TS/TE pair would indicate a manpage. TH inside that pair should basically be ignored.

Larry Kollar     k  o  l  l  a  r  @  a  l  l  t  e  l  .  n  e  t
Unix Text Processing: "UTP Revival"

reply via email to

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