Up to [cvsweb.bsd.lv] / mandoc / regress / man / B
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 27 16:18:35 2025 UTC (4 weeks, 4 days ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +11 -4 lines
Diff to previous 1.3 (colored)
The commit message of groff commit 5ea945c8 (gbranden@ May 6, 2021) clearly indicates that groff_man(7) is intended to render italic font inside section headers as bold italic. It says: "If \*[HF] is a bold style, substitute bold italics for italics in section and subsection headings, keeping the font weight consistent." In man_term.c rev. 1.248, mandoc(1) was changed to match groff's intention, so change the desired output accordingly. However, gbranden@ obviously didn't bother to understand how the code in an.tmac works before changing it, so his implementation only works for same-line scope, not for the next-line scope tested here, even though next-line scope is documented in groff_man(7). For now, mark the test impacted by this new groff bug with SKIP_GROFF.