From c6cf78a03382af0fcb0b451b41f5c5a85222b504 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 15 Jan 2022 12:51:36 -0800
Subject: [PATCH] Improve on fix to #7506.

Don't boldface code in output formats that can represent
it as monospace.

Define aliases for VI, VB, VBI as well.
---
 data/templates/default.man | 10 ++++++++--
 man/pandoc.1               |  8 ++++++--
 test/writer.man            | 10 ++++++++--
 3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/data/templates/default.man b/data/templates/default.man
index c752757e7..4365dede4 100644
--- a/data/templates/default.man
+++ b/data/templates/default.man
@@ -5,13 +5,19 @@ $if(pandoc-version)$
 .\" Automatically generated by Pandoc $pandoc-version$
 .\"
 $endif$
-.\" Define V font for inline verbatim, using CB font in formats
+.\" Define V font for inline verbatim, using C font in formats
 .\" that render this, and otherwise B font.
 .ie "\f[CB]x\f[]"x" \{\
 . ftr V B
+. ftr VI BI
+. ftr VB B
+. ftr VBI BI
 .\}
 .el \{\
-. ftr V CB
+. ftr V CR
+. ftr VI CI
+. ftr VB CB
+. ftr VBI CBI
 .\}
 $if(adjusting)$
 .ad $adjusting$
diff --git a/man/pandoc.1 b/man/pandoc.1
index 2071b7eb4..926643bba 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -1,13 +1,17 @@
 '\" t
 .\" Automatically generated by Pandoc 2.17.0.1
 .\"
-.\" Define V font for inline verbatim, using CB font in formats
+.\" Define V font for inline verbatim, using C font in formats
 .\" that render this, and otherwise B font.
 .ie "\f[CB]x\f[]"x" \{\
 . ftr V B
+. ftr VI BI
+. ftr VB B
 .\}
 .el \{\
-. ftr V CB
+. ftr V CR
+. ftr VI CI
+. ftr VB CB
 .\}
 .TH "Pandoc User\[cq]s Guide" "" "January 14, 2022" "pandoc 2.17.0.1" ""
 .hy
diff --git a/test/writer.man b/test/writer.man
index 7828e6083..30d83465f 100644
--- a/test/writer.man
+++ b/test/writer.man
@@ -1,10 +1,16 @@
-.\" Define V font for inline verbatim, using CB font in formats
+.\" Define V font for inline verbatim, using C font in formats
 .\" that render this, and otherwise B font.
 .ie "\f[CB]x\f[]"x" \{\
 . ftr V B
+. ftr VI BI
+. ftr VB B
+. ftr VBI BI
 .\}
 .el \{\
-. ftr V CB
+. ftr V CR
+. ftr VI CI
+. ftr VB CB
+. ftr VBI CBI
 .\}
 .TH "Pandoc Test Suite" "" "July 17, 2006" "" ""
 .hy