groff-commit
[Top][All Lists]
Advanced

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

[groff] 18/40: groff_mdoc(7): Drop unnecessary dummy characters.


From: G. Branden Robinson
Subject: [groff] 18/40: groff_mdoc(7): Drop unnecessary dummy characters.
Date: Mon, 12 Dec 2022 19:28:05 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 822ee696042ac305401777970016727a9a9e0a0b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 11 06:39:25 2022 -0600

    groff_mdoc(7): Drop unnecessary dummy characters.
    
    ...and stale warning comment.
    
    I can no longer reproduce the problem warned of in the comment, neither
    with groff 1.22.4 nor Git HEAD.
    
    Input:
    .TH foo 1 2022-12-11 "groff test suite"
    .SH Name
    foo \- frobinicate a bar
    .Dd 2022-12-11
    .Dt foo 1
    .Os "groff test suite"
    .Sh Name
    .Nm foo
    .Nd frobnicate a bar
    .Sh Description
    Let's talk about a register called
    .Ql FT .
    And then one called
    .Ql IN .
---
 tmac/groff_mdoc.7.man | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index d7f5dc659..011f0d56d 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -4908,7 +4908,7 @@ is ignored when formatting for terminal devices.
 .Pp
 The paragraph and subsection heading indentation amounts can be changed
 by setting the registers
-.Ql \&IN
+.Ql IN
 and
 .Ql SN .
 .
@@ -4954,11 +4954,7 @@ The
 .Ql HF
 string
 and
-.\" XXX: FT and IN have to be protected with ampersands because when
-.\" rendering via andoc and having already seen a man(7) page, .Ql
-.\" mis-handles them.  Why this is not true of AD, cR, D, HF, HY, P, SN,
-.\" or X is a mystery.
-.Ql \&FT ,
+.Ql FT ,
 .Ql P ,
 and
 .Ql X



reply via email to

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