From 6a6afd0cbfd5a9b6b666e7adc6f2aaa52f1019eb Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 7 Jun 2010 11:01:15 +0000 Subject: Normalise SYNOPSIS behaviour after I gave up on following groff's inconsistent behaviour. In short: Some macros are displayed differently in the SYNOPSIS section, particularly Nm, Cd, Fd, Fn, Fo, In, Vt, and Ft. All of these macros are output on their own line. If two such dissimilar macros are pair-wise invoked (except for Ft before Fo or Fn), they are separated by a vertical space, unless in the case of Fo, Fn, and Ft, which are always separated by vertical space. Behaviour ok Jason McIntyre, ingo@. Fallout will be treated case-by-case. I had to clear out some regressions that were testing against groff's stranger behaviours: these will now break, as we don't care about such invocations. Also removed the newline for `Cd' invocation in a non-SYNOPSIS context. --- regress/mdoc/In/in.in | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 regress/mdoc/In/in.in (limited to 'regress/mdoc/In') diff --git a/regress/mdoc/In/in.in b/regress/mdoc/In/in.in deleted file mode 100644 index ed89f0b4..00000000 --- a/regress/mdoc/In/in.in +++ /dev/null @@ -1,24 +0,0 @@ -.\" THIS WILL PUKE HORRIBLY ON OLD GROFF, WHICH HAS COMPLETELY -.\" DIFFERENT ("BAD") BEHAVIOUR. -.Dd $Mdocdate: June 4 2010 $ -.Dt FOO 1 -.Os -.Sh NAME -.Nm foo -.Nd bar -.Sh SYNOPSIS -1 -.In 2 3 -6 -.In 2 3 -.Qq In 2 -.Fd a -6 -.In 4 -5 -.Sh DESCRIPTION -1 -.In 2 3 -6 -.In 4 -5 -- cgit v1.2.3-56-ge451