gbranden pushed a commit to branch master
in repository groff.
commit ee972e2d65a488400dc6d52a68132c40d4588e03
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Nov 7 20:38:01 2020 +1100
pic(1): Remove old kludge for BSD man macros.
Remove workaround for BSD macros from 1992. Use the groff double-quote
special character escape instead of playing tricks with .tr and the
terminal sigma special character escape.
---
src/preproc/pic/pic.1.man | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/preproc/pic/pic.1.man b/src/preproc/pic/pic.1.man
index d052c42..51ae1ec 100644
--- a/src/preproc/pic/pic.1.man
+++ b/src/preproc/pic/pic.1.man
@@ -46,10 +46,6 @@
.ie \n(.g .ds ic \/
.el .ds ic \^
.
-.\" The BSD man macros can't handle " in arguments to font change
-.\" macros, so use \(ts instead of ".
-.tr \(ts"\""
-.
.
.\" ====================================================================
.SH Synopsis
@@ -634,7 +630,7 @@ with an argument of
If
.I text
is omitted a format string of
-.B "\(ts%g\(ts"
+.B \[dq]%g\[dq]
is used.
.
Attributes can be specified in the same way as for a normal text
@@ -961,7 +957,7 @@ have a value of 0.
In (almost all) places where a quoted text string can be used,
an expression of the form
.IP
-.BI sprintf(\(ts format \(ts,\ arg ,\fR.\|.\|.\fB)
+.BI sprintf(\[dq] format \[dq],\ arg ,\fR.\|.\|.\fB)
.LP
can also be used;
this will produce the arguments formatted according to
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit