From 34f23714ec5c9661110c828a4b433def8d068bd8 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/Ft/ft0.in | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 regress/mdoc/Ft/ft0.in (limited to 'regress/mdoc/Ft/ft0.in') diff --git a/regress/mdoc/Ft/ft0.in b/regress/mdoc/Ft/ft0.in deleted file mode 100644 index d7f6cc68..00000000 --- a/regress/mdoc/Ft/ft0.in +++ /dev/null @@ -1,25 +0,0 @@ -.Dd $Mdocdate$ -.Dt FOO 1 -.Os -.Sh NAME -.Nm foo -.Nd bar -.Sh SYNOPSIS -.Fn b \" Get this out of the way. -.Ft a -.Ft b -a -.Ft "c d" -b -.Ar foo -.Ft "c d" -.Ar bar -.Sh DESCRIPTION -.Ft a -.Ft b -a -.Ft "c d" -b -.Ar foo -.Ft "c d" -.Ar bar -- cgit