diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-05 15:54:59 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-05 15:54:59 +0000 |
commit | 412e48b8cba6db0a6b8eae7f848cfa460e0a315d (patch) | |
tree | 8b618ed6a92488f95359c8036571c13e200d1944 | |
parent | 59ff183bfbf2ef15bb6bae96290e8347aef13fb0 (diff) | |
download | mandoc-412e48b8cba6db0a6b8eae7f848cfa460e0a315d.tar.gz |
Shorten the description of .sp and move it to roff(7).
If is not a macro but a low-level roff request
and not recommended for use in manual pages.
-rw-r--r-- | man.7 | 27 | ||||
-rw-r--r-- | mdoc.7 | 17 | ||||
-rw-r--r-- | roff.7 | 10 |
3 files changed, 11 insertions, 43 deletions
@@ -266,7 +266,6 @@ in the alphabetical reference below. .It Sx TP Ta tagged paragraph: Op Ar width .It Sx HP Ta hanged paragraph: Op Ar width .It Sx PD Ta set vertical paragraph distance: Op Ar height -.It Sx \&sp Ta force vertical space: Op Ar height .It Sx fi , nf Ta fill mode and no-fill mode (no arguments) .It Sx in Ta additional indent: Op Ar width .El @@ -707,12 +706,6 @@ It has the following syntax: link description to be shown .Pf \. Sx UE .Ed -.Ss \&br -Breaks the current line. -Consecutive invocations have no further effect. -.Pp -See also -.Sx \&sp . .Ss \&fi End literal mode begun by .Sx \&nf . @@ -735,22 +728,6 @@ Literal mode is implicitly ended by .Sx \&SH or .Sx \&SS . -.Ss \&sp -Insert vertical spaces into output with the following syntax: -.Bd -filled -offset indent -.Pf \. Sx \&sp -.Op Ar height -.Ed -.Pp -The -.Ar height -argument is a scaling width as described in -.Xr roff 7 . -If 0, this is equivalent to the -.Xr roff 7 -.Ic \&br -request. -Defaults to 1, if unspecified. .Sh MACRO SYNTAX The .Nm @@ -774,8 +751,7 @@ is equivalent to .Sq \&.I foo . If next-line macros are invoked consecutively, only the last is used. If a next-line macro is followed by a non-next-line macro, an error is -raised, except for -.Sx \&sp . +raised. .Pp The syntax is as follows: .Bd -literal -offset indent @@ -806,7 +782,6 @@ The syntax is as follows: .It Sx \&fi Ta 0 Ta current Ta compat .It Sx \&in Ta 1 Ta current Ta compat .It Sx \&nf Ta 0 Ta current Ta compat -.It Sx \&sp Ta 1 Ta current Ta compat .El .Pp Macros marked as @@ -476,7 +476,6 @@ in the alphabetical .It Sx \&Ap Ta apostrophe without surrounding whitespace (no arguments) .It Sx \&Sm Ta switch horizontal spacing mode: Op Cm on | off .It Sx \&Bk , \&Ek Ta keep block: Fl words -.It Sx \&sp Ta force vertical space: Op Ar height .El .Ss Semantic markup for command line utilities: .Bl -column "Brq, Bro, Brc" description @@ -2735,21 +2734,6 @@ Examples: .Dl \&.Xr mandoc 1 .Dl \&.Xr mandoc 1 \&; .Dl \&.Xr mandoc 1 \&Ns s behaviour -.Ss \&sp -Emits vertical space. -This macro should not be used; it is implemented for compatibility with -historical manuals. -Its syntax is as follows: -.Pp -.D1 Pf \. Sx \&sp Op Ar height -.Pp -The -.Ar height -argument is a scaling width as described in -.Xr roff 7 . -If unspecified, -.Sx \&sp -asserts a single vertical space. .Sh MACRO SYNTAX The syntax of a macro depends on its classification. In this section, @@ -3034,7 +3018,6 @@ then the macro accepts an arbitrary number of arguments. .It Sx \&Va Ta Yes Ta Yes Ta n .It Sx \&Vt Ta Yes Ta Yes Ta >0 .It Sx \&Xr Ta Yes Ta Yes Ta 2 -.It Sx \&sp Ta \&No Ta \&No Ta 1 .El .Ss Delimiters When a macro argument consists of one single input character @@ -1544,6 +1544,16 @@ is discouraged. Use .Xr ln 1 instead. +.Ss \&sp +Break the output line and emit vertical space. +Its syntax is as follows: +.Pp +.D1 Pf \. Cm \&sp Op Ar height +.Pp +The argument follows the syntax of +.Sx Scaling Widths +and defaults to one blank line +.Pq Li 1v . .Ss \&spacewidth Set the space width from the font metrics file. This is a Heirloom extension and currently ignored. |