From d40f92de58edcc4c185a6c1399e05b420c528b82 Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Wed, 17 May 2023 01:24:04 -0500 Subject: groff_mm(7): Fix sorting errors. --- contrib/mm/groff_mm.7.man | 129 +++++++++++++++++++++++----------------------- 1 file changed, 65 insertions(+), 64 deletions(-) diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man index 482f6690f..b39931842 100644 --- a/contrib/mm/groff_mm.7.man +++ b/contrib/mm/groff_mm.7.man @@ -2053,6 +2053,65 @@ without space between the arguments. End the address specification after .BR IA . . +. +.TP +.BI IND\ "arg1 \fR[\fParg2 \fR[.\|.\|.]]\fP" +Write a line in the index file selected by +.B INITI +with all arguments and the page number or header mark separated by tabs. +. +.RS +.IP +.B Examples +. +.IP +arg1\[rs]tpage number +.br +arg1\[rs]targ2\[rs]tpage number +.br +arg1\[rs]theader mark +.br +arg1\[rs]tpage number\[rs]theader mark +.RE +. +.TP +.B INDP +Print the index by running the command specified by the string +.BR Indcmd , +which has +.RB \[lq] sort\~\-t\[rs]t \[rq] +as the default value. +. +.B INDP +reads the output from the command to form the index, +by default in two columns (this can be changed by defining +.BR TYIND ). +. +The index is printed with the string +.B Index +as header; +the default is \[lq]INDEX\[rq]. +. +One-column processing is reactivated after the list. +. +.B INDP +calls the user-defined macros +.BR TXIND , +.BR TYIND , +and +.B TZIND +if defined. +. +.B TXIND +is called before printing the string \[lq]INDEX\[rq], +.B TYIND +is called instead of printing \[lq]INDEX\[rq], +and +.B TZIND +is called after the printing and should take care of restoring to +normal operation again. +. +. .TP .BI INITI\ "type filename \fR[\fPmacro\fR]\fP" Initialize the new index system and set the filename to collect index @@ -2123,64 +2182,6 @@ and . . .TP -.BI IND\ "arg1 \fR[\fParg2 \fR[.\|.\|.]]\fP" -Write a line in the index file selected by -.B INITI -with all arguments and the page number or header mark separated by tabs. -. -.RS -.IP -.B Examples -. -.IP -arg1\[rs]tpage number -.br -arg1\[rs]targ2\[rs]tpage number -.br -arg1\[rs]theader mark -.br -arg1\[rs]tpage number\[rs]theader mark -.RE -. -.TP -.B INDP -Print the index by running the command specified by the string -.BR Indcmd , -which has -.RB \[lq] sort\~\-t\[rs]t \[rq] -as the default value. -. -.B INDP -reads the output from the command to form the index, -by default in two columns (this can be changed by defining -.BR TYIND ). -. -The index is printed with the string -.B Index -as header; -the default is \[lq]INDEX\[rq]. -. -One-column processing is reactivated after the list. -. -.B INDP -calls the user-defined macros -.BR TXIND , -.BR TYIND , -and -.B TZIND -if defined. -. -.B TXIND -is called before printing the string \[lq]INDEX\[rq], -.B TYIND -is called instead of printing \[lq]INDEX\[rq], -and -.B TZIND -is called after the printing and should take care of restoring to -normal operation again. -. -. -.TP .BR IR \~\c \" space in roman; we must use 2-font macro with \c .RI [ italic-text\~\c .RI [ roman-text ]]\~.\|.\|. @@ -2429,6 +2430,12 @@ This is a list of the standard options: .TS tab(@); l lx. +AT@T{ +Attention. +Prints \[lq]ATTENTION:\[rq] and the argument below the inside address. +See also string +.BR LetAT . +T} CN@T{ Confidential notation. Prints \[lq]CONFIDENTIAL\[rq] on the second line below the date line. @@ -2446,12 +2453,6 @@ date line. See also string .BR LetRN . T} -AT@T{ -Attention. -Prints \[lq]ATTENTION:\[rq] and the argument below the inside address. -See also string -.BR LetAT . -T} SA@T{ Salutation. Prints \[rq]To Whom It May Concern:\[rq] or the argument if it was -- cgit v1.2.1