summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-03 09:20:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-01-15 12:39:19 -0800
commitc40727bfbb25d5d072a3523d9d6fb3abb7197b5a (patch)
treeaefd729d1856ac4d8bcf9f8c45ab6a050945614c /test/command
parenta1cfe04a26309b9bbbc48ee5f816530746d9bc6c (diff)
Man writer: use custom font V for inline code.
The V font is defined conditionally, so that it renders like CB in output formats that support that, and like B in those that don't (e.g. the terminal). We could just redefine C, but this would affect code blocks, too, and putting them all in boldface looks ugly, I think. Possible drawback: fragments created by pandoc's man writer will presuppose a nonstandard V font. Closes #7506. Supersedes 253467a549dcc22384be96041fd6f886c4a7a935.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3568.md4
-rw-r--r--test/command/5620.md5
2 files changed, 4 insertions, 5 deletions
diff --git a/test/command/3568.md b/test/command/3568.md
index d5e96a61e..a6817f4c6 100644
--- a/test/command/3568.md
+++ b/test/command/3568.md
@@ -10,7 +10,7 @@ normal `code` normal.
normal \f[I]italic \f[BI]bold in the middle\f[I] only italic\f[R]
normal.
.PP
-normal \f[B]bold \f[R]\f[C]code\f[R]\f[B] more bold\f[R] normal.
+normal \f[B]bold \f[VB]code\f[B] more bold\f[R] normal.
.PP
-normal \f[B]\f[CB]code\f[B]\f[R] normal.
+normal \f[V]code\f[R] normal.
```
diff --git a/test/command/5620.md b/test/command/5620.md
index 97e0ebe82..cb2635bf0 100644
--- a/test/command/5620.md
+++ b/test/command/5620.md
@@ -4,7 +4,6 @@
: Write output to *OUTFILE* instead of `stdout`(3)
^D
.TP
-\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[B]\f[CB]stdout\f[B]\f[R](3)
+\f[V]-o\f[R], \f[V]--output=\f[R]\f[I]OUTFILE\f[R]
+Write output to \f[I]OUTFILE\f[R] instead of \f[V]stdout\f[R](3)
```