From c40727bfbb25d5d072a3523d9d6fb3abb7197b5a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 3 Sep 2021 09:20:28 -0700 Subject: 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. --- test/command/3568.md | 4 ++-- test/command/5620.md | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'test/command') 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) ``` -- cgit v1.2.3