diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-12-27 02:46:19 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-12-27 03:00:54 -0600 |
commit | 78922cf9f39f6ebcd3a80aaab9c3a2931b8b0ad4 (patch) | |
tree | 82e9e7c004e2a2e33b919d71ec63587f90328f0c /NEWS | |
parent | fa1553c33ecfe925cc0c0eac41a30903ae040987 (diff) | |
download | groff-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-- | NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |