public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* man(7) <-> mdoc(7) (approximate) correspondence table?
@ 2024-04-27  6:17 Alexis
  2024-04-27  8:41 ` Alejandro Colomar
  2024-04-27 18:52 ` Lennart Jablonka
  0 siblings, 2 replies; 6+ messages in thread
From: Alexis @ 2024-04-27  6:17 UTC (permalink / raw)
  To: groff; +Cc: linux-man


[ 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-13  0:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-27  6:17 man(7) <-> mdoc(7) (approximate) correspondence table? Alexis
2024-04-27  8:41 ` Alejandro Colomar
2024-04-27  9:41   ` Alexis
2024-05-12 23:49   ` Ingo Schwarze
2024-04-27 18:52 ` Lennart Jablonka
2024-04-28  4:46   ` Alexis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox