public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] fts.3, div_t.3type: ffix
@ 2024-01-16 13:39 G. Branden Robinson
  2024-01-16 15:21 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: G. Branden Robinson @ 2024-01-16 13:39 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]

Break lines containing a parametric prefix to a man page name into two
lines, using distinct font alternation macros and the `\c` escape
sequence to "connect" the output.  This prepares for adoption of the
`MR` man(7) macro in groff 1.23.0.

The style seen here assumes that the typeface used for man page names is
bold, which is ahistorical and which the `MR` feature makes
configurable.  It might be better to recast this shorthand into English.

Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
---
 man3/fts.3           | 12 ++++++++----
 man3type/div_t.3type |  3 ++-
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/man3/fts.3 b/man3/fts.3
index ae2fdfcbc..d2c520450 100644
--- a/man3/fts.3
+++ b/man3/fts.3
@@ -187,7 +187,8 @@ .SH DESCRIPTION
 .TP
 .B FTS_NS
 A file for which no
-.RB [ l ] stat (2)
+.RB [ l ]\c
+.BR stat (2)
 information was available.
 The contents of the
 .I fts_statp
@@ -198,7 +199,8 @@ .SH DESCRIPTION
 .TP
 .B FTS_NSOK
 A file for which no
-.RB [ l ] stat (2)
+.RB [ l ]\c
+.BR stat (2)
 information was requested.
 The contents of the
 .I fts_statp
@@ -329,7 +331,8 @@ .SH DESCRIPTION
 .TP
 .I fts_statp
 A pointer to
-.RB [ l ] stat (2)
+.RB [ l ]\c
+.BR stat (2)
 information for the file.
 .\" .El
 .P
@@ -754,7 +757,8 @@ .SH ERRORS
 .BR opendir (3),
 .BR readdir (3),
 and
-.RB [ l ] stat (2).
+.RB [ l ]\c
+.BR stat (2).
 .P
 In addition,
 .BR fts_children (),
diff --git a/man3type/div_t.3type b/man3type/div_t.3type
index 857dae17e..7abbb7616 100644
--- a/man3type/div_t.3type
+++ b/man3type/div_t.3type
@@ -40,7 +40,8 @@ .SH SYNOPSIS
 .SH DESCRIPTION
 .RI [[ l ] l ] div_t
 is the type of the value returned by the
-.RB [[ l ] l ] div (3)
+.RB [[ l ] l ]\c
+.BR div (3)
 function.
 .P
 .I imaxdiv_t
-- 
2.30.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 1/4] fts.3, div_t.3type: ffix
  2024-01-16 13:39 [PATCH 1/4] fts.3, div_t.3type: ffix G. Branden Robinson
@ 2024-01-16 15:21 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2024-01-16 15:21 UTC (permalink / raw)
  To: G. Branden Robinson; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 2284 bytes --]

Hi Branden,

On Tue, Jan 16, 2024 at 07:39:40AM -0600, G. Branden Robinson wrote:
> Break lines containing a parametric prefix to a man page name into two
> lines, using distinct font alternation macros and the `\c` escape
> sequence to "connect" the output.  This prepares for adoption of the
> `MR` man(7) macro in groff 1.23.0.
> 
> The style seen here assumes that the typeface used for man page names is
> bold, which is ahistorical and which the `MR` feature makes
> configurable.  It might be better to recast this shorthand into English.
> 
> Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>

I've applied patches 1, 2, and 4 from this set.

Have a lovely day,
Alex

> ---
>  man3/fts.3           | 12 ++++++++----
>  man3type/div_t.3type |  3 ++-
>  2 files changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/man3/fts.3 b/man3/fts.3
> index ae2fdfcbc..d2c520450 100644
> --- a/man3/fts.3
> +++ b/man3/fts.3
> @@ -187,7 +187,8 @@ .SH DESCRIPTION
>  .TP
>  .B FTS_NS
>  A file for which no
> -.RB [ l ] stat (2)
> +.RB [ l ]\c
> +.BR stat (2)
>  information was available.
>  The contents of the
>  .I fts_statp
> @@ -198,7 +199,8 @@ .SH DESCRIPTION
>  .TP
>  .B FTS_NSOK
>  A file for which no
> -.RB [ l ] stat (2)
> +.RB [ l ]\c
> +.BR stat (2)
>  information was requested.
>  The contents of the
>  .I fts_statp
> @@ -329,7 +331,8 @@ .SH DESCRIPTION
>  .TP
>  .I fts_statp
>  A pointer to
> -.RB [ l ] stat (2)
> +.RB [ l ]\c
> +.BR stat (2)
>  information for the file.
>  .\" .El
>  .P
> @@ -754,7 +757,8 @@ .SH ERRORS
>  .BR opendir (3),
>  .BR readdir (3),
>  and
> -.RB [ l ] stat (2).
> +.RB [ l ]\c
> +.BR stat (2).
>  .P
>  In addition,
>  .BR fts_children (),
> diff --git a/man3type/div_t.3type b/man3type/div_t.3type
> index 857dae17e..7abbb7616 100644
> --- a/man3type/div_t.3type
> +++ b/man3type/div_t.3type
> @@ -40,7 +40,8 @@ .SH SYNOPSIS
>  .SH DESCRIPTION
>  .RI [[ l ] l ] div_t
>  is the type of the value returned by the
> -.RB [[ l ] l ] div (3)
> +.RB [[ l ] l ]\c
> +.BR div (3)
>  function.
>  .P
>  .I imaxdiv_t
> -- 
> 2.30.2
> 



-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2024-01-16 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16 13:39 [PATCH 1/4] fts.3, div_t.3type: ffix G. Branden Robinson
2024-01-16 15:21 ` Alejandro Colomar

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