groff-commit
[Top][All Lists]
Advanced

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

[groff] 30/33: groff_mm(7): Document `Qrfh` and `Qrfp` strings.


From: G. Branden Robinson
Subject: [groff] 30/33: groff_mm(7): Document `Qrfh` and `Qrfp` strings.
Date: Sat, 29 Jun 2024 01:14:16 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 95f57d8bf3a2824dc05ba38d401e445ae8a4a7cf
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Jun 27 10:38:26 2024 -0500

    groff_mm(7): Document `Qrfh` and `Qrfp` strings.
    
    ...and describe their interaction with the `GETR` macro.
    
    Also add some usage advice.
---
 contrib/mm/groff_mm.7.man | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index e2593ade7..8d36cfcfe 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -1787,7 +1787,16 @@ See
 .TP
 .BI GETR\~ ref-name
 Retrieve location data for reference
-.I ref-name
+.IR ref-name ,
+call
+.B GETHN
+and
+.B GETPN
+to populate strings
+.B Qrfh
+and
+.BR Qrfn ,
+respectively,
 and interpolate string
 .B Qrf
 as a cross reference to it.
@@ -4395,6 +4404,24 @@ The default is
 \[lq]See chapter \[rs]E*[Qrfh],
 page \[rs]En[Qrfp].\[rq]
 .
+If your document uses multiple heading levels,
+you might redefine this string to use the word \[lq]section\[rq]
+instead of \[lq]chapter\[rq].
+.
+.
+.TP
+.B Qrfh
+stores the heading number corresponding to the most recent
+.B \%GETR
+call.
+.
+.
+.TP
+.B Qrfp
+stores the page number corresponding to the most recent
+.B \%GETR
+call.
+.
 .
 .TP
 .B Rf



reply via email to

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