CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2025/07/01 10:38:21
Modified files: usr.bin/mandoc : mdoc_man.c mdoc_term.c Log message: Stop setting the .Lk URI in bold font. The main reason for this change is compatibility with groff-1.23, which did the same change in groff commit e083b3df gbranden@ Sep 15, 2022 [mdoc]: Add internal string `doc-Lk-font`. Use roman instead of (Courier) bold. This makes sense from a semantical perspective: a URI is not something typically associated with bold font (importance, seriousness, or syntactical keywords). It also makes sense from a presentational perspective: a URI already stands out by its scheme:// prefix, does not need additional typographical emphasis, and may be long, in which case using bold font can look awkwardly heavy. There is no particular Unix or BSD tradition to pay deference to. It appears the .Lk macro was invented by Werner Lemberg here: groff commit d8e29a60 wl@ Sep 30, 2000 commit message: "internal update" So it is unclear to me why bold font was chosen in the first place. Not using bold font also agrees better with how groff_man(7) has always been formatting URIs since the inception of the (former) .URL macro in this commit: groff commit 25992962 wl@ Jan 15, 2007 tmac/an-ext.tmac: New file, containing extension macros