diff options
| author | John MacFarlane <[email protected]> | 2022-01-15 12:51:36 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-01-15 12:57:26 -0800 |
| commit | c6cf78a03382af0fcb0b451b41f5c5a85222b504 (patch) | |
| tree | 87340de8605ef16be708be6192dc192f527765c9 | |
| parent | f5d720ae7909ab6cd0d3f77cd4424f28059a7c9f (diff) | |
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.
| -rw-r--r-- | data/templates/default.man | 10 | ||||
| -rw-r--r-- | man/pandoc.1 | 8 | ||||
| -rw-r--r-- | 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 |
