aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-02 13:07:46 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-02 13:07:46 +0000
commit576d44deebc6c4af088d980a61e9a3a7e05087d7 (patch)
tree154d8e33a3ee7cab0efe7ea44f376bed75c491a0 /mdoc.7
parent93a6626101a75d16172b09ad5201078daf1c61b3 (diff)
downloadmandoc-576d44deebc6c4af088d980a61e9a3a7e05087d7.tar.gz
mandoc-576d44deebc6c4af088d980a61e9a3a7e05087d7.tar.zst
mandoc-576d44deebc6c4af088d980a61e9a3a7e05087d7.zip
Add documentation for Bf/Ef.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.742
1 files changed, 40 insertions, 2 deletions
diff --git a/mdoc.7 b/mdoc.7
index 0de145c3..9eff3e9f 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.128 2010/07/01 15:38:56 schwarze Exp $
+.\" $Id: mdoc.7,v 1.129 2010/07/02 13:07:46 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 1 2010 $
+.Dd $Mdocdate: July 2 2010 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -1139,6 +1139,39 @@ See also
and
.Sx \&Dl .
.Ss \&Bf
+Change the font mode for a scoped block of text.
+Its syntax is as follows:
+.Bd -ragged -offset indent
+.Pf \. Sx \&Bf
+.Oo
+.Fl emphasis | literal | symbolic |
+.Cm \&Em | \&Li | \&Sy
+.Oc
+.Ed
+.Pp
+The
+.Fl emphasis
+and
+.Cm \&Em
+argument are equivalent, as are
+.Fl symbolic
+and
+.Cm \&Sy,
+and
+.Fl literal
+and
+.Cm \&Li .
+Without an argument, this macro does nothing.
+The font mode continues until broken by a new font mode in a nested
+scope or
+.Sx \&Ef
+is encountered.
+.Pp
+See also
+.Sx \&Li ,
+.Sx \&Ef ,
+and
+.Sx \&Sy .
.Ss \&Bk
Begins a keep block, containing a collection of macros or text
to be kept together in the output.
@@ -1159,6 +1192,9 @@ Examples:
\&.Op o Ar output_file
\&.Ek
.Ed
+.Pp
+See also
+.Sx \&Ek .
.Ss \&Bl
Begins a list composed of one or more list entries.
A list is associated with a type, which is a required argument.
@@ -1631,6 +1667,8 @@ and
.Ss \&Ec
.Ss \&Ed
.Ss \&Ef
+Ends a font mode context started by
+.Sx \&Bf .
.Ss \&Ek
Ends a keep context started by
.Sx \&Bk .