bug-groff
[Top][All Lists]
Advanced

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

[bug #52521] [PATCH] contrib/.../man pages: Remove unnecessary ".nh/.hy"


From: Bjarni Ingi Gislason
Subject: [bug #52521] [PATCH] contrib/.../man pages: Remove unnecessary ".nh/.hy" pairs
Date: Mon, 27 Nov 2017 22:05:35 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #52521 (project groff):


>From 40a961f19f2be6f8a44b90daf6d6ad11bb8720df Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Tue, 28 Nov 2017 02:59:52 +0000
Subject: [PATCH] groffer.1.man: Some ".nh/.hy/" pairs were left behind.

  Remove the rest of unexplained ".nh/.hy" pairs and add '\%' were
appropriate

  Fix an option.

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 contrib/groffer/groffer.1.man | 42
+++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/contrib/groffer/groffer.1.man b/contrib/groffer/groffer.1.man
index 3b25a3a1..a49ad620 100644
--- a/contrib/groffer/groffer.1.man
+++ b/contrib/groffer/groffer.1.man
@@ -2525,9 +2525,9 @@ it is specified in the \%\f(CRPOSIX\~1003.1\fP based
format:
 'fi
 .P
 but the two-letter code in
-.nh
-.I <language>
-.hy
+.\" The original had a ".nh/.hy" pair without any explanation (why?), so
+.\" \% was added
+.I \%<language>
 is sufficient for most purposes.
 .
 If for a complicated
@@ -2995,15 +2995,15 @@ retrieving
 .IR \%man\~pages .
 .
 A locale name is typically of the form
-.nh
-.IR language [\c
+.\" The original had a ".nh/.hy" pair without any explanation (why?), so
+.\" \% was added
+.IR \%language [\c
 .B _\c
-.IR territory [\c
+.IR \%territory [\c
 .B .\c
-.IR codeset [\c
+.IR \%codeset [\c
 .B @\c
-.IR modifier ]]],
-.hy
+.IR \%modifier ]]],
 where
 .I \%language
 is an ISO 639 language code,
@@ -3301,7 +3301,8 @@ or
 .
 .P
 .ft CR
-.nh
+.\" The original had a ".nh/.hy" pair without any explanation (why?), so
+.\" that was removed, as the ".nf/.fi" is enough
 .nf
 # groffer configuration file
 #
@@ -3310,7 +3311,6 @@ or
 \-\-resolution=100
 \-\-viewer=gxditview \-geometry 900x1200
 .fi
-.hy
 .ft
 .
 .
@@ -3478,9 +3478,9 @@ and
 (in the section with the lowest number, being\~7 in this case).
 .
 The quotes around
-.nh
-.I \(cqtroff(1)\(cq
-.hy
+.\" The original had a ".nh/.hy" pair without any explanation (why?), so
+.\" \% was added
+.I \%\(cqtroff(1)\(cq
 are necessary because the parentheses are special shell characters;
 escaping them with a backslash character
 .I \(rs(
@@ -3506,9 +3506,9 @@ program, decompress it, format it to
 or
 .I \%xhtml
 format
-.nh
+.\" The original had a ".nh/.hy" pair without any explanation (why?), so
+.\" that was removed
 .RI ( \%www\~mode )
-.hy
 and view the result in the web browser
 .BR \%galeon .
 The option
@@ -3766,17 +3766,17 @@ Documentation on the
 .I \%groff intermediate output
 before the run of a
 .IR postprocessor .
-.nh
-.RI ( ditroff
-output).
-.hy
+.\" The original had a ".nh/.hy" pair without any explanation (why?), so
+.\" \% was added
+.RI ( \%ditroff
+\%output).
 .
 This can be run by the
 .B groff
 or
 .B groffer
 option
-.BR -Z .
+.BR \-Z .
 .
 .
 .TP
-- 
2.15.0



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52521>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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