summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-12-27 02:46:19 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-12-27 03:00:54 -0600
commit78922cf9f39f6ebcd3a80aaab9c3a2931b8b0ad4 (patch)
tree82e9e7c004e2a2e33b919d71ec63587f90328f0c /NEWS
parentfa1553c33ecfe925cc0c0eac41a30903ae040987 (diff)
downloadgroff-git-78922cf9f39f6ebcd3a80aaab9c3a2931b8b0ad4.tar.gz
[mdoc]: Support `HF` string.
* tmac/doc.tmac (initialization): Add logic supporting `HF` string just as our man(7) implementation does. If the font name ends with `B` (as the default does), set `doc-remap-I-style-in-headings` register and extract font family, which can be empty (as is the default). * tmac/mdoc/doc-common (Sh, Ss): If `doc-remap-I-style-in-headings` register set, perform (and unwind) font remapping of italic to bold-italic face. * tmac/mdoc/doc-ditroff: * tmac/mdoc/doc-nroff: Define `doc-Sh-font` in terms of `HF`. * tmac/tests/doc_heading-font-remapping-works.sh: Test it. * tmac/tmac.am (tmac_TESTS): Run test. * tmac/groff_mdoc.7.man (Options): Document it. * NEWS: Update item. Fixes last part of <https://savannah.gnu.org/bugs/?63046>.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 808223202..72a8674f5 100644
--- a/NEWS
+++ b/NEWS
@@ -321,7 +321,8 @@ o The groff_man(7) man page documenting the groff implementation of the
reader who is not an expert in *roff systems or in writing man pages.
o The doc (mdoc) macro package now honors the `C`, `FT`, `HY`, `IN`,
- `P`, `SN`, and `X` registers as the an (man) package does.
+ `P`, `SN`, and `X` registers and `HF` string as the an (man) package
+ does.
o The doc (mdoc) macro package now renders man page (sub)section cross
references cited with the `Sx` macro by quoting them instead of