aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-07-13 16:11:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-13 16:12:28 -0700
commitd0bf7efe95f3b2347073549e83496d9dc636594e (patch)
treece06c12bc8f47401d01f1be126073a05ffbc0f61 /test
parenta16311c225e9b9788ee6499e474f9a9170510b11 (diff)
downloadpandoc-d0bf7efe95f3b2347073549e83496d9dc636594e.tar.gz
Man writer: fixed boldfacing of definition terms.
Previously the bold-facing would be interrupted by other formatting, because we used `.B`. Closes #5620.
Diffstat (limited to 'test')
-rw-r--r--test/command/5620.md9
-rw-r--r--test/writer.man34
2 files changed, 26 insertions, 17 deletions
diff --git a/test/command/5620.md b/test/command/5620.md
new file mode 100644
index 000000000..428af0f8e
--- /dev/null
+++ b/test/command/5620.md
@@ -0,0 +1,9 @@
+```
+% pandoc -t man
+`-o`, `--output=`*OUTFILE*
+: 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]
+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 413512c73..cb0681afb 100644
--- a/test/writer.man
+++ b/test/writer.man
@@ -318,47 +318,47 @@ Williams
.PP
Tight using spaces:
.TP
-.B apple
+\f[B]apple\f[R]
red fruit
.TP
-.B orange
+\f[B]orange\f[R]
orange fruit
.TP
-.B banana
+\f[B]banana\f[R]
yellow fruit
.PP
Tight using tabs:
.TP
-.B apple
+\f[B]apple\f[R]
red fruit
.TP
-.B orange
+\f[B]orange\f[R]
orange fruit
.TP
-.B banana
+\f[B]banana\f[R]
yellow fruit
.PP
Loose:
.TP
-.B apple
+\f[B]apple\f[R]
red fruit
.TP
-.B orange
+\f[B]orange\f[R]
orange fruit
.TP
-.B banana
+\f[B]banana\f[R]
yellow fruit
.PP
Multiple blocks with italics:
.TP
-.B \f[I]apple\f[R]
+\f[B]\f[BI]apple\f[B]\f[R]
red fruit
.RS
.PP
contains seeds, crisp, pleasant to taste
.RE
.TP
-.B \f[I]orange\f[R]
+\f[B]\f[BI]orange\f[B]\f[R]
orange fruit
.RS
.IP
@@ -375,31 +375,31 @@ orange block quote
.PP
Multiple definitions, tight:
.TP
-.B apple
+\f[B]apple\f[R]
red fruit
computer
.TP
-.B orange
+\f[B]orange\f[R]
orange fruit
bank
.PP
Multiple definitions, loose:
.TP
-.B apple
+\f[B]apple\f[R]
red fruit
computer
.TP
-.B orange
+\f[B]orange\f[R]
orange fruit
bank
.PP
Blank line after term, indented marker, alternate markers:
.TP
-.B apple
+\f[B]apple\f[R]
red fruit
computer
.TP
-.B orange
+\f[B]orange\f[R]
orange fruit
.RS
.IP "1." 3