groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

man(7) <-> mdoc(7) (approximate) correspondence table?


From: flexibeast
Subject: man(7) <-> mdoc(7) (approximate) correspondence table?
Date: Sat, 27 Apr 2024 16:17:28 +1000
User-agent: mu4e 1.12.4; emacs 29.3


[ Not subscribed to the linux-man list, so please cc me if replying there. ]

Hi all,

As someone who's much more familiar with mdoc(7) than man(7), is there an approximate 'correspondence table' somewhere that gives at least a rough sense of which man(7) macros to use when, in an mdoc(7) context, one would use a given mdoc(7) macro? Such a table might look something like (to use some obvious probable correspondences):

| mdoc(7) | man(7) | Notes
+---------+--------+-------
| Lk      | UR     |
| Op      | OP     |
| Sh      | SH     |
| Ss      | SS     |
| ⋮ | ⋮ | i recognise that there's no bijection in general, and that specific mappings might differ between projects (e.g. the Linux man-pages project might use a certain man(7) macro where a different project uses another), but even a project-specific table would be helpful to me.

i thought there might be such a table in either groff_man(7) or groff_man_style(7), but nothing leapt out ....


Alexis.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]