summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-17 06:57:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-17 06:57:48 +0000
commit411db9009e20a1bef940842644da635f9c013d34 (patch)
treecbcc0d3ff7e6121ae858d1d127ae45dc5dc75641
parentd8c40dbb7a90802c294a84afbbb0ecadbafae87b (diff)
downloadmandoc-411db9009e20a1bef940842644da635f9c013d34.tar.gz
sync to OpenBSD: .ft is a roff(7) request, not a man(7) macro,
and it is not even used frequently in man(7)
-rw-r--r--man.76
-rw-r--r--roff.728
2 files changed, 28 insertions, 6 deletions
diff --git a/man.7 b/man.7
index d048f65c..be2260ac 100644
--- a/man.7
+++ b/man.7
@@ -686,11 +686,6 @@ See also
.Ss \&fi
End literal mode begun by
.Sx \&nf .
-.Ss \&ft
-Change the current font mode.
-See
-.Sx Text Decoration
-for a listing of available font modes.
.Ss \&in
Indent relative to the current indentation:
.Pp
@@ -787,7 +782,6 @@ The syntax is as follows:
.It Sx \&UC Ta <=1 Ta current Ta \&
.It Sx \&br Ta 0 Ta current Ta compat
.It Sx \&fi Ta 0 Ta current Ta compat
-.It Sx \&ft Ta 1 Ta current Ta compat
.It Sx \&in Ta 1 Ta current Ta compat
.It Sx \&na Ta 0 Ta current Ta compat
.It Sx \&nf Ta 0 Ta current Ta compat
diff --git a/roff.7 b/roff.7
index 9722f1e9..d557a2e8 100644
--- a/roff.7
+++ b/roff.7
@@ -659,6 +659,34 @@ This line-scoped request is intended to have one argument specifying
the font family to be selected.
It is a groff extension, and currently, it is ignored including its
arguments, and the number of arguments is not checked.
+.Ss \&ft
+Change the font.
+Its syntax is as follows:
+.Pp
+.D1 Pf . Cm \&ft Op Ar font
+.Pp
+The following
+.Ar font
+arguments are supported:
+.Bl -tag -width 4n -offset indent
+.It Cm B , BI , 3 , 4
+switches to
+.Sy bold
+font
+.It Cm I , 2
+switches to
+.Em underlined
+font
+.It Cm R , CW , 1
+switches to normal font
+.It Cm P No "or no argument"
+switches back to the previous font
+.El
+.Pp
+This request takes effect only locally, may be overridden by macros
+and escape sequences, and is only supported in
+.Xr man 7
+for now.
.Ss \&hw
Specify hyphenation points in words.
This line-scoped request is currently ignored.