[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 20/49: [mdoc]: Honor `Pa` font selection in "Files" sect.
From: |
G. Branden Robinson |
Subject: |
[groff] 20/49: [mdoc]: Honor `Pa` font selection in "Files" sect. |
Date: |
Sun, 6 Nov 2022 00:37:20 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit f91a8305742a78508e083ec95711912f5b2a53fe
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Nov 3 06:44:14 2022 -0500
[mdoc]: Honor `Pa` font selection in "Files" sect.
* tmac/doc.tmac: Delete suppression of `Pa` font selection in a "Files"
section. This special handling was not documented.
As it happens, this change aligns mdoc(7) page rendering more closely
with groff man(7) _and_ with mandoc mdoc(7).
---
ChangeLog | 5 +++++
tmac/doc.tmac | 32 --------------------------------
2 files changed, 5 insertions(+), 32 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 24058040f..413e66e9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-03 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/doc.tmac: Delete suppression of `Pa` font selection in a
+ "Files" section. This special handling was not documented.
+
2022-11-03 G. Branden Robinson <g.branden.robinson@gmail.com>
* tmac/mdoc/doc-ditroff (doc-Pa-font): Set file specifications
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 7b65bc74c..ef83e160d 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -3593,7 +3593,6 @@
. nr doc-reg-dsgv +1
. \}
.
-. ds doc-saved-Pa-font-saved "\*[doc-saved-Pa-font]
. nr doc-curr-type-saved \n[doc-curr-type]
. ds doc-curr-arg-saved "\*[doc-curr-arg]
. nr doc-diag-list-input-line-count-saved \n[doc-diag-list-input-line-count]
@@ -3735,7 +3734,6 @@
. nr doc-reg-drgv +1
. \}
.
-. ds doc-saved-Pa-font "\*[doc-saved-Pa-font-saved]
. nr doc-curr-type \n[doc-curr-type-saved]
. ds doc-curr-arg "\*[doc-curr-arg-saved]
. nr doc-diag-list-input-line-count \n[doc-diag-list-input-line-count-saved]
@@ -3842,13 +3840,6 @@
.ec
.
.
-.\" NS doc-saved-Pa-font global string
-.\" NS saved doc-Pa-font string for section FILES (no underline if
-.\" NS nroff)
-.
-.ds doc-saved-Pa-font
-.
-.
.\" NS doc-curr-type global register
.\" NS current argument type
.
@@ -3879,7 +3870,6 @@
.\" NS doc-in-list
.\" NS doc-macro-name
.\" NS doc-num-args
-.\" NS doc-saved-Pa-font
.\" NS
.\" NS local variables:
.\" NS doc-reg-It
@@ -3956,12 +3946,6 @@
. nr doc-curr-type \n[doc-type1]
. ds doc-curr-arg "\*[doc-arg1]
.
-. if \n[doc-in-files-section] \{\
-. ds doc-saved-Pa-font "\*[doc-Pa-font]
-. if n \
-. ds doc-Pa-font "\*[doc-No-font]
-. \}
-.
. ie (\n[doc-type1] == 1) \
. \*[doc-arg1]
. el \{\
@@ -4003,10 +3987,6 @@
. nh
. doc-item-box\n[doc-list-depth]
.
-. if \n[doc-in-files-section] \
-. if n \
-. ds doc-Pa-font "\*[doc-saved-Pa-font]
-.
. nr doc-in-list 0
. doc-reset-args
..
@@ -4047,10 +4027,6 @@
. nr doc-have-space 1
. \}
.
-. if \n[doc-in-files-section] \
-. if n \
-. ds doc-Pa-font "\*[doc-saved-Pa-font]
-.
. nr doc-in-list 0
. doc-reset-args
..
@@ -4076,10 +4052,6 @@
. doc-item-box\n[doc-list-depth]
. br
.
-. if \n[doc-in-files-section] \
-. if n \
-. ds doc-Pa-font "\*[doc-saved-Pa-font]
-.
. nr doc-in-list 0
. doc-reset-args
..
@@ -4258,10 +4230,6 @@
. nr doc-have-space 1
. \}
.
-. if \n[doc-in-files-section] \
-. if n \
-. ds doc-Pa-font "\*[doc-saved-Pa-font]
-.
. nr doc-in-list 0
. doc-reset-args
..
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 20/49: [mdoc]: Honor `Pa` font selection in "Files" sect.,
G. Branden Robinson <=