groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/02: Revert "[mdoc]: Reserve registers used by groff_man(7)."


From: G. Branden Robinson
Subject: [groff] 01/02: Revert "[mdoc]: Reserve registers used by groff_man(7)."
Date: Sat, 15 May 2021 00:55:43 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit fba56bcf596b5ad012b5f3a829be7d1b48227bb1
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat May 15 14:34:39 2021 +1000

    Revert "[mdoc]: Reserve registers used by groff_man(7)."
    
    This reverts commit 8c25d2a1ed2f0046b355b640ed09626c01ac3b7d.
    
    The method I attempted to prevent future squatting on the page rendering
    option name space did not work, and caused problems with some batch man
    page rendering scenarios.
    
    Fixes <https://savannah.gnu.org/bugs/index.php?60589>.
---
 tmac/groff_mdoc.7.man   | 23 -----------------------
 tmac/mdoc/doc-ditroff-u | 21 ---------------------
 tmac/mdoc/doc-nroff-u   | 21 ---------------------
 3 files changed, 65 deletions(-)

diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index 969d1bf..89e797d 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -4788,29 +4788,6 @@ register
 .Dl groff \-Tutf8 -rHY=0 \-mdoc foo.man | less
 .
 .
-.Pp
-.Ql AD
-and
-.Ql HF
-strings,
-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 \&IN ,
-.Ql P ,
-.Ql SN ,
-and
-.Ql X
-registers,
-are also recognized
-(but ignored)
-for compatibility with
-.Xr groff_man @MAN7EXT@ .
-.
-.
 .Sh Files
 .
 .Bl -tag -width mdoc/doc-ditroff -compact
diff --git a/tmac/mdoc/doc-ditroff-u b/tmac/mdoc/doc-ditroff-u
index 0e33cb9..b453b38 100644
--- a/tmac/mdoc/doc-ditroff-u
+++ b/tmac/mdoc/doc-ditroff-u
@@ -36,9 +36,6 @@
 .
 .eo
 .
-.\" \*[AD] is recognized for groff_man(7) compatibility, but ignored.
-.if !d AD .ds AD \" empty
-.
 .\" Use -rCS=1 to force capitalization of section headings.
 .if !r CS .nr CS 0
 .
@@ -51,12 +48,6 @@
 .\" use -rcR=1 to force the creation of a single, very long page
 .if !r cR .nr cR 0
 .
-.\" \n[FT] is recognized for groff_man(7) compatibility, but ignored.
-.if !r FT .nr FT 0
-.
-.\" \*[HF] is recognized for groff_man(7) compatibility, but ignored.
-.if !d HF .ds HF \" empty
-.
 .\" \n[HY] is recognized for groff_man(7) compatibility, particuarly via
 .\" andoc.tmac and man(1); see \n[doc-hyphen-flags] in doc-common.
 .ec
@@ -69,12 +60,6 @@
 .\}
 .eo
 .
-.\" \n[IN] is recognized for groff_man(7) compatibility, but ignored.
-.if !r IN .nr IN 0
-.
-.\" \n[P] is recognized for groff_man(7) compatibility, but ignored.
-.if !r P .nr P 0
-.
 .\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
 .if !r S .nr S 10
 .
@@ -96,12 +81,6 @@
 .\}\}
 .
 .
-.\" \n[SN] is recognized for groff_man(7) compatibility, but ignored.
-.if !r SN .nr SN 0
-.
-.\" \n[X] is recognized for groff_man(7) compatibility, but ignored.
-.if !r X .nr X 0
-.
 .\" the 'doc-xx-font' strings must not be empty!
 .
 .ds doc-caption-font \f[R]\s[\n[.ps]u]
diff --git a/tmac/mdoc/doc-nroff-u b/tmac/mdoc/doc-nroff-u
index 9d17fe4..059d6a6 100644
--- a/tmac/mdoc/doc-nroff-u
+++ b/tmac/mdoc/doc-nroff-u
@@ -36,9 +36,6 @@
 .
 .eo
 .
-.\" \*[AD] is recognized for groff_man(7) compatibility, but ignored.
-.if !d AD .ds AD \" empty
-.
 .\" Use -rCS=1 to force capitalization of section headings.
 .if !r CS .nr CS 0
 .
@@ -51,12 +48,6 @@
 .\" use -rcR=0 for multiple pages instead of a single, very long page
 .if !r cR .nr cR 1
 .
-.\" \n[FT] is recognized for groff_man(7) compatibility, but ignored.
-.if !r FT .nr FT 0
-.
-.\" \*[HF] is recognized for groff_man(7) compatibility, but ignored.
-.if !d HF .ds HF \" empty
-.
 .\" \n[HY] is recognized for groff_man(7) compatibility, particuarly via
 .\" andoc.tmac and man(1); see \n[doc-hyphen-flags] in doc-common.
 .ec
@@ -69,21 +60,9 @@
 .\}
 .eo
 .
-.\" \n[IN] is recognized for groff_man(7) compatibility, but ignored.
-.if !r IN .nr IN 0
-.
-.\" \n[P] is recognized for groff_man(7) compatibility, but ignored.
-.if !r P .nr P 0
-.
 .\" the following switch is ignored in nroff mode
 .nr S 10
 .
-.\" \n[SN] is recognized for groff_man(7) compatibility, but ignored.
-.if !r SN .nr SN 0
-.
-.\" \n[X] is recognized for groff_man(7) compatibility, but ignored.
-.if !r X .nr X 0
-.
 .\" the 'doc-xx-font' strings must not be empty!
 .
 .ds doc-caption-font \f[R]



reply via email to

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