Commit Graph

26 Commits

Author SHA1 Message Date
tv e53be948f7 Use groff's ".mso" to find tmac files in /usr/share/tmac, rather than
hardcoding a path.  (This allows these files to be relocated easily.)
2002-01-03 16:30:16 +00:00
itojun c53f18f961 when two .%A are present, print them as "ONE and TWO, ..."
not "ONE, and TWO, ..." (no comma after ONE).  PR 13286.  checked by wiz.

comment by "Brian J. Kifiak" <bk@rt.fm> on openbsd mailing list.
2001-06-23 13:09:47 +00:00
mycroft f296458aa2 Avoid using \\n(C? in .lV, as it may not be initialized yet. Instead call
.aT to determine the argument type, as in .bV.
2000-05-13 04:27:16 +00:00
mycroft 050bfa0d91 Ross points out that removing the .ne inside .It can cause widows in troff
mode.  So, put it back -- in troff mode only -- but preceded by an explicit
break to prevent the widows previously mentioned.
1999-03-24 08:06:26 +00:00
mycroft 0d83fb3bab Fix the `mysterious blank lines' problem (in 98% of cases, anyway). This was
due to unconditional use of .ne.  groff apparently inserts some virtual trap
at the end of each page, and this was causing the .ne commands to output extra
lines.  Solution is to only use them in troff.

Also fix a related bug in .It, where it would insert a page break in the middle
of a sentence.

Remove the end of page trap in nroff mode, as this causes .sp to sometimes eat
the space due to the nearby trap.

Lastly, undue a previous change that broke the formatting of the SYNOPSIS
section, until we determine the right way to fix that.
1999-03-23 06:44:38 +00:00
mycroft 8b2054fafc Use \n(dn to test whether the quoting diversion is empty, rather than
comparing the input line number.  The latter fails with things like:
.Oc Oc
because there is nothing in the diversion when the second Oc is executed,
which caused the command that adds \*(b2 to the output to be eaten.
1999-03-16 01:19:56 +00:00
ross 69d3eeb52c Kill groffisms that crept in with delta 1.8. 1999-03-09 10:38:19 +00:00
ross bdc8307365 Call Popwarn only if groff 1999-03-09 08:32:52 +00:00
ross 9bb81e3d52 Partial .warn cleanup .. if mdoc didn't generate warnings all by
itself, we could do a .warn-enabled sweep of the man pages.
 * Mainly, kill strings by redefining them as null instead of using .rm
 * Push and pop the warning level around unavoidable trouble spots
 * Do all of this only if in groff
 * Fix a really obscure bug in .Nm
 * Make the .em warning an abort.
1999-03-09 06:31:00 +00:00
mycroft 7559ea6c00 Oops; previous was wrong. 1999-03-07 03:34:37 +00:00
mycroft 44bbef9a61 Fix an old type that doesn't appear to matter. 1999-03-07 03:26:37 +00:00
mycroft 7bb943b0ae Oops; fix pasto. 1999-03-06 16:51:36 +00:00
mycroft 2310a13c6b Fix the space-after-period problem. 1999-03-06 16:39:02 +00:00
mycroft 91ca52e5cb Minor cleanup. 1999-03-06 16:21:53 +00:00
mycroft 87dcf585f2 Minor cleanup. 1999-03-06 15:59:22 +00:00
mycroft bb46ac40fa Minor cleanup. 1999-03-06 15:43:59 +00:00
mycroft 736c11026a Minor cleanup. 1999-03-06 15:37:07 +00:00
mycroft 0a17d56476 Fix problem with extra spaces after a .Xr, because .aZ was being called twice. 1999-03-06 10:12:08 +00:00
ross 466c9bd705 * Add a debug-mode message when beginning an eB diversion. This is to help
find the actual source of the common "automatically ending `eb' diversion
on exit" error. This generally means you tried something like `.Em Do not'
which accidently calls the `Do' request, which _must_ be followed by Dc.
* Add a .Me request for marking up menu entries.
* Print the source line number on the "Extraneous .Ed" error. (Duhh.)
* New requests for HTML integration: .Mt (mailto) and .Lk (link).
* Rename the .em built-in to e@ and print an error if .em is ever
accidently invoked.
1999-01-13 07:05:09 +00:00
ross fbff13e33e Fix bug in .D1 macro.
D1 (dee-one) has two bogus-looking lines that are not in Dl (dee-ell); and
what they do is delete the first parameter unless it is a callable macro.
This may have something to do with the reason why dee-ell is used 418 times
in /usr/share/man vs only 6 times for the crippled dee-one.
1998-12-26 09:40:45 +00:00
thorpej 9452ea8c0b Put RCS IDs in the right place. 1998-02-15 00:40:07 +00:00
lukem db57574c5d add -column, -dash, -hyphen to .Bl usage string 1997-11-24 00:49:36 +00:00
lukem 0a9b471efa Support first argument of .Nm being "", so that the following works:
===
.Nm foo
 ...
The following options are supported by
.Nm "" :
===
It could be smarter, but it works :)

Thanks to Christoph Badura <bad@ora.de> for providing this!
1997-09-15 00:32:34 +00:00
phil 861ed7d465 Remove unneeded files, merge back in NetBSD local changes. 1997-07-02 02:55:38 +00:00
perry f91b25a157 RCSid Police 1996-10-15 20:04:22 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00