From 4a5e727c8c3ec8695e61e5ad040e97e7861dbde9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 13 Jul 2019 16:41:43 -0700 Subject: Man writer: Improved definition list term output. Now we boldface code but not other things. This matches the most common style in man pages (particularly option lists). Also, remove a regression in the last commit in which 'nowrap' was removed. --- test/command/5620.md | 2 +- test/writer.man | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'test') diff --git a/test/command/5620.md b/test/command/5620.md index 428af0f8e..c48fefce1 100644 --- a/test/command/5620.md +++ b/test/command/5620.md @@ -4,6 +4,6 @@ : Write output to *OUTFILE* instead of `stdout`(3) ^D .TP -\f[B]\f[CB]-o\f[B], \f[CB]--output=\f[B]\f[BI]OUTFILE\f[B]\f[R] +\f[B]\f[CB]-o\f[B]\f[R], \f[B]\f[CB]--output=\f[B]\f[R]\f[I]OUTFILE\f[R] Write output to \f[I]OUTFILE\f[R] instead of \f[C]stdout\f[R](3) ``` diff --git a/test/writer.man b/test/writer.man index cb0681afb..ebae6b78f 100644 --- a/test/writer.man +++ b/test/writer.man @@ -318,47 +318,47 @@ Williams .PP Tight using spaces: .TP -\f[B]apple\f[R] +apple red fruit .TP -\f[B]orange\f[R] +orange orange fruit .TP -\f[B]banana\f[R] +banana yellow fruit .PP Tight using tabs: .TP -\f[B]apple\f[R] +apple red fruit .TP -\f[B]orange\f[R] +orange orange fruit .TP -\f[B]banana\f[R] +banana yellow fruit .PP Loose: .TP -\f[B]apple\f[R] +apple red fruit .TP -\f[B]orange\f[R] +orange orange fruit .TP -\f[B]banana\f[R] +banana yellow fruit .PP Multiple blocks with italics: .TP -\f[B]\f[BI]apple\f[B]\f[R] +\f[I]apple\f[R] red fruit .RS .PP contains seeds, crisp, pleasant to taste .RE .TP -\f[B]\f[BI]orange\f[B]\f[R] +\f[I]orange\f[R] orange fruit .RS .IP @@ -375,31 +375,31 @@ orange block quote .PP Multiple definitions, tight: .TP -\f[B]apple\f[R] +apple red fruit computer .TP -\f[B]orange\f[R] +orange orange fruit bank .PP Multiple definitions, loose: .TP -\f[B]apple\f[R] +apple red fruit computer .TP -\f[B]orange\f[R] +orange orange fruit bank .PP Blank line after term, indented marker, alternate markers: .TP -\f[B]apple\f[R] +apple red fruit computer .TP -\f[B]orange\f[R] +orange orange fruit .RS .IP "1." 3 -- cgit v1.2.3