X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/2da2307a9d5545dfde44035f2048dab68ee71364..9557817be488da39b7f0e34162706877c0652fc3:/man.7 diff --git a/man.7 b/man.7 index b6bd47ba..d99cf721 100644 --- a/man.7 +++ b/man.7 @@ -1,4 +1,4 @@ -.\" $Id: man.7,v 1.17 2009/06/25 11:35:28 kristaps Exp $ +.\" $Id: man.7,v 1.19 2009/07/14 15:56:44 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -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: June 25 2009 $ +.Dd $Mdocdate: July 14 2009 $ .Dt MAN 7 .Os .\" SECTION @@ -27,13 +27,15 @@ The .Nm man language was historically used to format .Ux -manuals. This reference document describes the syntax and structure of -this language. +manuals. This reference document describes its syntax, structure, and +usage. .Pp -.Em \&Do not -use +.Bf Em +Do not use .Nm -to write your manuals. Use the +to write your manuals. +.Ef +Use the .Xr mdoc 7 language, instead. .\" PARAGRAPH @@ -53,13 +55,8 @@ Other lines are interpreted within the current state. .Sh INPUT ENCODING .Nm documents may contain only graphable 7-bit ASCII characters, the -space character -.Sq \ , -and tabs -.Sq \et . -All manuals must have +space character, and the tabs character. All manuals must have .Ux -.Sq \en line termination. .Pp Blank lines are acceptable; where found, the output will assert a @@ -95,7 +92,12 @@ or a single one-character sequence. .Pp Characters may alternatively be escaped by a slash-asterisk, .Sq \e* , -with the same combinations as described above. This form is deprecated. +with the same combinations as described above. +.Pp +Terms may also be text-decorated using the +.Sq \ef +escape followed by a text-decoration letter: B (bold), I, (italic), or P +and R (Roman, or reset). .\" SUB-SECTION .Ss Whitespace Unless specifically escaped, consecutive blocks of whitespace are pruned @@ -218,6 +220,11 @@ These follow the same calling conventions as the above .Nm macros. .\" SECTION +.Sh COMPATIBILITY +See +.Xr mdoc 7 +for groff compatibility notes. +.\" SECTION .Sh SEE ALSO .Xr mandoc 1 , .Xr mandoc_char 7