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/writer.man | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'test/writer.man') 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